Compound interest is calculated with the formula A = P(1 + r/n)^(nt), where A is the final amount, P is the starting principal, r is the annual interest rate written as a decimal, n is how many times interest compounds per year, and t is the number of years — the interest earned is simply A minus P. A compound interest calculator with steps is a tool that runs this exact formula for you and surfaces the inputs, the substitutions, and the result on one screen, so you can move a frequency setting or change a rate and watch each step update in place. The point of seeing the steps is not to memorize the algebra; it is to verify that a quoted yield, an advertised APY, or a certificate-of-deposit rate actually behaves the way the marketing claims. Because every step depends on the others, switching from annual to daily compounding, raising the rate by a single point, or extending the term by a few years each shifts the final balance in a predictable direction, and once you have run a single example with all the steps visible, every later comparison becomes a question of which input changed. The same formula underpins future-value calculations for savings accounts, CDs, and bonds quoted with a fixed rate and a stated compounding schedule.

The formula that runs every step
The single equation behind every compound interest step is A = P(1 + r/n)^(nt). Read it left to right and each letter is a knob you can turn. P is your starting balance, the lump sum you place on day one. r is the annual rate written as a decimal, so 10% becomes 0.10. n is the number of compounding periods per year, and t is how many years the money stays invested. Multiply the rate and the years inside the parentheses, raise the result to that power, and multiply by P to land on A, the future value. The interest you earned over the period is A minus P. This is the same future-value formula described on Wikipedia's future value entry, and it is what your compound interest calculator with steps evaluates every time you change an input. If you would like a guided walk-through of the algebra, the step-by-step compound interest walkthrough unpacks each substitution in plain language.
What each variable controls
Each of the five letters in A = P(1 + r/n)^(nt) controls a different part of the growth, and a calculator that shows the steps lets you see them move independently. Holding four inputs fixed and changing the fifth is the cleanest way to understand what that variable really does.
- P (starting principal) scales the final amount linearly. Doubling P doubles A; halving P halves A. Every other input leaves the growth rate unchanged, so only the size of the stack moves.
- r (annual rate, as a decimal) appears inside the parentheses and is then raised to a power, so it acts exponentially. A small change here produces an outsized change in A, especially as t grows.
- n (compounding periods per year) sits in two places: it shrinks the rate inside the parentheses (r/n) and enlarges the exponent (nt). Increasing n is what creates the compounding-frequency effect covered in the next section.
- t (years) multiplies n in the exponent. Doubling t roughly squares the growth factor, which is why long horizons magnify every other input.
Because the variables are independent, you can isolate what a change in any one of them does to the final balance. That isolation is what makes a step-by-step calculation meaningful in the first place — once you know which input moved, you know why the answer moved.
How to use a compound interest calculator with steps
- Enter your starting principal in the principal field. This is the lump sum that begins earning interest, not a recurring monthly deposit.
- Enter the annual interest rate as a percentage, such as 5 or 10. The calculator converts it to the decimal r the formula needs.
- Pick the compounding frequency from the list: annually, semiannually, quarterly, monthly, or daily. The calculator maps that choice to the correct value of n.
- Enter the number of years the money will stay invested. Whole numbers and decimals both work.
- Read the final amount and the total interest earned on the result panel. The interest figure is the final amount minus the principal you started with.
- Change the frequency while holding everything else fixed and watch the final amount and interest move. This is the cleanest way to see the compounding-frequency effect.
Open the compound interest calculator with each of those inputs in front of you and you can run the same comparison across any account type in under a minute. Everything runs locally in the browser, so none of your figures are uploaded or stored. When the rate is 0%, there is no growth, so the final amount equals your principal and the interest earned is zero.
How compounding frequency changes each step
Compounding frequency is the n inside A = P(1 + r/n)^(nt), and it is the only input that appears in two places in the formula. Crank n up from 1 (annual) to 12 (monthly) to 365 (daily) and the rate inside the parentheses shrinks while the exponent grows. The net effect is that interest is credited sooner, then starts earning interest sooner, which raises the final balance above what annual compounding would produce. The standard mapping from frequency to n is fixed and does not change.
| Frequency | n (periods per year) |
|---|---|
| Annually | 1 |
| Semiannually | 2 |
| Quarterly | 4 |
| Monthly | 12 |
| Daily | 365 |
The same principal, rate, and term behave differently at each row of that table. A worked example with annual compounding makes the steps visible. Take P = $1,000, r = 10% (or 0.10 as a decimal), n = 1, and t = 5 years. Substituting into the formula:
A = 1,000 × (1 + 0.10 / 1)^(1 × 5) A = 1,000 × (1.10)^5 A = 1,000 × 1.61051 A = $1,610.51
Total interest earned = $1,610.51 − $1,000 = $610.51.
Switch n to 12 for monthly compounding while holding everything else fixed, and the same principal grows to a noticeably larger balance; switch n to 365 and the balance edges higher still. For the exact figures at any frequency, plug the same inputs into the compound interest calculator with steps and read the result panel. The gap between annual and daily compounding looks modest at 10% over five years, but it widens with higher rates, larger balances, and longer time horizons. The same compounding-frequency effect is what separates the effective annual yield (APY) from the nominal rate a CD or savings account advertises — more frequent compounding raises the effective yield above the stated nominal rate.
Where the formula breaks down
The compound interest formula assumes four conditions that real accounts do not always meet. A step-by-step calculator is a planning aid, and these are the limits to keep in mind before you treat the final amount as a guarantee.
- Constant rate. The model uses a single r from start to finish. Savings yields and CD rates move; the calculator will not predict those moves.
- No additional deposits or withdrawals. The formula grows one lump sum. If you plan to add money every month or year, the savings calculator is built around recurring contributions instead.
- No taxes or fees. The final amount is gross. Real returns are reduced by income tax on interest, by early-withdrawal penalties, and by account fees.
- No inflation adjustment. The number on screen is nominal. To see what that balance will buy in future dollars, model inflation separately.
Use the steps to compare CDs and savings accounts, to sanity-check a quoted APY, or to project a single deposit forward. For anything that involves regular contributions, a changing rate, or tax effects, reach for a more specialized tool and confirm the exact account terms with your bank or a licensed financial professional before committing money.
Related reading: Simple Interest Calculator on Mac: Free in Safari.