Interest Calculator Google Sheets: How to Build One
- Total interest earned
- $
- Result
- Principal
- 10000 $
- You entered
- Annual interest rate
- 5 %
- You entered
You can calculate interest in Google Sheets using built-in financial functions like IPMT, PPMT, RATE, and FV, or by writing your own formulas for simple or compound interest. This article explains the formulas, how to set up a working calculator, and common pitfalls to avoid.
Formula
The calculator above uses the compound interest formula:
FV = P × (1 + r/n)^(n×t)
- FV = future value (principal + interest), in dollars
- P = principal (initial amount), in dollars
- r = annual interest rate (as a decimal, e.g., 5% = 0.05)
- n = number of compounding periods per year
- t = time in years
For simple interest, the formula is FV = P × (1 + r×t). Google Sheets also has built-in functions for loan and investment calculations:
IPMT(rate, period, periods, principal)– interest paid in a given periodPPMT(rate, period, periods, principal)– principal paid in a given periodRATE(periods, payment, principal)– interest rate per periodFV(rate, periods, payment, principal)– future value of an annuity
Worked Example
Using the calculator defaults: P = $10,000, r = 5% (0.05), n = 12 (monthly compounding), t = 5 years.
- Divide the annual rate by compounding periods: 0.05 / 12 = 0.0041667
- Add 1: 1 + 0.0041667 = 1.0041667
- Multiply n×t: 12 × 5 = 60
- Raise to the power: 1.0041667^60 ≈ 1.28336
- Multiply by principal: 10000 × 1.28336 = $12,833.59
The future value is $12,833.59, so total interest earned is $2,833.59.
How to Build an Interest Calculator in Google Sheets
You don’t need a template. Follow these steps to create your own:
- Open a new Google Sheet.
- In cell A1, type “Principal”, B1: “Annual rate”, C1: “Compounding periods/year”, D1: “Years”.
- Enter your values in cells A2, B2, C2, D2 (e.g., 10000, 0.05, 12, 5).
- In cell E2, type the formula:
=A2*(1+B2/C2)^(C2*D2)for future value. - In cell F2, type:
=E2-A2to show interest earned. - Format cells as currency (Format → Number → Currency).
You can also use the built-in FV function for annuity payments: =FV(B2/C2, C2*D2, 0, -A2) (note the negative principal for positive output).
Choosing the Right Formula
The type of interest determines which formula to use:
- Simple interest – use
=A2*(1+B2*D2). Common for short-term loans or bonds. - Compound interest – use
=A2*(1+B2/C2)^(C2*D2). Used by most savings accounts and investments. - Loan payments – use
=PMT(B2/C2, C2*D2, A2)to get the monthly payment. - Interest-only period – multiply principal by monthly rate:
=A2*B2/C2.
Always check whether the rate is annual or monthly. If a loan quotes a monthly rate of 1%, don’t divide by 12 again.
Common Mistakes and How to Avoid Them
- Using percentage instead of decimal – In Sheets, if you type 5% it becomes 0.05, but if you type 5, the formula must divide by 100. Be consistent.
- Mixing up compounding periods – If compounding is monthly, n=12; quarterly, n=4; daily, n=365. Using the wrong n changes the result significantly.
- Forgetting to convert time – If the investment is 18 months, t=1.5 years, not 18.
- Rounding too early – Keep full precision in the formula; only round the final display.
Limitations of the Formula
The compound interest formula assumes a constant rate and no additional deposits or withdrawals. Real-world accounts may have variable rates, fees, or minimum balance requirements. For loans, the formula doesn’t account for late fees or changes in payment schedules. For investments, taxes and inflation are not included. The built-in RATE function can help find the rate when you know the payment and term, but it requires an iterative approach and may not converge if the payment is too low.
Frequently Asked Questions
How do I calculate compound interest in Google Sheets?
Use the formula =P*(1+r/n)^(n*t), where P is principal, r is annual rate (as decimal), n is compounding periods per year, and t is years. For example, =10000*(1+0.05/12)^(12*5) gives $12,833.59.
What is the difference between IPMT and PPMT?
IPMT returns the interest portion of a loan payment for a given period, while PPMT returns the principal portion. Together they equal the total payment. Use =IPMT(rate, period, periods, principal) and =PPMT(rate, period, periods, principal).
Can I calculate simple interest in Google Sheets?
Yes, use =P*(1+r*t). For a $1,000 loan at 5% annual simple interest for 3 years, the formula is =1000*(1+0.05*3) = $1,150.
How do I find the interest rate if I know the payment and term?
Use the RATE function: =RATE(periods, payment, principal). For a 60-month loan with $200 monthly payments on a $10,000 principal, =RATE(60, -200, 10000) returns the monthly rate, which you multiply by 12 for APR.
Does Google Sheets have a built-in interest calculator?
No, but it has financial functions like FV, IPMT, PPMT, and RATE that you can combine into your own calculator. You can also use the template above as a starting point.
Why does my result differ from a bank’s calculator?
Banks may use daily compounding, include fees, or round differently. They might also use a 360-day year instead of 365. Check the compounding frequency and any additional charges to reconcile the difference.
Related
Formula used
in p | Principal | $ | 10000 | 0 in r | Annual interest rate | % | 5 | 0 in n | Compounding periods per year | - | 12 | 1 in t | Time in years | years | 5 | 0 out fv | Future value | $ | p * (1 + r/100/n)^(n*t) | 2 out interest | Total interest earned | $ | p * (1 + r/100/n)^(n*t) - p | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.