Annuity explained: formula, worked example and common mistakes
A stream of payments priced two ways: what it is worth today and what it piles up to at the end, with an optional yearly step. Free, no sign-up.
Updated
What the annuity calculator works out
A fixed run of payments, so much every month for a set number of years, is worth two different amounts: what it is worth today, and what it will have piled up to when the last payment lands. You type the first payment, how often it is paid, the years it runs, the yearly rate, an optional yearly step in the payment, and whether each payment lands at the end of its period or the start. The page returns both worths, the total paid in, and the interest sitting inside the end value.
The formula
i = (1 + rate)^(1/12) - 1 the monthly rate that compounds to the yearly one
n = years x 12 the number of payments
worth at the end = pmt x ((1 + i)^n - 1) / i
worth today = worth at the end / (1 + i)^n
paid in all = pmt x n
interest in the end value = worth at the end - paid in all
The payment is the first payment, held level unless a yearly step is typed. The rate is trimmed to the period rather than divided out: a monthly run takes the twelfth root of the yearly rate, a quarterly run the fourth root, and a yearly run uses the rate as it stands. Payments at the start of each period multiply both worths by one plus i, because every payment then works one period longer. A yearly step in the payment is handled by pricing each year of the run at the payment for that year and adding the years; the default run has a step of 0, so the single formula above covers it whole.
A worked example
1,000 a month for 20 years at 6 per cent a year, paid at the end of each month.
paid in all = 1,000 x 12 x 20 = 240,000
i = (1 + 6%)^(1/12) - 1 = 0.48676% a month
n = 240 payments
worth at the end = 1,000 x ((1 + i)^240 - 1) / i = 453,439
worth today = 453,439 / (1 + i)^240 = 141,384
interest in the end value = 453,439 - 240,000 = 213,439
The stream is worth 141,384 today and 453,439 once the last payment is in. Of that end value, 213,439 is interest: nearly half the pile was never paid in at all, it grew.
What changes the answer
- A higher rate lowers the worth today and raises the worth at the end. The same payments discounted harder are worth less now; compounded harder, they pile up more.
- More years push both worths up, and the interest share up steeply. The last years do the most work, because the interest itself starts earning.
- Payments at the start lift both worths by exactly one period of growth on every payment, a factor of one plus i.
- A yearly step lifts both worths by putting bigger payments into the later years, where compounding acts on them longest.
When to use it, and when not to
Use it to price a run of payments you already know the shape of: a rent received, a sum set aside each month, a stream being valued at one rate. It prices the stream on the rate and timing you type and knows nothing else. Charges do not appear, tax on the payments does not appear, and what a firm would quote for the same stream does not appear, because a quote carries costs of its own that this arithmetic has never heard of.
Common mistakes people make
1. Mixing the two worths in one comparison. 141,384 today and 453,439 at the end are the same stream at 6 per cent. Setting one against a lump sum from the other date double counts twenty years.
2. Expecting the payments to add up to the end value. 240,000 goes in and 453,439 comes out; the 213,439 between them is interest, not an error.
3. Dividing the yearly rate by twelve for a monthly run. That is the loan convention. On this page it gives an end value of about 462,039 instead of 453,439, and the gap widens with every year typed.
4. Forgetting the timing switch. Payments at the start of each month are worth measurably more, by exactly one plus the monthly rate. Reading a run at the wrong timing puts the whole answer out.
5. Typing the rate in the wrong clothes. The page wants 6 for six per cent. Typed as 0.06, the growth nearly vanishes and the worths barely move.
6. Calling the result income. Nothing here arrives as income until it is paid. The page prices a stream; it does not pay one, and no firm stands behind it.
Frequently asked questions
Which of the two worths is the answer?
Whichever question you are asking. Worth today prices the stream as a lump sum now: 141,384. Worth at the end says what the same stream piles up to: 453,439. They are the same payments at 6 per cent, seen from two dates.
Why is a month of the rate not a twelfth of the yearly rate?
The page uses the effective convention the investment pages share: the monthly rate is the one that compounds to the yearly rate you typed. Loan pages divide the yearly rate by twelve instead, which produces different, larger end values.
What does the yearly step do?
It lifts the payment once a year by the per cent typed, and the page prices each year of the run at the payment for that year. A step of 3 on 1,000 a month makes the second year 1,030 a month and every year after rises again.
What is the difference between paid at the end and at the start?
One period of growth on every payment. Paid at the start, each payment works one period longer, so both worths come out higher by exactly a factor of one plus the monthly rate.
Is the interest figure a return on my money?
It is the part of the end value above what was paid in, at the rate and timing typed: 453,439 less 240,000 here. Nothing on the page is a promise about any actual holding.
What is not in it?
Charges of any kind, tax on the payments, and whatever stands behind the payments in the real world. The page prices a stream of numbers, and nothing else.
This tool shows math, not advice.
Cite this page
Copy this line into a reference list, a report or a spreadsheet note.
Investment Math Calculator. “Annuity calculator”. Updated 2026-10-31. https://investmentmathcalculator.com/guides/annuity-calculator/
Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.