Menu
mediumBank Islam · aggregation

Split mudarabah profit across depositors by weighted balance

Under a mudarabah profit-sharing account, each depositor's share of a month's distributable profit is proportional to their average balance that month, weighted against every depositor's combined average balance.

For March 2026, mudarabah_profit holds the total profit available to distribute. Split it across depositors in proportion to their avg_balance.

Return depositor, avg_balance and profit_share — their cut of the pool, rounded to 2 decimal places.

Schema

depositor_balances
depositorTEXT
avg_balanceNUMERIC
mudarabah_profit
monthDATE
total_profitNUMERIC

Example input

depositor_balances
mudarabah_profit
↑ Read the question

Keep going

Company names are trademarks of their respective owners, used here only to describe practice material. mahir_data is not affiliated with, endorsed by, or sponsored by any company named on this site. Terms.