utilariumCompound Interest Calculator

How the numbers work

The formula, the method and the limits of the calculator, with the sources.

Back to the calculator

The formula

The effective annual rate (APY) shows what compounding does in one year.

Let r be the yearly rate as a fraction, and n the number of compounding periods in a year.

For example, a rate of 5% compounded monthly has an APY of 5.116%.

APY = (1 + r / n)^n - 1
Continuous compounding: APY = e^r - 1

The method

Let p be the number of deposit periods in a year. The calculator finds the rate for one deposit period.

This lets you compound daily and deposit monthly, for example. The rate for one deposit period is the equivalent rate.

i = (1 + r / n)^(n / p) - 1
Continuous compounding: i = e^(r / p) - 1

A check you can do

Take $10,000.00 at 5% for 10 years, compounded monthly, with no deposits.

The end balance is $16,470.09.

The SEC Investor.gov calculator should give the same number.

Years to double

The calculator finds the exact years to double your money from the APY.

The rule of 72 is a quick estimate. It divides 72 by the rate in percent.

The rule is close for rates from 4% to 12%. It is less exact outside that range.

years = ln(2) / ln(1 + APY)

The limits

The calculator uses one fixed rate for all years. Real returns change from year to year.

It does not include fees, taxes or the risk of a loss. Fees and taxes lower your return.

Inflation is one fixed rate. The balance in today's money is the end balance divided by (1 + inflation)^years.

Banks can round interest each period or use other day counts. Their results can differ by a few cents.

The currency choice changes the symbol only. The calculator does not convert money.

Sources

Checked on 2026-11-11.