Lesson 90 of 92 · Free Excel Course
Excel · Excel function reference
Excel RATE Function: Syntax, Examples and Common Errors
How the Excel RATE function finds the interest rate per period of a loan or savings plan, why you multiply by 12, #NUM! fixes, RATE vs RRI and APR.
The RATE function works out the interest rate hidden inside a loan or savings plan. You tell it how many payments there are, how much each payment is and how much was borrowed (or what you want to end up with), and it returns the interest rate per period. With monthly payments that's a monthly rate, so you multiply by 12 to get the yearly rate a bank would quote. RATE is available in Excel for Microsoft 365 (Windows, Mac and the web), Excel 2024, Excel 2021, Excel 2019 and Excel 2016, and works the same way in older versions.
Syntax
=RATE(nper, pmt, pv, [fv], [type], [guess])
- nper (required): the total number of payments. A 4-year loan paid monthly is
4*12, or 48. - pmt (required): the payment made each period. It must be the same every period. Microsoft notes it normally covers principal and interest but no fees or taxes. Money you pay out is negative, so a $200 payment is
-200. You can leave pmt at 0 (or empty) only if you give fv. - pv (required): the present value, the amount the payments are worth today. For a loan it's the amount you borrow, as a positive number because the cash comes to you. For savings that start from nothing it's 0.
- fv (optional): the balance you want after the last payment. The default is 0, which is what you want for a loan that ends fully paid. For a savings goal, type the target here.
- type (optional): when payments happen. 0 or left out means at the end of each period (most loans); 1 means at the start (rent-style, or savings paid in on day one).
- guess (optional): your estimate of the rate. The default is 10%. You only need it when RATE fails to find an answer; Microsoft says it usually works when the guess is between 0 and 1.
The key rule is the sign convention: cash going out and cash coming in need opposite signs. If the payment and the loan are both positive, there's no rate that makes the numbers balance, and RATE returns #NUM!.
Examples
Microsoft's own example. A 4-year loan of $8,000 repaid at $200 a month. The years are in A2, the payment in A3 (negative) and the loan in A4:
| A | B | |
|---|---|---|
| 1 | Data | Description |
| 2 | 4 | Years of the loan |
| 3 | -200 | Monthly payment |
| 4 | 8000 | Amount of the loan |
| 5 | ||
| 6 | 0.77% | Monthly rate |
| 7 | 9.24% | Annual rate |
Notice that A2 holds years, so the formula turns it into months with A2*12. The months in nper must match the monthly payment. Microsoft's own advice is to keep the units of nper and guess consistent.
What rate does a savings goal need? You can put away $250 a month and want $18,000 in 5 years. You start with nothing, so pv is 0 and the target goes in fv. The deposits are money out, so they're negative:
| A | B | |
|---|---|---|
| 1 | Savings goal | Value |
| 2 | Monthly deposit | -$250.00 |
| 3 | Months | 60 |
| 4 | Starting balance | $0.00 |
| 5 | Target | $18,000.00 |
| 6 | Monthly rate needed | 0.60% |
| 7 | Annual rate needed | 7.22% |
If a savings account pays well under that, you'll need to save more or wait longer. The free compound interest calculator is handy for trying other amounts.
One lump sum: RATE vs RRI. $10,000 invested grew to $16,000 in 6 years with nothing added. Set pmt to 0, give the starting amount a minus sign (it went out), and RATE returns the yearly growth rate. The RRI function gets the same answer without the minus sign:
| A | B | |
|---|---|---|
| 1 | Formula | Result |
| 2 | =RATE(6,0,-10000,16000) | 8.15% |
| 3 | =RRI(6,10000,16000) | 8.15% |
| 4 | =RATE(6,0,10000,16000) | #NUM! |
RRI is the simpler choice for growth between two values (that's the CAGR calculation in the CAGR and growth lesson); RATE is the one you need as soon as there is a regular payment.
A loan with a fee: the cost RATE doesn't see. A $12,000 personal loan is repaid at $380 a month for 36 months, but the lender keeps a $600 fee, so only $11,400 reaches your account. Run RATE once with the loan amount and once with the cash you really received:
| A | B | |
|---|---|---|
| 1 | Loan with a fee | Value |
| 2 | Monthly payment | -$380.00 |
| 3 | Months | 36 |
| 4 | Loan amount | $12,000.00 |
| 5 | Fee taken out | $600.00 |
| 6 | Rate on the loan amount | 8.71% |
| 7 | Rate on the cash received | 12.25% |
This is why the interest rate and the APR on a loan offer differ: the U.S. Consumer Financial Protection Bureau explains that the APR adds lender fees to the interest rate. Our second figure is a good estimate of that cost, but compare loans using each lender's official APR. To see what a payment would be at a given rate, use the loan calculator.
Common errors
| A | B | C | |
|---|---|---|---|
| 1 | Formula | Result | What went wrong |
| 2 | =RATE(48,200,8000) | #NUM! | Payment and loan have the same sign |
| 3 | =RATE(48,-200,"8,000 USD") | #VALUE! | Text in a number argument |
| 4 | =RATE(48,-200,8000) | 1% | Cell shows no decimal places |
- #NUM! from the signs. Money you pay and money you receive need opposite signs. Make the payment negative and the loan positive (or the other way around). For savings, the deposits and the starting balance are negative and the target is positive.
- #NUM! because RATE didn't settle. RATE doesn't have a formula: it tries a rate, checks how far off it is and adjusts. Microsoft says that if the results don't agree within 0.0000001 after 20 tries, you get #NUM!. Check that the inputs make sense: nper in the same unit as the payment, and a payment large enough to plausibly repay the loan. If they do, add a guess near the answer you expect, such as
=RATE(48,-200,8000,,,0.01)for a monthly rate around 1%. - #VALUE! means one of the arguments is text Excel can't read as a number. Type plain numbers and use cell formatting for the dollar signs.
- A rate 12 times too small, or too big. RATE returns the rate per period. Forgetting
*12leaves you with 0.77% instead of 9.24%; multiplying a yearly-payment rate by 12 overstates it. - 0% or 1% when the answer is 0.77%. The cell is formatted as a percentage with no decimals. Click Increase Decimal on the Home tab.
- Expecting the effective rate. RATE × 12 is the nominal yearly rate. With monthly compounding, the effective rate is higher:
=(1+A6)^12-1turns Microsoft's 0.77% a month into 9.64% a year.
Related functions
- Loan and finance formulas: RATE alongside PMT, NPER, PV and FV, plus a full amortization schedule.
- CAGR and growth: RRI and the growth-rate formula.
- POWER function: the math behind compounding and the effective-rate formula.
- ACCRINT function: accrued interest on a bond.
- Goal Seek, Solver and what-if analysis: work backwards to any input, not just the rate.
Try it yourself
Download the practice workbook. The Practice sheet has Microsoft's $8,000 loan, the $18,000 savings goal, the $10,000 lump sum to check against RRI and the $12,000 loan with a $600 fee. Type RATE into each yellow cell, then compare your answers with the Answers sheet, which shows every formula as text.
Frequently asked questions
Why do I have to multiply RATE by 12?
RATE returns the rate for one period, and the period is whatever your payments are. With monthly payments that's a monthly rate, so =RATE(48,-200,8000) gives 0.77% a month and =RATE(48,-200,8000)*12 gives the 9.24% annual rate a lender quotes. For quarterly payments multiply by 4; for yearly payments don't multiply at all.
Why does RATE return #NUM!?
Either the money doesn't add up as a loan or savings plan (most often pmt and pv have the same sign, so both go out or both come in), or Excel's search for the rate didn't settle within 20 tries. Make the payment negative and the loan positive, check that nper is in the same unit as the payment, and if it still fails add a guess as the sixth argument, such as 0.01 for a monthly rate.
Is the RATE result the same as the APR?
Not always. RATE gives the rate that links the payment to the amount in pv. If a lender takes fees out of the loan, you receive less cash than the loan amount, so the real cost is higher. Put the cash you actually get in pv and RATE shows that higher figure. The official APR on a loan disclosure is calculated under federal rules, so use the lender's disclosed APR when you compare offers.
What is the difference between RATE and RRI?
RRI(nper, pv, fv) gives the growth rate between a start value and an end value with no payments in between, and you don't need a minus sign. RATE does the same if you set pmt to 0 and give pv a minus sign, but it can also handle a regular payment each period, which RRI can't.