Percentages show up in tax, tips, discounts, exam scores, growth rates, statistics — and yet most adults still hesitate when asked to compute one in their head. The math is simpler than it feels. This guide covers the four percentage calculations you actually need, with the formulas, mental-math tricks, and the gotchas that catch people out.
What "Percent" Actually Means
"Percent" comes from the Latin per centum — "per hundred." A percentage is just a fraction with 100 implied as the denominator:
25% = 25/100 = 0.25
Every percentage problem reduces to a multiplication. The rest is figuring out which numbers to multiply.
The Four Percentage Problems
You'll meet exactly four shapes of percentage question. Once you can recognize the shape, the math is mechanical.
1. What is X% of Y?
The simplest form — find a part of a whole.
Formula: (X / 100) × Y
Example: What is 18% of $42?
(18 / 100) × 42 = 0.18 × 42 = $7.56
This is your tip-on-a-restaurant-bill calculation.
2. X is what percent of Y?
Express one number as a percentage of another.
Formula: (X / Y) × 100
Example: I scored 38 out of 50 on a test. What percent is that?
(38 / 50) × 100 = 76%
This is your exam-score calculation.
3. X is Y% of what number?
Reverse-engineer the whole when you know a part and its percentage.
Formula: X / (Y / 100) or equivalently X × (100 / Y)
Example: $30 is 15% of what total?
30 / 0.15 = $200
This is your "how much did this cost before the discount?" calculation.
4. Percent change between two numbers
The change from old to new, as a percentage of the old.
Formula: ((New − Old) / Old) × 100
Example: Stock went from $80 to $92. What's the percent change?
((92 − 80) / 80) × 100 = (12 / 80) × 100 = 15% increase
A negative result means a decrease.
How to Use a Percentage Calculator Online
Use DevZone's Percentage Calculator to compute any of the four shapes without doing the math by hand:
- Pick the question type (X% of Y, X is what % of Y, X is Y% of what, % change).
- Enter the two numbers you know.
- The calculator returns the answer instantly.
Useful when you want to verify a tip, check a discount, or compute a percent change without opening a calculator app.
Mental Math Tricks
Most "what's 18% of 75?" questions don't need a calculator if you know two tricks.
Trick 1: 10% is moving the decimal point.
- 10% of 240 = 24 (move the decimal one place left)
- 10% of $58.50 = $5.85
- 10% of 9 = 0.9
Trick 2: 1% is moving two places.
- 1% of 240 = 2.4
- 1% of $58.50 = $0.585
Combine them to get any percentage:
- 20% of 240 = 10% × 2 = 24 × 2 = 48
- 15% of 240 = 10% + 5% = 24 + 12 = 36
- 18% of 75 = (10% × 75) + (8% of 75) = 7.5 + 6 = 13.50
Trick 3: a% of b = b% of a. This commutative property is sometimes the easier path:
- 18% of 50 is awkward. But 50% of 18 is just 9. Same answer.
- 4% of 75 is awkward. But 75% of 4 is 3. Same answer.
When the numbers swap to something easier, swap them.
The "Percentage of a Percentage" Trap
This catches almost everyone:
"Sales tax is 8%. The store gives me a 20% discount. Is the order of operations: discount first, then tax? Or tax first, then discount?"
In most jurisdictions, the answer is discount first, then tax — sales tax applies to the price you actually pay, not the original price. But mathematically:
- 100 × 0.80 × 1.08 = 86.40 (discount, then tax)
- 100 × 1.08 × 0.80 = 86.40 (tax, then discount)
They're identical because multiplication is commutative.
Where the trap appears: sequential percent changes don't add.
"A stock fell 20%, then rose 20%. Where's it now?"
Wrong intuition: it's back to where it started. Right answer: it's at 96 (started at 100, fell to 80, then 80 × 1.20 = 96).
A 20% gain after a 20% loss leaves you down 4%. The same applies to back-and-forth budget cuts, exam grade adjustments, and growth rates.
Percentage Points vs Percent Change
This catches journalists more often than anyone:
"Interest rates rose from 4% to 5%."
That's a 1 percentage point increase, but a 25% increase in the rate (because (5−4)/4 × 100 = 25%).
When you read "unemployment rose 0.5%", it could mean either — and it matters enormously. From 5% to 5.025% is a 0.5% rate increase. From 5% to 5.5% is a 0.5 percentage point increase. Always note which.
Tax-Inclusive vs Tax-Exclusive
Another classic gotcha: "remove" vs "add" tax.
Adding 10% tax to $100:
100 × 1.10 = $110
Removing 10% tax from $110 to find the pre-tax price:
110 / 1.10 = $100 ✓ correct
110 × 0.90 = $99 ✗ wrong by $1
Subtracting 10% is not the inverse of adding 10%, because the percentage is computed off different bases. Always divide to reverse, never subtract.
FAQ
How do I calculate a tip mentally?
For a 20% tip: take 10% (move the decimal one left) and double it. For 15%: take 10%, take half of that (which is 5%), and add them. For 18%: take 20% and subtract 2% (which is 1% × 2). With a few repetitions, this is faster than reaching for a phone.
How do I calculate a discount?
Two equivalent ways:
- Find the discount amount (price × discount%) and subtract: $50 × 0.30 = $15 off, $50 − $15 = $35.
- Find the price-you-pay percentage (1 − discount%) and multiply: $50 × 0.70 = $35.
Method 2 is fewer steps and less error-prone for mental math.
What's the difference between markup and margin?
Markup: percentage on top of cost. Margin: percentage of selling price.
If cost is $80 and price is $100:
- Markup = (100 − 80) / 80 = 25%
- Margin = (100 − 80) / 100 = 20%
A "50% markup" leaves a 33% margin. A "50% margin" comes from a 100% markup. Confusing the two costs businesses real money on pricing decisions.
How do I calculate compound growth?
Final = Initial × (1 + rate)^periods
Example: $1,000 invested at 7% annual growth for 10 years:
1000 × 1.07^10 = $1,967
Compound growth is what makes long-term investing work — and what makes interest on credit card debt brutal. The formula is the same; only the rate's sign differs.
Why do percentages over 100% feel weird?
They shouldn't — they're just multipliers above 1. "Sales grew 250%" means new sales are 3.5× old (1 + 2.5). "I'm 200% sure" is mathematically 3× sure (1 + 2). The phrase is colloquial, but the math is consistent.