Who this lesson is for and the problem it solves
Islamic finance is a large and growing part of the financial system in the Gulf, Malaysia, Indonesia, Turkey, Pakistan and many other countries, and Islamic banks and windows also operate in the UK, Europe and North America. Whether you are a business owner offered Shari'ah-compliant financing, an accountant or analyst at an Islamic bank, a student of finance, or simply curious how these products are priced, you will meet the same practical question: what does this financing really cost, and how does it compare with the alternatives?
Product names like murabaha, ijara or sukuk describe different contract structures, but the numbers behind them are ordinary spreadsheet maths: prices, instalments, schedules and rates. This free first lesson starts with the most widely used structure, the murabaha or cost-plus sale. You follow Noor Trading Co., a fictional wholesaler that wants to buy a $120,000 packaging machine and pay for it over two years. In the lab above you calculate the sale price, the monthly instalment and the implied annual rate, and you compare the deal with a conventional loan.
Murabaha in plain words
Islamic finance avoids interest (riba) and links financing to real assets, real trade or shared risk. In a murabaha, the bank does not lend money for the machine. Instead it buys the machine from the supplier, owns it (at least for a moment, with the related risk), and then sells it to the customer at the cost price plus a disclosed profit markup. The customer pays the agreed sale price later, usually in instalments.
Three features matter for the maths. First, the cost and the markup are disclosed to the customer: that transparency is what makes it a murabaha rather than an ordinary sale. Second, the sale price is fixed when the contract is signed. It does not grow if the customer pays late, unlike a loan balance that keeps accruing interest. Where contracts include late-payment charges, these are typically paid to charity rather than kept by the bank, depending on the contract and the institution's rules. Third, because the price is fixed and paid over time, the customer still pays more than the cost, and we can measure that cost of time with a rate.
The formulas: sale price, instalment and implied rate
Banks often quote the markup as a flat percentage per year on the cost. For a flat markup the sale price is cost × (1 + markup per year × years). With $120,000, 6% a year and 2 years: 120,000 × (1 + 0.06 × 2) = $134,400. The profit for the bank is $14,400. Split into 24 equal monthly instalments, the customer pays 134,400 / 24 = $5,600 a month.
Now the key insight. A flat markup of 6% is not a 6% rate. The markup is calculated on the full $120,000 for the full two years, but the customer starts repaying immediately. After one year only about half of the cost is still outstanding. A rate that measures the cost fairly must relate the profit to the amount actually outstanding over time. That rate is the implied rate, sometimes called the effective profit rate or the internal rate of return of the instalments.
Excel finds it with RATE. You ask: at what monthly rate do 24 payments of $5,600 have a present value of exactly $120,000? The formula is =RATE(24,-5600,120000), which returns about 0.927% per month. Multiplied by 12 that is a nominal annual rate of about 11.13%, almost twice the 6% flat markup. If you prefer an effective annual figure that includes monthly compounding, =EFFECT(11.13%,12) gives about 11.71%.
Worked example: Noor Trading Co. versus a conventional loan
Noor Trading Co. also has an offer for a conventional two-year loan at 10.5% a year with monthly payments. Comparing the two needs one more function, PMT, which calculates the level payment of a loan: =PMT(10.5%/12,24,-120000) returns $5,565.12. Over 24 months that is $133,563.00 in total. The murabaha sale price is $134,400, so the murabaha costs $837 more over the term, which matches the higher implied rate (11.13% versus 10.50%).
| Line | Cell | Excel formula | Result |
|---|---|---|---|
| Cost price paid by the bank | B2 | input | $120,000.00 |
| Profit markup per year (flat, on cost) | B3 | input | 6.00% |
| Term in years | B4 | input | 2 |
| Number of monthly instalments | B5 | input | 24 |
| Murabaha sale price | B6 | =B2*(1+B3*B4) | $134,400.00 |
| Monthly instalment | B7 | =B6/B5 | $5,600.00 |
| Implied annual rate | B8 | =RATE(B5,-B7,B2)*12 | 11.13% |
| Loan interest rate per year | B11 | input | 10.50% |
| Monthly loan payment | B12 | =PMT(B11/12,B5,-B2) | $5,565.12 |
| Extra paid with the murabaha | B13 | =B6-B12*B5 | $837.00 |
For the analysis it helps to see how each instalment would split if you allocate the bank's profit over time at the implied rate. This is how many institutions recognise murabaha profit in their accounts (the effective-rate method), although the customer's contractual obligation is simply the fixed sale price. Notice that the profit share is largest at the start, when most of the cost is still outstanding, and falls to almost nothing in the last month.
| Month | Instalment ($) | Profit share at 0.9272% ($) | Cost repaid ($) | Cost outstanding ($) |
|---|---|---|---|---|
| 0 | 120,000.00 | |||
| 1 | 5,600.00 | 1,112.67 | 4,487.33 | 115,512.67 |
| 2 | 5,600.00 | 1,071.06 | 4,528.94 | 110,983.73 |
| 3 | 5,600.00 | 1,029.07 | 4,570.93 | 106,412.79 |
| 12 | 5,600.00 | 633.16 | 4,966.84 | 63,319.23 |
| 24 | 5,600.00 | 51.45 | 5,548.55 | 0.00 |
The comparison is not only about money. A business choosing between the two offers may also weigh compliance with its owners' values, the fixed sale price that cannot grow with late payment, the documentation and timing of the asset purchase, early-settlement rules (some banks grant a rebate, known as ibra, if the customer pays early, others do not) and any fees. The spreadsheet gives you a fair, like-for-like number, and the decision includes everything else.
How a murabaha deal is executed, step by step
The order of events matters, because it is what distinguishes a cost-plus sale from a loan dressed up with a different name. A typical sequence looks like this, although the details differ between institutions:
- The customer identifies the asset and the supplier, here a packaging machine priced at $120,000, and asks the bank for murabaha financing.
- The customer usually signs a promise to purchase (often called a wa'd) stating that it will buy the machine from the bank once the bank owns it. The promise protects the bank from being left with an asset nobody buys.
- The bank buys the machine from the supplier and pays the cost price. Ownership, and the risk that goes with it, passes to the bank, sometimes through an agent acting on its behalf.
- The bank and the customer sign the murabaha sale contract, which states the cost, the profit amount, the total sale price and the instalment dates.
- Ownership passes to the customer, who now uses the machine and pays the instalments. The amount owed is a fixed debt of $134,400, regardless of how market rates move during the two years.
For the spreadsheet this has two consequences. The cost price in B2 is the amount the bank actually paid to the supplier, so it is the right figure for the amount financed in RATE. And the sale price in B6 is a fixed contractual number, so you calculate it once and never let it grow with time. If an offer includes an arrangement fee paid upfront, the customer effectively receives less than $120,000 of value for the same instalments, and you would put the net amount into RATE to see the true cost.
Accounting teams look at the same deal from the other side. Under the effective-rate approach used by many institutions, the $14,400 profit is recognised over the term in proportion to the cost still outstanding, which is exactly the split in the schedule above. Some institutions and standard-setters, such as AAOIFI, publish their own guidance on how murabaha should be accounted for, so always check which framework applies.
How to do it in Excel, step by step
- Type the labels in column A: cost price, markup per year, term in years, number of instalments, sale price, monthly instalment, implied annual rate. Enter the inputs in B2:B5: 120000, 6%, 2 and 24.
- Format B2 as currency (Ctrl + 1 → Number → Currency) and B3 as a percentage with two decimals (Ctrl + Shift + %, then add decimals with Home → Increase Decimal).
- In B6 type
=B2*(1+B3*B4). It must return 134,400. If you get 127,200 you only added one year of markup. - In B7 type
=B6/B5for the monthly instalment of 5,600. - In B8 type
=RATE(B5,-B7,B2)*12. The minus sign tells Excel the instalments are cash paid out while the cost is the value received. Without it,RATEreturns#NUM!. - Below, add the conventional loan: rate in B11 (10.5%), then in B12
=PMT(B11/12,B5,-B2). Divide the annual rate by 12 because the payments are monthly. - In B13 type
=B6-B12*B5to see how much more (or less) the murabaha costs in total. - Optional: build a schedule. Put month numbers 1 to 24 in a column, then use
=PPMT($B$8/12,A20,$B$5,-$B$2)and=IPMT($B$8/12,A20,$B$5,-$B$2)to split each instalment. Press F4 while editing to fix references with dollar signs before you fill down with Ctrl + D. - Check: the sum of the profit column must equal 14,400 and the sum of the cost column must equal 120,000 (allowing for tiny rounding).

Common mistakes and how to spot them
- Treating the flat markup as the annual rate. 6% flat on the cost is roughly 11% on the declining balance. If your comparison table shows the markup next to a loan's APR, it is comparing different things.
- Adding the markup for one year only.
=B2*(1+B3)gives 127,200. The flat markup is per year, so multiply it by the term. - Dividing only the cost by the number of instalments.
=B2/B5is 5,000 a month and leaves out the bank's profit. The customer pays the sale price in instalments. - Forgetting the sign in RATE. Payments and the amount financed must have opposite signs, otherwise Excel returns
#NUM!. - Reporting the monthly rate as annual.
RATEreturns the rate per period. With monthly instalments, multiply by 12 for the nominal annual rate, or useEFFECTfor the effective annual rate, and state which one you show. - Using the annual rate in PMT.
=PMT(B11,B5,-B2)treats 10.5% as a monthly rate and returns an absurd payment. Divide by 12. - Ignoring fees and early settlement terms. Arrangement fees, takaful cover on the asset or a missing early-settlement rebate change the real cost. Add them as cash flows if you want the full picture.
Quick reference: functions and shortcuts used
| Function / shortcut | What it does here | Example |
|---|---|---|
RATE(nper, pmt, pv) | Rate per period that makes the payments repay the amount | =RATE(24,-5600,120000) → 0.927% |
PMT(rate, nper, pv) | Level payment of a conventional loan | =PMT(10.5%/12,24,-120000) → 5,565.12 |
EFFECT(nominal, npery) | Effective annual rate from a nominal rate | =EFFECT(B8,12) → 11.71% |
NOMINAL(effect, npery) | Nominal rate from an effective rate | =NOMINAL(11.71%,12) |
IPMT / PPMT | Profit and principal share of one instalment | =PPMT(B8/12,1,B5,-B2) |
CUMIPMT | Total interest over a range of periods | =CUMIPMT(B11/12,B5,B2,1,24,0) |
| Ctrl + 1 | Format cells as currency or percent | Choose Percentage, 2 decimals |
| Ctrl + Shift + % | Quick percent format | Select B8, press the shortcut |
| F2 | Edit the active cell and see its references | Click B8, press F2 |
Real-world uses of these calculations
- Equipment and vehicle finance: a business compares a murabaha quote for a delivery van with a conventional loan or lease on the same implied-rate basis before signing.
- Trade finance: a commodity murabaha for importing stock is priced over 90 or 180 days. The same RATE logic shows the annualised cost of the short deal.
- Bank product and accounting teams: analysts build the profit-recognition schedule for the murabaha portfolio using the effective-rate split shown above.
- Personal finance: a household considering a Shari'ah-compliant car or home financing offer checks the instalment and the implied rate before visiting the branch.
- Audit and advisory: reviewers recompute sale prices and instalments from the contract terms to confirm that customer statements and the bank's ledger agree.
What you will build in the rest of this course
Lesson 1 is free. The remaining 19 lessons are part of the full course, available as a one-time purchase of $9.90, and each one continues with Noor Trading Co. and a lab that checks your formulas instantly.
Ijara: Lease Rentals, the Rental Schedule & Asset Return. You calculate the rentals of an Islamic lease where the bank keeps ownership of the asset, build the rental schedule and measure the return the lessor earns on the asset.
Diminishing Musharaka: Buying Out the Bank's Share of a Home. You model a home partnership in which the customer pays rent on the bank's share and buys units of that share over time, and watch the ownership split change year by year.
Mudaraba & Musharaka: Profit Ratios and Who Bears a Loss. You split profits between partners by agreed ratios and see how losses are allocated differently from profits, a central principle of partnership finance.
Sukuk: Periodic Distributions, Price & Return with RATE. You calculate the periodic distributions of a sukuk certificate, price it in the market and find its return with RATE, much like analysing a bond.
Takaful: Contributions, the Wakala Fee & Surplus Distribution. You follow contributions into a takaful fund, deduct the operator's wakala fee, pay claims and calculate the surplus that may be shared with participants.
Zakat on Business Assets: Zakatable Base, Nisab & 2.5 %. You build a zakatable base from a balance sheet, compare it with the nisab threshold and apply the 2.5% rate, with clear notes on where methods differ between scholars.
Comparing Financing Offers by Effective Annual Cost: RATE & EFFECT. You bring everything together and rank murabaha, ijara and conventional offers on one effective annual cost basis, including fees.
Summary
A murabaha is a cost-plus sale: the bank buys the asset and sells it to the customer at cost plus a disclosed markup, payable in instalments. The sale price is cost × (1 + markup × years) and the instalment is the sale price divided by the number of instalments. Because the markup is charged on the full cost while the balance falls, the implied rate from =RATE(n,-instalment,cost)*12 is close to twice the flat markup. Only that implied rate can be compared fairly with a loan's rate from PMT.
Now scroll up and try the lab: price the packaging machine for Noor Trading Co., find the implied rate and see by how much the murabaha differs from the loan. The checker explains each common mistake as you go.
Frequently asked questions
How is a murabaha sale price calculated?
With a flat markup the sale price is the cost multiplied by one plus the markup per year times the number of years. For example, $120,000 at 6% a year over 2 years gives $134,400.
Is a murabaha markup the same as an interest rate?
No. A flat markup is charged on the full cost for the whole term, while the amount still owed falls with every instalment. The implied rate on the declining balance is close to twice the flat markup for equal monthly instalments.
How do I calculate the implied rate of a murabaha in Excel?
Use =RATE(number_of_instalments,-instalment,cost) to get the rate per period, then multiply by 12 for monthly instalments. Use EFFECT(nominal,12) if you want the effective annual rate.
Does a murabaha price increase if I pay late?
The sale price is fixed when the contract is signed and does not grow with time like a loan balance. Some contracts include late-payment charges, which are typically donated to charity, but the exact terms depend on the bank and the contract.
Can I settle a murabaha early?
Many institutions allow early settlement, and some grant a discount on the remaining profit known as ibra. Whether a rebate is given and how it is calculated depends on the bank, the contract and local regulation.
Is a murabaha cheaper than a conventional loan?
It depends on the markup, term and fees. Compare the murabaha's implied annual rate with the loan's rate on the same basis, or compare the total amounts paid, as the lab does.
Keep going: Islamic Finance Math: Murabaha, Ijara, Musharaka & Sukuk
This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time CHF 9.90.
- Ijara: Lease Rentals, the Rental Schedule & Asset Return
- Diminishing Musharaka: Buying Out the Bank's Share of a Home
- Mudaraba & Musharaka: Profit Ratios and Who Bears a Loss
- Sukuk: Periodic Distributions, Price & Return with RATE
- Takaful: Contributions, the Wakala Fee & Surplus Distribution
- Zakat on Business Assets: Zakatable Base, Nisab & 2.5 %
- Comparing Financing Offers by Effective Annual Cost: RATE & EFFECT
- Murabaha Profit Recognition: Effective-Rate vs Straight-Line Schedule
- Murabaha Early Settlement: Outstanding Price, Unearned Profit & Rebate
- Salam: Paying for Crops in Advance, Short Deliveries & the Annual Return
- Istisna': Progress Payments, Deferred Price & the Bank's Return
- Ijara with Floating Rentals: Benchmark Resets, Cap and Floor
- Ijara Ownership Costs: Takaful, Major Maintenance & the Lessor's True Return
- Diminishing Musharaka II: Rent Reviews, Extra Buy-Outs & the Ownership Date
- Mudaraba Deposit Pool: Weightages, the Mudarib Share & Profit Rates
- Smoothing Pool Returns with a Profit Equalisation Reserve
- Sukuk Price Sensitivity: Duration and the Price–Return Table
- Screening Shares with Financial Ratios & Purifying Dividends
- Final Project: Financing Dashboard for Noor Trading Co.