Compound Interest: The Math Behind Building Wealth

By Nicholas Vogler - March 14, 2026 - 6 min read

Albert Einstein supposedly called compound interest the "eighth wonder of the world." Whether or not he actually said it, the math backs up the sentiment. Compound interest is the single most important concept in personal finance, and understanding the formula behind it gives you a concrete advantage when planning your financial future.

This article breaks down the compound interest formula, compares it to simple interest, explains the Rule of 72, and shows you exactly how different rates and time horizons change your results.

The Compound Interest Formula

The standard compound interest formula calculates the future value of an investment or loan:

A = P(1 + r/n)nt

Where:

For example, if you invest $10,000 at 7% annual interest compounded monthly for 20 years:

A = 10,000 x (1 + 0.07/12)12 x 20 = 10,000 x (1.005833)240 = $40,387.39

Your $10,000 turned into over $40,000 -- and you did not add a single dollar after the initial deposit. That is the power of compounding.

Simple Interest vs. Compound Interest

Simple interest only calculates interest on the original principal. The formula is straightforward: A = P(1 + rt). Compound interest, by contrast, calculates interest on the principal plus all previously earned interest.

Here is what happens to $10,000 at 7% over 20 years with each method:

MethodYear 5Year 10Year 15Year 20
Simple Interest$13,500$17,000$20,500$24,000
Compound Interest$14,026$19,672$27,590$38,697
Difference$526$2,672$7,090$14,697

The gap starts small but widens dramatically. After 20 years, compound interest delivers over 61% more than simple interest on the same deposit. This accelerating gap is what people mean when they say compound interest is "exponential."

The Rule of 72

The Rule of 72 is a mental math shortcut that tells you approximately how many years it takes for your money to double at a given interest rate. The formula is simple:

Years to double = 72 / annual interest rate

Quick examples:

This rule is remarkably accurate for interest rates between 2% and 15%. It also works in reverse -- if you want to double your money in 10 years, you need roughly 72 / 10 = 7.2% annual returns.

$10,000 Invested at Different Rates

The table below shows the future value of a single $10,000 investment compounded annually at different rates over 10, 20, and 30 years. No additional contributions -- just one deposit and time.

Rate10 Years20 Years30 Years
3%$13,439$18,061$24,273
5%$16,289$26,533$43,219
7%$19,672$38,697$76,123
8%$21,589$46,610$100,627
10%$25,937$67,275$174,494
12%$31,058$96,463$299,599

The numbers at 30 years are striking. At 7% -- roughly the inflation-adjusted historical average of the S&P 500 -- your $10,000 becomes over $76,000. At 10%, it grows to nearly $175,000. Time is the most important variable in this equation.

Compounding Frequency Matters

The variable n in the formula represents how often interest compounds. More frequent compounding means slightly more growth, because earned interest starts earning its own interest sooner.

Here is $10,000 at 8% for 20 years with different compounding frequencies:

Frequencyn ValueFuture ValueTotal Interest
Annually1$46,610$36,610
Quarterly4$48,010$38,010
Monthly12$48,886$38,886
Daily365$49,530$39,530

Going from annual to daily compounding adds about $2,920 over 20 years on a $10,000 deposit. The difference is meaningful but not dramatic. What matters far more is your interest rate and time horizon. Compounding frequency is a secondary factor.

When Compound Interest Works Against You

Compound interest is not always your friend. When you carry debt -- especially high-interest credit card debt -- the same math that builds wealth works in reverse to erode it.

Consider a $5,000 credit card balance at 22% APR. If you make only the minimum payment (typically 2% of the balance or $25, whichever is greater), here is what happens:

The same exponential growth that turns $10,000 into $76,000 over 30 years at 7% can turn a $5,000 debt into a $14,580 burden at 22%. The math is neutral -- it amplifies whatever direction your money is moving.

This is why financial advisors prioritize paying off high-interest debt before investing. A guaranteed 22% return (by eliminating 22% interest charges) beats any realistic investment return.

Key Takeaways

Run Your Own Numbers

See how your savings will grow with our free compound interest calculator.

Open Interest Calculator

Frequently Asked Questions

What is the Rule of 72?

The Rule of 72 is a quick formula to estimate how long it takes for an investment to double. Divide 72 by your annual interest rate to get the approximate number of years. For example, at 8% interest, your money doubles in roughly 72 / 8 = 9 years. The rule is accurate for rates between about 2% and 15%.

How much will $10,000 grow in 20 years?

It depends on the rate of return. At 5% compounded annually, $10,000 grows to about $26,533. At 7%, it reaches $38,697. At 10%, it grows to $67,275. The higher the rate and the longer the time horizon, the more dramatic the growth. Use our interest calculator to model your specific scenario.

Does compound interest make you rich?

Compound interest is one of the most powerful tools for building wealth, but it requires time, consistency, and a reasonable rate of return. Starting early and making regular contributions dramatically accelerates growth. A person who invests $10,000 at age 25 with a 7% return will have over $149,000 by age 65 -- without adding a single dollar. Combined with regular contributions, compound interest can absolutely build significant wealth over a working career.