Loans

How to build a naira loan calculator in Excel or Google Sheets

Use PMT, monthly rates and a simple schedule to build your own naira loan calculator in Excel or Google Sheets, cell by cell.

The short answer

Put the loan amount, the monthly rate and the number of months in three cells, then use =PMT(rate, months, -amount) to get the equal monthly repayment. Excel and Google Sheets both require the rate and the number of payments in the same units, so a yearly rate must be divided by 12 for monthly payments. A schedule then follows from four simple columns: interest, principal, payment and balance.

What you are building

A calculator that tells you, for any reducing-balance loan with equal monthly payments: the monthly repayment, the total paid, the total interest, and a month-by-month schedule showing how the balance falls. It works the same in Microsoft Excel and Google Sheets. It will not model flat-rate loans or one-off fees on its own; a section below shows how to add those.

Step 1: the inputs

CellLabel (column A)Value (column B)
B1Loan amount (₦)600000
B2Annual rate30%
B3Months18
B4Monthly rate=B2/12
B5Upfront fee (₦)0

Example only: ₦600,000 at 30% a year over 18 months. If your lender quotes a monthly rate, type it straight into B4 instead and ignore B2. Microsoft's PMT documentation says to keep rate and number of payments consistent: for a four-year loan at 12% a year paid monthly, use 12%/12 and 4*12. Google's help page gives the same instruction.

Step 2: the repayment and totals

CellLabelFormulaResult in the example
B7Monthly repayment=PMT(B4,B3,-B1)₦41,802.05
B8Total repaid=B7*B3₦752,436.87
B9Total interest=B8-B1₦152,436.87
B10Effective monthly rate after fee=RATE(B3,-B7,B1-B5)2.50% while the fee is 0

The minus sign before B1 makes the payment show as a positive number; without it, PMT returns a negative figure because it treats money paid out as negative. Excel's syntax is PMT(rate, nper, pv, [fv], [type]); Google Sheets uses the same order. Leave fv and type blank for an ordinary loan that ends at zero with payments at the end of each month. Microsoft notes PMT covers principal and interest only, not fees, which is why B10 is there.

Step 3: the schedule

Start at row 13 with headings: Month, Opening balance, Interest, Principal, Payment, Closing balance.

  • A14: 1. A15: =A14+1, then fill down to month 18.
  • B14: =$B$1. B15: =F14 (last month's closing balance).
  • C14: =B14*$B$4 (interest on the opening balance).
  • E14: =$B$7 (the fixed payment).
  • D14: =E14-C14 (what is left repays principal).
  • F14: =B14-D14 (closing balance).
  • Fill rows 14 to 31 down. The closing balance in month 18 should show 0, or a few kobo either side from rounding.

First three rows of the example

MonthOpeningInterestPrincipalPaymentClosing
1₦600,000.00₦15,000.00₦26,802.05₦41,802.05₦573,197.95
2₦573,197.95₦14,329.95₦27,472.10₦41,802.05₦545,725.85
3₦545,725.85₦13,643.15₦28,158.90₦41,802.05₦517,566.95

Add a check cell: =SUM(C14:C31) should equal B9, total interest. If it does not, a formula has been filled down wrongly. Our guide to reading an amortisation schedule explains what each column means.

Step 4: useful extras

Upfront fees

Type the fee in B5. B10 then uses RATE to find the monthly rate on the cash you actually received. Microsoft's RATE page notes that it works by iteration and returns #NUM! if it cannot settle on an answer; if that happens, add a guess as the sixth argument, such as 0.03. Multiply by 12 for a nominal annual figure, or use =(1+B10)^12-1 for the effective annual rate, as covered in effective interest rate explained.

Flat-rate comparison

Add B12: =(B1+B1*B4*B3)/B3. That is the monthly instalment if the same rate were charged flat on the original amount. In the example it is ₦48,333.33, against ₦41,802.05 on the reducing balance. See flat rate versus reducing balance for why.

Extra payments

Insert a column between Payment and Closing called Extra. Change the closing balance formula to =B14-D14-G14, where G is the extra column, and type any lump sum you plan to pay in the month you plan to pay it. The schedule will reach zero earlier, and the interest column will show what you save. This only reflects reality if your lender charges interest on the reducing balance and accepts part prepayments without a fee; check your agreement before relying on it.

Weekly or daily loans

Some loan products in Nigeria are repaid weekly. The calculator works the same way, with weekly units throughout: put the weekly rate in B4 and the number of weeks in B3. Never mix a monthly rate with a weekly count. Both Microsoft and Google make this point in their PMT documentation, and it is the most common reason a home-made calculator gives a nonsense answer.

Balance after any month

To check what you owe after k payments without the schedule, use =-FV(B4, k, -B7, B1) in either program, replacing k with the number of payments made.

What to check first

  1. Is the rate quoted monthly, yearly or flat? The calculator assumes reducing balance.
  2. Are payments monthly? If weekly, use a weekly rate and number of weeks.
  3. What fees are deducted or added? Put them in B5.
  4. Does the closing balance end at zero? If not, recheck the fill-down.

Where Pryme fits

Loans on Spaces, lent by Solid Allianze Microfinance Bank Ltd for spending with merchants in Spaces, show the amount, cost and repayment date in full before you accept, so you can enter the actual figures into this sheet first. See Loans on Spaces.

Questions people ask

How do I calculate loan repayment in Excel?

Use =PMT(monthly rate, number of months, -loan amount). Divide a yearly rate by 12 for monthly payments, as Microsoft's PMT guidance says.

Does Google Sheets have a loan calculator?

Google Sheets has the PMT function with the same argument order as Excel. Add a schedule with interest, principal and balance columns to build a full calculator.

Why is my PMT result negative?

PMT shows money paid out as negative. Put a minus sign before the loan amount, or before PMT, to show a positive repayment.

Can Excel calculate a flat rate loan?

PMT assumes reducing balance. For a flat loan, use (amount + amount × monthly rate × months) ÷ months.

Sources

  1. Microsoft Support: PMT function · accessed Oct 2026
  2. Google Docs Editors Help: PMT · accessed Oct 2026
  3. Microsoft Support: RATE function · accessed Oct 2026

This article is general information, not financial, legal or tax advice. Products described are provided under the terms on this site and are subject to regulation and eligibility.

More on Arithmetic