Home Interview Simple vs Compound Interest Explained — Formulas, Examples & Aptitude Tricks

Simple vs Compound Interest Explained — Formulas, Examples & Aptitude Tricks

In Plain English 🔥
Imagine you lend your friend ₹1,000 and he agrees to pay you back with a little extra each year as a 'thank you' fee — that extra is called interest. Simple Interest is like charging that same fixed fee every year on just the original amount. Compound Interest is like charging the fee on the original amount PLUS all the fees he already owed you — so the debt snowballs over time. Banks use Simple Interest for short-term loans and Compound Interest for savings accounts and long-term loans, which is exactly why your savings account grows faster than you expect.
⚡ Quick Answer
Imagine you lend your friend ₹1,000 and he agrees to pay you back with a little extra each year as a 'thank you' fee — that extra is called interest. Simple Interest is like charging that same fixed fee every year on just the original amount. Compound Interest is like charging the fee on the original amount PLUS all the fees he already owed you — so the debt snowballs over time. Banks use Simple Interest for short-term loans and Compound Interest for savings accounts and long-term loans, which is exactly why your savings account grows faster than you expect.

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.

SimpleInterestCalculator.java · INTERVIEW
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
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");
    }
}
▶ Output
===== Simple Interest Calculation =====
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
⚠️
Aptitude Speed Trick:In Simple Interest problems, the interest earned each year is always the same fixed amount. So if SI for 3 years is ₹1,200, the interest per year is ₹400. You can cross-check answers in seconds by just dividing SI by T and confirming it's consistent with (P × R) / 100.

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.

CompoundInterestCalculator.java · INTERVIEW
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
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);
        }
    }
}
▶ Output
====== Priya's Investment: ₹10,000 @ 10% for 2 Years ======
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
🔥
The CI - SI Shortcut for 2 Years:For exactly 2 years, CI − SI = P × (R/100)². This is a famous aptitude shortcut. If P = ₹10,000 and R = 10%, then CI − SI = 10000 × (0.1)² = ₹100. Verify: CI is ₹2,100 and SI is ₹2,000 — difference is exactly ₹100. Memorise this formula; it appears in exams constantly.

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.

AptitudePatternSolver.java · INTERVIEW
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
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);
    }
}
▶ Output
TYPE 1 — Direct SI:
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
⚠️
Watch Out: Half-Yearly Compounding TrapWhen a problem says '10% per annum compounded half-yearly,' DO NOT use R=10 and T=2 directly in the standard formula. You must halve the rate (R=5) and double the time periods (n=4 for 2 years). Forgetting this adjustment is one of the most common exam mistakes — it costs you the full mark even if your formula setup looks right.
Feature / AspectSimple Interest (SI)Compound Interest (CI)
Core ideaInterest on original Principal onlyInterest on Principal + accumulated interest
FormulaSI = (P × R × T) / 100A = P × (1 + R/100)^T; CI = A − P
Growth patternLinear — grows by the same amount each yearExponential — grows faster each year
Who benefits moreBorrower pays less interest overallInvestor/lender earns more over time
Common use casesShort-term loans, vehicle loans, personal loansSavings accounts, FDs, home loans, investments
Effect of timeDoubling time → doubles the interestDoubling time → more than doubles interest
Exam frequencyVery common in all aptitude examsVery common; slightly trickier questions
2-year CI vs SI gapNo concept of gapCI − SI = P × (R/100)²
Compounding frequencyNot applicableYearly, half-yearly, quarterly, monthly
Intuition checkConsistent — same interest every periodAccelerating — 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.

🔥
TheCodeForge Editorial Team Verified Author

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.

← PreviousPermutations and CombinationsNext →CI/CD Interview Questions
Forged with 🔥 at TheCodeForge.io — Where Developers Are Forged