First Million Calculator

See how long to reach one million with compound interest.

How to use

  1. Enter the amount you can invest every month.
  2. Set the expected annual return rate (for example, 10% for a diversified portfolio or 13% for the CDI rate).
  3. See how many years it takes to reach one million reais and how much of that comes from interest versus contributions.

About this tool

Reaching one million reais is a common financial milestone in Brazil. This tool shows how compound interest accelerates the path — a consistent monthly contribution at a reasonable return rate gets there faster than most people expect.

The calculation uses monthly compounding. It splits the final balance into the total you invested and the interest earned, so you can see how much of the million is your money versus the market doing the work.

The return rate is an assumption — real returns fluctuate year to year. Use a conservative estimate (below the current CDI rate) to avoid overestimating how quickly you will get there.

The formula

A = P × (1 + r)^n + C × ((1 + r)^n − 1) / r, solving for n when A = target.

Frequently asked questions

Does my data leave my browser?

No. Everything runs locally in JavaScript on your device — nothing is transmitted or stored.

Is this financial advice?

No. This is an educational tool for estimates only. Real financial decisions depend on fees, taxes and personal circumstances — consult a qualified professional.

Which official tables does the tool use?

The tool uses the latest publicly available rates and tables. You can verify the values against the official sources linked on the page.

Related tools

Long links? Shorten them for free

Vai.la turns any URL into a short link with click statistics, QR Code and your own biolink.

Vai.la is not responsible for how the tools are used or for decisions made based on their results.