Simple vs Compound Interest Explained — Formulas, Examples & Aptitude Tricks
Money doesn't just sit still — it grows. Whether you're taking a home loan, investing in a fixed deposit, or just trying to understand why your credit card bill seems to balloon, the engine behind all of it is interest. Simple and Compound Interest are two of the most fundamental concepts in finance, and they show up in every banking exam, aptitude round, and technical interview that touches quantitative reasoning.
The problem most people face is that these formulas look like abstract math with no grounding in reality. So they memorise, forget, and then panic in an exam room. This article fixes that. Every formula here is tied to a story you can picture, and every trick is one that saves you real seconds in a timed aptitude test.
By the end of this article you'll be able to calculate Simple and Compound Interest from scratch, spot which formula to use in a word problem in under five seconds, avoid the three classic mistakes that cost candidates marks, and answer the tricky follow-up questions interviewers love to throw at confident-sounding candidates.
What Is Simple Interest — And Why Does It Even Exist?
Think of Simple Interest as a rental fee for money. You borrow someone's money for a fixed period, and you pay a fixed percentage of the original amount (called the Principal) as a fee for each year you hold it. The word 'Simple' is literal — the interest is always calculated on the same original amount, no matter how many years pass.
The three ingredients you always need are: • Principal (P) — the original amount borrowed or invested. • Rate (R) — the percentage charged per year, like 5% or 10%. • Time (T) — how long the money is borrowed, in years.
The formula is beautifully straightforward:
Simple Interest (SI) = (P × R × T) / 100
Total Amount returned = P + SI
Where does this come from? If the rate is 10% per year, then for one year you owe 10/100 of P. For two years you owe twice that. For T years you owe T × (R/100) × P. That's it. No hidden magic.
Simple Interest is used in short-term personal loans, auto loans, and most aptitude exam problems because it's predictable and easy to verify. It's the baseline every finance concept is built on.
public class SimpleInterestCalculator { /** * Calculates Simple Interest. * * Formula: SI = (Principal × Rate × Time) / 100 * * @param principal The original sum of money (in any currency unit) * @param ratePerYear The annual interest rate as a percentage (e.g., 5 for 5%) * @param timeInYears How long the money is borrowed or invested (in years) * @return The simple interest earned or owed */ public static double calculateSimpleInterest( double principal, double ratePerYear, double timeInYears) { // Core formula: divide by 100 because rate is given as a percentage double simpleInterest = (principal * ratePerYear * timeInYears) / 100; return simpleInterest; } public static void main(String[] args) { // Scenario: Rohan borrows ₹5,000 at 8% per year for 3 years double principal = 5000; // ₹5,000 borrowed double rate = 8; // 8% per annum double time = 3; // 3 years double si = calculateSimpleInterest(principal, rate, time); // Total amount Rohan must return = original loan + interest double totalAmount = principal + si; System.out.println("===== Simple Interest Calculation ====="); System.out.println("Principal : ₹" + principal); System.out.println("Rate per year : " + rate + "%"); System.out.println("Time : " + time + " years"); System.out.println("--------------------------------------"); System.out.println("Simple Interest : ₹" + si); System.out.println("Total Amount Due : ₹" + totalAmount); System.out.println(); // Aptitude shortcut demo: // If SI and time are given, find Rate: // R = (SI × 100) / (P × T) double knownSI = 1200; double knownP = 5000; double knownT = 3; double derivedRate = (knownSI * 100) / (knownP * knownT); System.out.println("===== Reverse Calculation: Find Rate ====="); System.out.println("If SI = ₹" + knownSI + ", P = ₹" + knownP + ", T = " + knownT + " yrs"); System.out.println("Rate = " + derivedRate + "% per annum"); } }
Principal : ₹5000.0
Rate per year : 8.0%
Time : 3.0 years
--------------------------------------
Simple Interest : ₹1200.0
Total Amount Due : ₹6200.0
===== Reverse Calculation: Find Rate =====
If SI = ₹1200.0, P = ₹5000.0, T = 3.0 yrs
Rate = 8.0% per annum
What Is Compound Interest — The Snowball That Changes Everything
Here's where things get interesting. With Simple Interest, interest is calculated only on the original Principal — forever. With Compound Interest, the interest you earned last year gets added to your Principal, and next year's interest is calculated on that bigger amount. Interest earns interest. That's the snowball effect.
Picture this: you put ₹1,000 in a savings account at 10% per year. After year one, you've earned ₹100 interest. Instead of pocketing it, the bank adds it to your balance — now you have ₹1,100. In year two, your 10% is calculated on ₹1,100, giving you ₹110. Next year, ₹121. Each year the growth gets slightly bigger. Over decades, this is the reason Warren Buffett calls compound interest 'the eighth wonder of the world.'
The Compound Interest formula:
Amount (A) = P × (1 + R/100)^T
Compound Interest (CI) = A − P
Where P is Principal, R is Rate per annum, and T is Time in years. The compounding frequency matters too — interest can compound yearly, half-yearly (every 6 months), or quarterly (every 3 months). When it compounds more frequently than yearly, adjust the formula:
- Half-yearly: A = P × (1 + R/200)^(2T)
- Quarterly: A = P × (1 + R/400)^(4T)
The key insight: more frequent compounding = more total interest.
public class CompoundInterestCalculator { /** * Calculates Compound Interest compounded annually. * * Formula: A = P * (1 + R/100)^T * CI = A - P * * @param principal Original sum of money * @param ratePerYear Annual interest rate as a percentage * @param timeInYears Duration of investment or loan in years * @return The compound interest earned or owed */ public static double calculateAnnualCI( double principal, double ratePerYear, double timeInYears) { // (1 + R/100) is the growth multiplier each compounding period double growthFactor = 1 + (ratePerYear / 100); // Raise to the power of T to account for repeated compounding double totalAmount = principal * Math.pow(growthFactor, timeInYears); // CI is only the extra amount, so subtract the original principal double compoundInterest = totalAmount - principal; return compoundInterest; } /** * Calculates Compound Interest for different compounding frequencies. * * @param principal Original principal amount * @param ratePerYear Annual rate as a percentage * @param timeInYears Time in years * @param timesPerYear How many times interest compounds per year * (1 = yearly, 2 = half-yearly, 4 = quarterly) * @return Compound interest for the given frequency */ public static double calculateCI( double principal, double ratePerYear, double timeInYears, int timesPerYear) { // Divide the annual rate by compounding frequency double ratePerPeriod = ratePerYear / (100.0 * timesPerYear); // Total number of compounding periods double totalPeriods = timeInYears * timesPerYear; double totalAmount = principal * Math.pow(1 + ratePerPeriod, totalPeriods); return totalAmount - principal; } public static void main(String[] args) { // Scenario: Priya invests ₹10,000 at 10% for 2 years double principal = 10000; double rate = 10; // 10% per annum double time = 2; // 2 years double ciAnnual = calculateCI(principal, rate, time, 1); // Yearly double ciHalfYearly = calculateCI(principal, rate, time, 2); // Every 6 months double ciQuarterly = calculateCI(principal, rate, time, 4); // Every 3 months // Simple Interest on same values for comparison double si = (principal * rate * time) / 100; System.out.println("====== Priya's Investment: ₹10,000 @ 10% for 2 Years ======"); System.out.printf("Simple Interest (baseline) : ₹%.2f%n", si); System.out.printf("Compound Interest (Yearly) : ₹%.2f%n", ciAnnual); System.out.printf("Compound Interest (Half-yearly): ₹%.2f%n", ciHalfYearly); System.out.printf("Compound Interest (Quarterly) : ₹%.2f%n", ciQuarterly); System.out.println(); System.out.println("====== Year-by-Year Breakdown (Annual CI) ======"); double runningBalance = principal; for (int year = 1; year <= (int) time; year++) { double interestThisYear = runningBalance * (rate / 100); runningBalance += interestThisYear; // Shows how the interest GROWS each year because the base grows System.out.printf("Year %d → Interest: ₹%.2f | Balance: ₹%.2f%n", year, interestThisYear, runningBalance); } } }
Simple Interest (baseline) : ₹2000.00
Compound Interest (Yearly) : ₹2100.00
Compound Interest (Half-yearly): ₹2102.50
Compound Interest (Quarterly) : ₹2103.81
====== Year-by-Year Breakdown (Annual CI) ======
Year 1 → Interest: ₹1000.00 | Balance: ₹11000.00
Year 2 → Interest: ₹1100.00 | Balance: ₹12100.00
Solved Aptitude Problems — The Exam Pattern You'll Actually See
Let's walk through the four most common question types in aptitude exams, step by step. Understanding the pattern is more valuable than memorising answers.
Type 1 — Find SI or CI directly: Given P, R, T — straight formula application.
Type 2 — Find the Principal: SI and other values are given. Rearrange SI = (P×R×T)/100 to get P = (SI×100)/(R×T).
Type 3 — Find Rate or Time: Same rearrangement idea. R = (SI×100)/(P×T) and T = (SI×100)/(P×R).
Type 4 — Compare SI and CI: Usually a 2-year or 3-year problem asking for the difference. The shortcut formulas below are your secret weapon.
Key shortcuts to memorise: • For 2 years: CI − SI = P(R/100)² • For 3 years: CI − SI = P(R/100)²(R/100 + 3)
Also memorise: If a sum doubles at SI in N years, the rate is 100/N percent. If it doubles at CI, use the Rule of 72: N ≈ 72/R.
The code below solves all four types programmatically so you can see the logic clearly before you do it mentally.
public class AptitudePatternSolver { public static void main(String[] args) { // =================================================== // TYPE 1: Find SI directly // Q: Find SI on ₹8,000 at 5% per annum for 4 years. // =================================================== double principal1 = 8000; double rate1 = 5; double time1 = 4; double si1 = (principal1 * rate1 * time1) / 100; System.out.println("TYPE 1 — Direct SI:"); System.out.printf("SI on ₹%.0f at %.0f%% for %.0f years = ₹%.2f%n%n", principal1, rate1, time1, si1); // =================================================== // TYPE 2: Find Principal when SI is known // Q: SI is ₹900, Rate = 6%, Time = 5 years. Find P. // Rearranged formula: P = (SI × 100) / (R × T) // =================================================== double knownSI2 = 900; double rate2 = 6; double time2 = 5; double principal2 = (knownSI2 * 100) / (rate2 * time2); System.out.println("TYPE 2 — Find Principal:"); System.out.printf("P = (%.0f × 100) / (%.0f × %.0f) = ₹%.2f%n%n", knownSI2, rate2, time2, principal2); // =================================================== // TYPE 3: Find Rate when SI and others are known // Q: P = ₹3,000, SI = ₹450, T = 3 years. Find Rate. // Rearranged formula: R = (SI × 100) / (P × T) // =================================================== double principal3 = 3000; double knownSI3 = 450; double time3 = 3; double rate3 = (knownSI3 * 100) / (principal3 * time3); System.out.println("TYPE 3 — Find Rate:"); System.out.printf("R = (%.0f × 100) / (%.0f × %.0f) = %.2f%%%n%n", knownSI3, principal3, time3, rate3); // =================================================== // TYPE 4: CI vs SI difference shortcut // Q: P = ₹20,000, R = 5%, T = 2 years. Find CI - SI. // Shortcut: CI - SI = P × (R/100)² // =================================================== double principal4 = 20000; double rate4 = 5; // Shortcut formula — no need to compute full CI and SI separately double ciMinusSi = principal4 * Math.pow(rate4 / 100.0, 2); // Let's verify the shortcut by calculating CI and SI the long way double si4 = (principal4 * rate4 * 2) / 100; double ci4 = principal4 * Math.pow(1 + rate4 / 100.0, 2) - principal4; System.out.println("TYPE 4 — CI vs SI Difference (2-year shortcut):"); System.out.printf("SI (long way) = ₹%.2f%n", si4); System.out.printf("CI (long way) = ₹%.2f%n", ci4); System.out.printf("CI - SI (long way) = ₹%.2f%n", ci4 - si4); System.out.printf("CI - SI (shortcut P×(R/100)²) = ₹%.2f%n", ciMinusSi); System.out.println("Shortcut matches long way: " + (Math.abs((ci4 - si4) - ciMinusSi) < 0.001)); // =================================================== // BONUS: Rule of 72 — how many years to double money at CI? // Q: At 9% compound interest, when does ₹5,000 become ₹10,000? // =================================================== double rateForDoubling = 9; double ruleOf72Years = 72.0 / rateForDoubling; // Approximation System.out.println(); System.out.println("BONUS — Rule of 72:"); System.out.printf("At %.0f%% CI, money doubles in approx %.1f years%n", rateForDoubling, ruleOf72Years); } }
SI on ₹8000 at 5% for 4 years = ₹1600.00
TYPE 2 — Find Principal:
P = (900 × 100) / (6 × 5) = ₹3000.00
TYPE 3 — Find Rate:
R = (450 × 100) / (3000 × 3) = 5.00%
TYPE 4 — CI vs SI Difference (2-year shortcut):
SI (long way) = ₹2000.00
CI (long way) = ₹2050.00
CI - SI (long way) = ₹50.00
CI - SI (shortcut P×(R/100)²) = ₹50.00
Shortcut matches long way: true
BONUS — Rule of 72:
At 9% CI, money doubles in approx 8.0 years
| Feature / Aspect | Simple Interest (SI) | Compound Interest (CI) |
|---|---|---|
| Core idea | Interest on original Principal only | Interest on Principal + accumulated interest |
| Formula | SI = (P × R × T) / 100 | A = P × (1 + R/100)^T; CI = A − P |
| Growth pattern | Linear — grows by the same amount each year | Exponential — grows faster each year |
| Who benefits more | Borrower pays less interest overall | Investor/lender earns more over time |
| Common use cases | Short-term loans, vehicle loans, personal loans | Savings accounts, FDs, home loans, investments |
| Effect of time | Doubling time → doubles the interest | Doubling time → more than doubles interest |
| Exam frequency | Very common in all aptitude exams | Very common; slightly trickier questions |
| 2-year CI vs SI gap | No concept of gap | CI − SI = P × (R/100)² |
| Compounding frequency | Not applicable | Yearly, half-yearly, quarterly, monthly |
| Intuition check | Consistent — same interest every period | Accelerating — each period is slightly bigger |
🎯 Key Takeaways
- Simple Interest is always linear — the exact same rupee amount of interest is added each year, calculated only on the original Principal. Formula: SI = (P × R × T) / 100.
- Compound Interest is exponential — each year's interest is calculated on a growing balance, so the absolute interest amount increases every single year. Formula: CI = P(1 + R/100)^T − P.
- For 2-year problems, use the shortcut CI − SI = P(R/100)² to find the difference in under five seconds — this appears in nearly every aptitude exam and is worth memorising cold.
- Compounding frequency is a multiplier on growth — the same annual rate compounds to more total interest when applied half-yearly than yearly. Adjust by dividing R and multiplying T by the number of periods per year.
⚠ Common Mistakes to Avoid
- ✕Mistake 1: Using time in months without converting to years — If a problem says 'for 6 months' and you plug T=6 into the SI formula, your answer will be 6× too large. Fix: Always convert time to years before using the formula. 6 months = 0.5 years, 9 months = 0.75 years. The formula expects years because the Rate is per annum.
- ✕Mistake 2: Confusing 'Total Amount' with 'Interest' — Many beginners calculate A = P(1+R/100)^T and report that as the CI. That's the total amount, not the interest. The interest is CI = A − P. In exams, questions alternate between asking for 'the interest earned' and 'the total amount' — read the question twice before answering.
- ✕Mistake 3: Applying the annual CI formula directly when compounding is half-yearly or quarterly — The formula A = P(1+R/100)^T only works for annual compounding. For half-yearly, use A = P(1+R/200)^(2T); for quarterly, use A = P(1+R/400)^(4T). The rule is: divide the rate by the number of compounding periods per year, and multiply T by that same number.
Interview Questions on This Topic
- QA sum of money at Simple Interest amounts to ₹9,800 in 5 years and ₹11,200 in 7 years. What is the Principal and the Rate of Interest? (Hint: The difference over 2 years gives SI per year, which then gives you R and P.)
- QThe difference between Compound Interest and Simple Interest on a certain sum at 10% per annum for 2 years is ₹631. Find the Principal. (Tests whether you know the shortcut CI − SI = P(R/100)² and can rearrange it to P = (CI−SI) / (R/100)²)
- QIf a bank offers 8% per annum compounded quarterly, and another bank offers 8.16% per annum with Simple Interest, which is better for a 1-year investment? (This catches people who assume higher stated rate always wins — the quarterly compounding bank offers an effective annual rate of about 8.24%, making it the better choice.)
Frequently Asked Questions
What is the difference between simple interest and compound interest in simple terms?
Simple Interest is always calculated on the original amount you borrowed or invested, so the interest is the same every year. Compound Interest is calculated on the original amount plus all the interest you've already accumulated, so it grows bigger each year. Think of SI as a flat rental fee and CI as a snowball rolling downhill.
When is compound interest compounded half-yearly instead of annually?
Banks and financial products specify this in their terms. When compounding is half-yearly, interest is calculated and added to the Principal every 6 months instead of every 12 months. To use the formula correctly, you halve the annual rate (R/2) and double the number of periods (2T). This gives slightly more total interest than annual compounding at the same stated rate.
Why is the compound interest always greater than or equal to simple interest for the same P, R, and T?
Because after the first compounding period, CI starts charging interest on interest — the base keeps growing. SI is capped at always using the original Principal as the base. For exactly 1 year with annual compounding, SI and CI are identical. For any period longer than that, CI will always be strictly greater than SI, and the gap widens as time increases.
Written and reviewed by senior developers with real-world experience across enterprise, startup and open-source projects. Every article on TheCodeForge is written to be clear, accurate and genuinely useful — not just SEO filler.