Compound interest is interest calculated on the original principal plus every interest payment that has already been added to the account, so the balance grows on a curve, not a straight line. The standard formula is A = P(1 + r/n)nt, where P is the starting principal, r is the annual interest rate as a decimal, n is the number of compounding periods per year (1 for annual, 12 for monthly, 365 for daily), t is the number of years, and A is the future balance including interest. Total interest earned equals A minus P. Because the same P and r can lead to different A values depending on how often interest is added, the calculator at Compound Interest Calculator lets you swap the compounding frequency and instantly see how the final amount changes.

If you have ever watched a savings account grow more in the second year than the first, even though you deposited nothing new, that is compounding at work. The first year's interest becomes part of the principal for the second year, and from then on every dollar of interest starts earning its own interest. Over decades, that snowball effect can multiply a modest starting balance into something much larger, which is why compound interest is the central mechanism behind long-term savings and investing.

how to calculate compound interest
how to calculate compound interest

The Compound Interest Formula Explained

Every compound interest calculation is built from the same five variables, and once you understand them the formula reads like a sentence. P is the principal, the dollar amount you start with. r is the annual interest rate expressed as a decimal, so 6 percent becomes 0.06. n is the number of times per year that interest compounds: annually is 1, semiannually is 2, quarterly is 4, monthly is 12, and daily is 365. t is the number of years the money stays invested. A is the future value, the balance after interest has been added, which is what you actually get at the end.

The formula itself, A = P(1 + r/n)nt, is worth memorizing even if you rely on a tool for daily use. The (1 + r/n) part is the growth factor for a single compounding period, and raising it to the nth power over t years gives the total multiplier. Subtract 1 from that multiplier and multiply by P to isolate the interest portion. If you prefer to skip the arithmetic, the Compound Interest Calculator applies this formula for any combination of inputs.

Why Compounding Frequency Matters

The interest rate alone tells you how much you earn in a year, but the frequency decides how many times that annual rate is applied to your running balance. With annual compounding, interest is added once a year. With monthly compounding, it is added twelve times, and each addition is itself included in the next period's balance. The result is that the effective annual yield is always slightly higher than the stated rate when compounding happens more than once per year.

Compounding frequencyPeriods per year (n)Effective annual yield at a 5% nominal rate
Annually15.000%
Semiannually25.063%
Quarterly45.095%
Monthly125.116%
Daily3655.127%

The values above are determined by the formula (1 + r/n)n - 1, which is the way financial regulators describe the effect of compounding on a stated rate. The dollar difference between annual and daily compounding is small over a single year but grows substantially over a 20 or 30 year horizon, and the calculator makes that comparison a single click.

How to Calculate Compound Interest with the Calculator

The fastest path from a blank page to a real growth estimate is the Compound Interest Calculator, which runs all five variables through the formula and shows the result, the total interest earned, and the frequency comparison in the same view. To get started, open the tool and follow the three steps below.

  1. Enter your starting principal and the annual interest rate. Type the dollar amount you are putting in today, then type the rate as a percentage. A 4 percent savings account is entered as 4, not 0.04, and the tool converts it internally.
  2. Pick how often interest compounds and the number of years. Use the frequency menu to choose annually, semiannually, quarterly, monthly, or daily. Then type how many years you want the money to grow, from one year out to multi-decade horizons.
  3. Read the final amount and total interest earned. The result panel shows the future balance and the interest portion that has piled up over the period, and switching the frequency menu updates those numbers without retyping anything else.

If you want to compare scenarios, change the frequency and watch the future value move. Higher frequency means more compound periods and a larger final balance from identical inputs. You can also experiment with a different rate or a longer horizon to see how sensitive the result is to those two levers, which is the easiest way to translate the formula into intuition.

A Simple Worked Example

Picture a $5,000 principal at a 6 percent annual rate, compounded monthly, left alone for 10 years. The formula reads A = 5000(1 + 0.06/12)12 × 10, which simplifies to 5000(1 + 0.005)120. Working through the exponent, the growth factor rounds to about 1.8194, so A is approximately 5000 × 1.8194 = $9,097. Total interest earned is then $9,097 - $5,000 = $4,097, written out from the numbers already shown. That single example covers the full calculation, and the calculator produces the same figure with no manual exponent work.

Common Uses Beyond a Savings Account

Compound interest shows up in many corners of personal finance, and the same formula applies in each one. Certificates of deposit compound on a fixed schedule defined by the bank, which is why how to calculate compound interest on a CD in minutes is such a common search. Retirement accounts reinvest dividends and capital gains, so a long horizon amplifies the effect, which is the basis of any retirement projection. Inflation works in reverse, eroding purchasing power so that a dollar saved today buys less tomorrow, and the Inflation Calculator shows how the same number plays out across decades.

The same compounding logic explains why a loan balance grows if you only make minimum payments, and why fixed monthly mortgage payments still pay down the principal on a curve. The mathematics is the mirror image of savings growth, and switching the sign on r in the formula turns an investor's best friend into a borrower's worst enemy.

Compound Interest Versus Simple Interest

Simple interest is calculated only on the original principal, every period, for the life of the account, which produces a linear growth curve. Compound interest reinvests each period's interest so the balance grows exponentially. Over short periods the gap looks small, but over long horizons the difference is dramatic, and that is the reason savings accounts, retirement funds, and most long-term investments are structured around compounding rather than a flat rate. If you want to isolate the flat-rate scenario for comparison, the Simple Interest Calculator handles that case with the same input style, and the simple interest walkthrough covers the formula in detail.

Tips for Getting the Most Out of the Calculator

To translate numbers into planning decisions, treat the rate and the time as the two dials that matter most. A small increase in the interest rate, from 4 to 5 percent, has a larger long-run effect than most people expect, especially over 20 or 30 year horizons, because every period's interest is also being compounded. Likewise, an extra five years on the timeline multiplies the final balance through more compounding cycles even when the rate is unchanged. If you can extend either dial slightly, that single decision often matters more than chasing a higher-risk investment.

Frequency matters most when you can choose between products that compound daily versus annually on the same nominal rate. Over decades, daily compounding produces a noticeably larger terminal balance, and switching the menu in the calculator is the quickest way to see how much that difference is worth in dollars. For ongoing contributions rather than a single lump sum, the calculator's sibling tool, the Savings Calculator, handles regular deposits alongside the compound interest math.

Finally, keep an eye on the difference between the nominal rate and the effective annual yield, especially when comparing CDs, savings accounts, or money market funds. Two products with the same nominal rate can have different effective yields depending on compounding frequency, which is exactly the comparison the calculator is built for. Treat the result as a planning estimate rather than a guaranteed return, since real-world returns include fees, taxes, and varying rates over time.

Verify Any Result With the Formula

Once you have a result from the calculator, multiply it back through the formula by hand on at least one scenario to confirm you used the tool correctly. Substitute P, r, n, and t into A = P(1 + r/n)nt, walk through the inner division, the addition, the exponent, and the final multiplication, and confirm you land on the same number. That habit catches typos in the rate or the years field, and it builds real familiarity with the math so the formula stops feeling abstract. For a deeper dive into the underlying concepts, Investor.gov maintains a clear introductory reference for individual investors that walks through compound interest as part of its broader investing basics curriculum.

Whether you are sizing up a new CD, modeling a long-term retirement contribution, or just curious what a one-time deposit would grow into, the path is the same: pick the rate, pick the frequency, pick the years, and read the future value. The Compound Interest Calculator runs the formula end to end and lets you flip the frequency to see the effect of compounding without rebuilding the calculation every time.

For a deeper look, see How to Calculate Home Affordability With the 28/36 Rule.

For a deeper look, see How to Calculate a Car Loan Payment by Hand and Online.