The compound interest calculator formula is A = P(1 + r/n)^(nt), where P is your starting principal, r is the annual interest rate written as a decimal, n is the number of times interest compounds per year, and t is the number of years the money is left to grow. This single expression is what every compound interest calculator — including the Compound Interest Calculator from Lizely — runs under the hood to project how a lump sum grows when each period's interest is added back to the balance and starts earning interest of its own. The interest you earn is simply the final amount A minus the principal P, so at a 0% rate the formula collapses to A = P and no interest is credited at all. Daily compounding uses n = 365, monthly uses n = 12, quarterly uses n = 4, semiannually uses n = 2, and annual compounding uses n = 1; raising n while keeping the principal, rate, and term constant always increases the final balance, because credited interest begins to earn its own interest sooner.

compound interest calculator formula
The Compound Interest Formula Behind Every Calculator

The Compound Interest Formula at a Glance

Compound interest is the interest you earn on top of interest you have already earned. Each time a balance earns interest, that interest is added to the principal before the next interest calculation runs, so the base keeps growing. The standard future-value expression captures that loop in a single line, and the Wikipedia entry on compound interest describes it as the canonical formula used across textbooks, banking software, and consumer calculators alike.

Written out, the formula reads:

A = P × (1 + r/n)^(n × t)

Everything you need to project the growth of a lump sum lives in those four letters and the parentheses. P is what you start with; r, n, and t describe the rate environment and the time horizon. The exponent n × t counts how many compounding periods fit inside the whole term, which is why a 5-year term with monthly compounding raises the factor (1 + r/n) to the 60th power rather than the 5th.

What Each Variable Means

Every compound interest calculator exposes the same four inputs because the formula demands them. Getting each one right is what separates an accurate projection from a guess.

  • P — Principal. The lump sum you deposit at the start. This is the only money you put in; the formula assumes no additional deposits or withdrawals during the term.
  • r — Annual interest rate as a decimal. Take the percentage rate your bank or broker quotes and divide by 100. A 10% APR becomes r = 0.10; a 4.5% APY becomes r = 0.045. Confusing the two is the most common source of off-by-a-fraction errors.
  • n — Compounding periods per year. The number of times interest is credited within a 12-month window. Annual = 1, semiannual = 2, quarterly = 4, monthly = 12, daily = 365. The standard convention pins daily at n = 365 for calendar-based math.
  • t — Term in years. How long the money stays invested. Partial years are normally entered as decimals, though most consumer calculators accept whole years for quick planning.

Once the four variables are filled in, the math collapses into a single multiplication and exponentiation. The exponent n × t is the total number of compounding events, and the factor (1 + r/n) is the growth applied at each one.

How to Apply the Formula Step by Step

The formula is fast once you have the variables, but plugging them in cleanly is its own habit. The step-by-step walkthrough of the compound interest formula covers the same procedure with extra checks. Here is the short version, followed by a single worked example you can repeat on paper.

  1. Convert the rate to a decimal. A 10% quoted annual rate becomes r = 0.10.
  2. Pick the compounding frequency and set n. Annual = 1, monthly = 12, daily = 365. The example below uses annual compounding, so n = 1.
  3. Multiply n by t to get the total number of compounding periods. For 5 years at annual compounding, n × t = 1 × 5 = 5 periods.
  4. Compute the growth factor. (1 + r/n) = (1 + 0.10/1) = 1.10. Raise it to the 5th power: 1.10^5 = 1.61051.
  5. Multiply the factor by the principal. A = 1,000 × 1.61051 = $1,610.51.
  6. Subtract the principal to find interest earned. $1,610.51 − $1,000 = $610.51 in compound interest over 5 years.

That result is what the formula gives, and it is the same number the calculator returns: $1,000 at a 10% annual rate compounded annually for 5 years grows to roughly $1,610.51, with $610.51 of that being interest. The formula, not the calculator, produces that number; the calculator just runs it without the exponentiation by hand. Switching the frequency to monthly with the same principal, rate, and term changes n to 12, the exponent to 60, and pushes the final balance higher. Switching to daily compounding pushes it slightly higher again, in line with the product's documented behavior. Exact figures for any scenario you want to test are best read straight from the Compound Interest Calculator so the arithmetic stays consistent.

Why Compounding Frequency Changes the Answer

Because the formula places n inside the growth factor, raising n always raises A for any positive rate. Each credited slice of interest is immediately added to the balance, so the next period's interest is computed on a slightly larger base. With daily compounding, that handoff happens 365 times a year instead of 12, and the gap widens as rates, balances, and horizons grow.

The standard frequencies and the n values the formula expects are:

Compounding frequencyPeriods per year (n)Where you typically see it
Annually1Some bonds, simple savings products
Semiannually2Many corporate and Treasury bonds
Quarterly4Some savings accounts and CDs
Monthly12Most savings accounts, many CDs
Daily365Money market accounts, some online savings

This is also where nominal versus effective yield comes in. A product advertised at "10% compounded monthly" has a nominal rate of 10%, but its effective annual yield — what you actually earn over a year — is higher because interest is credited twelve times and reinvested each time. The gap between nominal and effective widens as n climbs; that is the APY advantage banks highlight when they advertise daily compounding. Holding P, r, and t fixed, switching from annual to daily compounding nudges the balance upward, and that nudge compounds into a much larger dollar gap at higher rates, larger principals, or longer horizons.

Limits of the Standard Compound Interest Formula

The expression A = P(1 + r/n)^(nt) is the cleanest version of compound interest, but it carries assumptions worth flagging before you trust a number from any calculator built on it.

  • Constant rate. The formula assumes r stays the same for every period of the term. Real rates move, so the projection is a planning aid rather than a guarantee of what your account will actually pay.
  • No deposits or withdrawals. The model handles one lump sum. If you plan to add money each month or year, this is the wrong tool — a savings calculator built around recurring contributions fits that job.
  • No taxes or fees. The final amount is gross. Account-level tax rules and product fees are not netted out, so post-tax real returns will differ.
  • Zero rate case. When r = 0, the factor (1 + 0/n) is 1, A equals P, and interest earned is 0. The formula still returns a valid answer; there is just nothing to grow.

These limits are not flaws so much as the boundary of the model. Treat the calculator output as a baseline projection under ideal conditions, then layer the real-world details — rate changes, contributions, taxes — on top.

Skip the Arithmetic With the Calculator

The compound interest calculator formula is short, but exponentiation and division by hand slow everyone down. The Compound Interest Calculator applies A = P(1 + r/n)^(nt) in your browser, returns the final amount and the interest earned, and lets you flip the compounding frequency with one click to see the effect side by side. Nothing is uploaded or stored, so the numbers you test stay private. The same formula you just learned is the entire engine — the calculator simply removes the friction of running it.

If you're weighing options, Simple Interest Calculator Chart: Year-by-Year Breakdown covers this in detail.