# Compound Interest & Savings Plan Calculator

> Calculate how savings grow with compound interest and regular deposits, with optional tax and inflation. Year-by-year table, runs in your browser.

- Page: https://notadevblog.com/en/tools/calculators/compound-interest/
- German version: https://notadevblog.com/de/tools/calculators/compound-interest.md
- Category: Calculators

## At a glance

- **Processing:** Locally in your browser, also offline once the page has been opened. Input never leaves your device.
- **Model:** Interest credited per period (yearly to daily); contributions at the start or end of each month or year
- **Simplified:** Flat tax on interest, optional inflation, no fees; not tax or investment advice

## For agents

WebMCP: the page registers these functions via document.modelContext in browsers that support it.
ES module: https://notadevblog.com/core/compound-interest.js
Every function returns { "ok": true, ... } or { "ok": false, "error": { "code", "message" } }.

### compound_interest

Grow a starting amount with compound interest and optional regular contributions, simulated period by period. rate is the nominal annual rate in percent; it is credited at the end of each compounding period (rate / 1, 4, 12 or 365). A contribution inside a period earns simple interest for the rest of that period. contributionTiming "end" (default) pays at the end of each interval (the last one at the end of the term, without interest), "start" at the beginning. years may have month fractions (2.5); the term is rounded to whole months (daily compounding: 365-day years, term in steps of 1/12 day), 100 years at most. A rate of 0 and negative rates work. taxRate takes that share of every interest credit (simplified, no allowance, no refund on losses); inflation gives realFinalBalance in today's money. totalInterest is net of tax, totalContributions includes the principal. effectiveAnnualRate is (1 + rate/m)^m - 1 in percent before tax. schedule has one row per year (partial: true for a shorter last year). Amounts are rounded to cents only in the output. Simplified model without fees or leap days; not tax or investment advice.

Parameters:
- principal (number, 0..1000000000000, required): Starting amount.
- rate (number, -50..100, required): Nominal annual rate in percent.
- years (number, 0.08333333333333333..100, required)
- compounding (string: yearly | quarterly | monthly | daily, default "yearly")
- contribution (number, default 0, 0..1000000000000): Amount per interval.
- contributionInterval (string: monthly | yearly, default "monthly")
- contributionTiming (string: start | end, default "end")
- inflation (number, -50..100): Annual inflation in percent; adds realFinalBalance.
- taxRate (number, default 0, 0..100): Percent of the interest, e.g. 26.375.

Example input: `{"principal":1000,"rate":5,"years":10,"compounding":"monthly","contribution":100,"contributionInterval":"monthly"}`

Deep link (options in the query, user data after #): https://notadevblog.com/en/tools/calculators/compound-interest/?principal=1000&rate=5&years=10&compounding=monthly&contribution=100&contributionInterval=monthly

## How to use

1. **Enter amount, rate and term:** Set the starting amount, the annual interest rate and how many years the money stays invested.
2. **Add regular deposits:** Enter a monthly or yearly deposit and choose whether it is paid at the start or the end of the period.
3. **Read the result:** See the final balance, how much is your own money and how much is interest, and the balance for every year.

## About this tool

Compound interest means earning interest on interest. Over long terms it dominates the result: the same savings plan grows much faster in year 30 than in year 3.

The calculation is a simplified model without fees, leap days or allowances. It is not tax or investment advice.

## Frequently asked questions

### How is compound interest calculated?

Each period the interest is added to the balance, and the next interest is paid on the larger sum. With yearly compounding the balance after n years is the principal times (1 + rate)^n.

### Does more frequent compounding matter?

A little. 5 % compounded monthly equals about 5.12 % a year, compounded daily about 5.13 %. The effective annual rate in the result shows the exact figure.

### Start or end of the period for deposits?

A deposit at the start earns interest for one more period than one at the end. Salary-based savings plans usually pay at the end of the month.

### How are tax and inflation handled?

The tax rate is taken from every interest credit, so taxed interest does not compound. Inflation only reduces the final balance to today’s purchasing power. Allowances are not included.

### Can I use a rate of 0 % or a negative rate?

Yes. At 0 % the result is the sum of your payments, a negative rate shrinks the balance. Rates from −50 % to 100 % and terms up to 100 years are accepted.
