Compound Interest Formula and How to Calculate It (with Examples) | Mobee Academy
Finansial Umum October 6, 2026 Beginner

Compound Interest Formula and How to Calculate It (with Examples)

Author Bayu Samudera
Read time 5 min
Compound Interest Formula and How to Calculate It (with Examples)

The difference from simple interest looks small in the first year and becomes large after a few years. This article covers the formula, how to calculate it step by step, and how big the gap gets in actual numbers.

Key Points

  • The compound interest formula: A = P × (1 + r/n)^(n × t), where P is the principal, r the annual interest rate, n the number of compounding periods per year, and t the number of years.
  • Simple interest only calculates interest on the starting principal. Compound interest calculates interest on the principal plus the interest already accumulated.
  • The gap is small at first and large at the end. On Rp10 million at 8% a year, the difference is only Rp64 thousand in year two, but becomes Rp3.59 million in year ten.
  • Interest compounded daily produces more than interest compounded annually, even at the same rate.
  • What matters most is time, not the size of the principal. Extending the term from 10 to 20 years has a bigger impact than doubling the starting amount.

What Is Compound Interest

Imagine you deposit Rp10 million at 8% a year.

With simple interest, you receive 8% of Rp10 million every year, which is Rp800 thousand. It is always the same, because the base stays at Rp10 million.

With compound interest, you also receive Rp800 thousand in the first year. But in the second year, the 8% is calculated on Rp10.8 million, so you receive Rp864 thousand. The third year is calculated on Rp11,664,000, and so on.

The base keeps growing. That is the core of compound interest.

The Compound Interest Formula

The full formula:

A = P × (1 + r/n)^(n × t)

What each variable means:

SymbolMeaningExample
AFinal amount, principal plus interestwhat you solve for
PStarting principalRp10,000,000
rAnnual interest rate as a decimal8% is written 0.08
nHow many times interest compounds per year1 (annual), 12 (monthly), 365 (daily)
tTime in years5

If you only want the interest earned, not the final amount, subtract the principal:

Interest = A - P

For interest compounded once a year, the formula becomes simpler because n equals 1:

A = P × (1 + r)^t

Step-by-Step Calculation Examples

The three examples below use rupiah figures that are easy to follow. Final results are calculated from the unrounded power value, so they can differ by a few rupiah from what you get by multiplying the rounded figures in the table.

Example 1: interest compounded annually

Principal Rp10,000,000, 8% a year, 5 years, compounded once a year. That means P = 10,000,000, r = 0.08, n = 1, and t = 5.

StepCalculationResult
1. Fill the brackets1 + 0.08/11.08
2. Work out the exponentn × t = 1 × 55
3. Raise to the power1.08^51.469328
4. Multiply by the principal10,000,000 × 1.469328Rp14,693,281

So the interest is Rp4,693,281. With simple interest, it would only be Rp4,000,000. The difference is Rp693,281.

Example 2: interest compounded monthly

Same principal and rate, but compounded every month, so n = 12.

StepCalculationResult
1. Fill the brackets1 + 0.08/121.0066667
2. Work out the exponent12 × 560
3. Raise to the power1.0066667^601.489846
4. Multiply by the principal10,000,000 × 1.489846Rp14,898,457

Just by changing the compounding frequency, the result grows by Rp205,176.

Example 3: a 20-year term

Principal Rp10,000,000, 8%, compounded annually, 20-year term.

StepCalculationResult
1. Raise to the power1.08^204.660957
2. Multiply by the principal10,000,000 × 4.660957Rp46,609,571

The principal grows more than fourfold. With simple interest, the result would only be Rp26,000,000.

Simple Interest vs Compound Interest

This is the table that explains it best. All figures use a principal of Rp10,000,000 and 8% a year, compounded annually.

YearSimple interestCompound interestDifference
1Rp10,800,000Rp10,800,000Rp0
2Rp11,600,000Rp11,664,000Rp64,000
3Rp12,400,000Rp12,597,120Rp197,120
5Rp14,000,000Rp14,693,281Rp693,281
10Rp18,000,000Rp21,589,250Rp3,589,250
15Rp22,000,000Rp31,721,691Rp9,721,691
20Rp26,000,000Rp46,609,571Rp20,609,571

Note the key pattern: in year one the difference is zero, in year two it is only Rp64 thousand, but in year twenty the difference is Rp20.6 million, or twice the starting principal.

The fundamental differences:

Simple interestCompound interest
Calculation baseStarting principal onlyPrincipal plus accumulated interest
GrowthLinear, same amount each periodExponential, growing amount each period
FormulaA = P × (1 + r × t)A = P × (1 + r/n)^(n × t)
Commonly used inSome loans and simple bondsSavings, deposits, reinvestment, yield-bearing instruments

The Effect of Compounding Frequency

At the same interest rate, the more often interest compounds, the larger the result. Here is a simulation of Rp10,000,000 at 8% over 10 years:

Compounding frequencynResult after 10 years
Annual1Rp21,589,250
Semiannual2Rp21,911,231
Monthly12Rp22,196,402
Daily365Rp22,253,458

The gap between annual and daily reaches Rp664,208. Note that the extra gain gets smaller each time the frequency goes up. From annual to monthly adds Rp607 thousand, but from monthly to daily adds only Rp57 thousand. There is an upper limit that is never exceeded, no matter how often interest compounds.

What Matters Most: Time, Not Capital

This is the most practical takeaway from all the calculations above.

Compare two scenarios at 8% compounded annually:

ScenarioResult
Rp20,000,000 for 10 yearsRp43,178,500
Rp10,000,000 for 20 yearsRp46,609,571

Half the principal, yet a larger result, because the time is twice as long. Doubling the starting principal doubles the result proportionally. Doubling the time makes the result multiply exponentially.

That is why with compound interest, starting earlier usually matters more than starting with more capital.

Compound Interest in Real Products

So far it has all been math. In practice, a few things make results differ from the calculations above, and they are worth knowing before you apply any of this.

Yields are usually not fixed

The formula above assumes a constant interest rate for years. For market-based instruments, the figures change with conditions. So actual results can be higher or lower than the simulation.

There are taxes and fees

The calculations above do not include tax on returns or administrative fees, both of which reduce the final result.

Inflation erodes real value

A result of Rp46.6 million in 20 years does not have the same purchasing power as Rp46.6 million today. The link between inflation and the value of money is covered in fiat money and what devaluation is.

Compounding is not always automatic

Compound interest only works if the returns are actually added back to the principal. If you withdraw them every period, what happens is simple interest.

On Mobee, this mechanism shows up in Flexi Earn, where assets you hold earn a yield that can keep accumulating, and in Dual Investment, which has a different structure with its own risk profile. For current yield figures, see the Earn product page, since the numbers change with market conditions and are not listed in this article so as not to mislead.

One thing worth stating clearly: crypto-based instruments carry price risk that conventional savings do not. An 8% annual yield means little if the underlying asset falls 30%.

Try Flexi Earn on Mobee

If you want to see how yield can keep accumulating on your assets, Flexi Earn and the other Earn products on Mobee can be a place to start, with current yield figures always shown on the product page.

Everything is in one app alongside other crypto assets, operated by PT CTXG Indonesia Berkarya, which is licensed and supervised by the Financial Services Authority (OJK), so you can hold, monitor, and manage your portfolio without switching platforms. Download and install the Mobee app now, complete verification, then start with an amount you are comfortable with.

Conclusion

The compound interest formula is A = P × (1 + r/n)^(n × t). What sets it apart from simple interest is that interest is calculated on a principal that keeps growing, not on a fixed starting amount.

The gap is small at first and large at the end. On Rp10 million at 8% a year, the difference between simple and compound interest is only Rp64 thousand in year two, but reaches Rp20.6 million in year twenty.

Two things matter most: how long the money stays invested and whether the returns are actually reinvested. A large starting principal helps, but its effect is smaller than those two factors.

Frequently Asked Questions

What is the compound interest formula?

The compound interest formula is A = P × (1 + r/n)^(n × t). A is the final amount, P the starting principal, r the annual interest rate as a decimal, n how many times interest compounds per year, and t the time in years.

What is the difference between simple and compound interest?

Simple interest is calculated only on the starting principal, so the amount is the same every period. Compound interest is calculated on the principal plus the interest already accumulated, so the amount keeps growing.

How do you calculate compound interest?

Put the principal, interest rate, compounding frequency, and time into A = P × (1 + r/n)^(n × t). For example, Rp10,000,000 at 8% a year for 5 years, compounded annually, becomes about Rp14,693,281.

What does n mean in the compound interest formula?

n is how many times interest compounds in one year. It is 1 for annual, 2 for semiannual, 12 for monthly, and 365 for daily.

Is daily or annual compounding better?

At the same interest rate, daily compounding produces more than annual compounding. But the extra gain gets smaller each time the frequency increases, and there is an upper limit that is never exceeded.

Are yields on Mobee guaranteed like the calculations in this article?

No. The numbers in this article are illustrations only. Yields on products such as Flexi Earn can change with market conditions, and crypto assets carry price risk. See current figures on the Earn product page.

Disclaimer

All information in this article is educational and is not investment advice. The figures in the calculation examples are illustrative and are not a yield projection for any product. Actual returns can differ, and crypto-based instruments carry price fluctuation risk. Always do your own research and match decisions to your own risk profile. Mobee is operated by PT CTXG Indonesia Berkarya, licensed and supervised by the Financial Services Authority (OJK).

Direct market access from the app

Start exploring digital assets with Mobee

Track the market, learn about digital assets, and start trading more conveniently with the Mobee App.

Mobee is licensed and supervised by the OJK. Not a solicitation to buy or sell any asset.

Mobee

Treasury Tower Office Building, 18th Floor District 8, Sudirman Central Business District (SCBD) 12190, DKI Jakarta

Follow our social media

Join our community

Registered & supervised by

ICEx Komdigi Intertek, KAN Asosiasi Pedagang Aset Kripto Indonesia

Contact Us

Directorate General of Consumer Protection and Trade Order
Ministry of Trade of the Republic of Indonesia
0853 1111 1010 (WhatsApp)

Copyright © 2026 PT. CTXG Indonesia Berkarya. All rights reserved.

Crypto asset trading is facilitated by PT CTXG Indonesia Berkarya, a licensed Digital Financial Asset Trader by the Financial Services Authority (OJK) and a registered member of PT Fortuna Integritas Mandiri (ICEx).

This website is provided for informational purposes only. None of the material on this site is intended to be, nor does it constitute, a solicitation, recommendation, or offer to buy or sell any security, financial product, or instrument. Trading cryptocurrency is a high-risk activity. Past performance does not reflect future performance. Historical performance, expected return, and probability projections are provided for informational and illustrative purposes. All cryptocurrency trading decisions are independent decisions by users.