Last updated: Feb 21, 2026
Percentage Calculator
What Is a Percentage?
A percentage is a number or ratio expressed as a fraction of 100. It is denoted using the percent symbol (%). A percentage is one of four ways to represent a dimensionless relationship between two numbers — the others being ratios, fractions, and decimals. Percentages can also be written as ‘percent’ or ‘pct’ after the number.
For example, 35% is equivalent to the decimal 0.35, the fraction 7/20, or the ratio 35:100. If there are 100 cars in a garage and 25 of them are white, then 25% of the cars are white. Percentages appear everywhere — in shopping discounts, exam scores, interest rates, tip calculations, nutrition labels, business reports, and economic indicators. Understanding them is a foundational financial an analytical skill.
Why Percentages Matter
Percentages allow comparison of ratios when two data sets are different sizes. A school with 12 students scoring above 90 sounds different from one with 560 students scoring above 90 — but knowing these represent 60% and 7% respectively tells a much clearer story. Percentages convert raw numbers into a universal, scale-independent language used across personal finance, business management, scientific research, and data analysis.
How Percentages Are Calculated — The Core Formula
Percentage (P%) = (Part ÷ Whole) × 100
Divide the part by the whole, then multiply by 100 to get the percentage.
Example: If 25 out of 50 students in a classroom are female, then 25 ÷ 50 = 0.5, and 0.5 × 100 = 50%. So 50% of the students are female.
The Percentage Formula Explained
The universal percentage formula is an algebraic equation involving three values:
P × V1 = V2
Where P is the percentage (in decimal form), V1 is the first value (the whole or original number), and V2 is the result. When solving for P, multiply the decimal result by 100 to convert back to a percentage.
✦ Worked Example:
Problem: P × 30 = 1.5. Solve for P.
Step 1: P = 1.5 ÷ 30 = 0.05
Step 2: 0.05 × 100 = 5%
Answer: 5% of 30 is 1.5.
The 3 Core Percentage Calculations
Every percentage problem falls into one of three categories. Identifying which type you are dealing with determines the formula you use.
Type 1 — Calculate the Percentage of a Whole
P% = (X ÷ Y) × 100
Use this when you know the part (X) and the whole (Y), and need to find what percentage X represents.
✦ Example — Nutrition Label:
A food label shows one serving has 12 mg of a nutrient. The recommended daily allowance (RDA) is 60 mg.
Formula: (12 ÷ 60) × 100 = 20%
Answer: One serving provides 20% of the daily RDA.
Type 2 — Calculate a Percentage of a Number
Y = P% × X
Use this when you know the percentage (P%) and the whole (X), and need to find the resulting value
(Y). Always convert P% to a decimal first by dividing by 100.
✦ Example — Shopping Discount:
A jacket costs $150 and is 10% off.
Formula: 10% × 150 ® Convert: 10 ÷ 100 = 0.10
0.10 × 150 = $15
Answer: The discount is $15. The sale price is $135.
Type 3 — Find the Whole When a Part and Percentage Are Known
X = Y ÷ P%
Use this when you know the part (Y) and the percentage (P%), and need to find the original whole (X). Convert P% to a decimal before dividing.
✦ Example — Reverse Calculation:
A football player’s bench press is 65 lbs below his regular, representing 26% of his max. Formula: X = 65 ÷ 26% ® Convert: 26 ÷ 100 = 0.26
65 ÷ 0.26 = 250 lbs
Answer: His regular bench press is 250 lbs.
Six Common Percentage Problem Types
Percentage problems are worded in many ways. The following table maps everyday phrasing to the correct formula so you can identify which calculation to apply instantly.
| Problem Phrasing | Formula |
| What is P% of X? | Y = P% × X |
| Y is what percent of X? | P% = (Y ÷ X) × 100 |
| Y is P% of what? | X = Y ÷ P% |
| What percent of X is Y? | P% = (Y ÷ X) × 100 |
| P% of what is Y? | X = Y ÷ P% |
| What is the result of X after P%? | Y = X × (1 ± P%) |
Worked Example — What is 15% of $45?
Formula: Y = 15% × 45 ® 0.15 × 45 = $6.75
Worked Example — What percent of 40 eggs are 12 brown eggs?
Formula: P% = (12 ÷ 40) × 100 = 0.30 × 100 = 30%
Worked Example — 9 is 60% of what total?
Formula: X = 9 ÷ 0.60 = 15 total cupcakes
Worked Example — 6 of 27 pine trees produce pinecones. What %?
Formula: P% = (6 ÷ 27) × 100 = 0.2222 × 100 = 22.22%
The Commutative Property of Percentages
Here is a powerful mathematical fact that almost nobody learns in school:
- X% of Y = Y% of X
The commutative property of percentages means you can flip the numbers and get the same result. For example, 8% of 25 is the same as 25% of 8. Both equal exactly 2. This trick makes mental math dramatically faster — because 25% of 8 (which is just 8 ÷ 4 = 2) is much easier to calculate in your head than 8% of 25.
Why does this work? Because X% of Y = (X/100) × Y, and Y% of X = (Y/100) × X. Since multiplication is commutative, (X × Y)/100 = (Y × X)/100. The result is always identical.
✦ Practical Mental Math Applications:
6% of 50 ® flip it ® 50% of 6 = 3 ✓
4% of 75 ® flip it ® 75% of 4 = 3 ✓
12% of 50 ® flip it ® 50% of 12 = 6 ✓
Tip: Always flip to whichever version is easier to compute mentally!
Advanced Percentage Applications
Beyond the three core formulas, percentages power some of the most important calculations in finance, investment analysis, and business performance tracking.
Compound Annual Growth Rate (CAGR)
CAGR measures how much an investment or business metric grows on average per year over a multi-year period, assuming it grows at a steady rate. It smooths out the volatility of year-to-year changes and gives a single ‘representative’ annual growth percentage.
CAGR = ((Ending Value ÷ Beginning Value) ^ (1 ÷ Years)) – 1
Multiply the result by 100 to express as a percentage.
✦ Example — Investment Growth:
A $10,000 investment grows to $18,000 over 5 years. CAGR = (18,000 ÷ 10,000) ^ (1/5) – 1
= (1.8) ^ 0.2 – 1
= 1.1247 – 1 = 0.1247
CAGR = 12.47% per year
This means the investment grew at an average annual rate of 12.47%.
Compound Percentages — The Surprising Truth
One of the most important concepts in finance — and one of the most misunderstood — is how compound percentage changes interact. Most people assume a 20% increase followed by a 20% decrease returns to the original value. It does not.
A 20% Increase Followed by a 20% Decrease ¹ Zero Change
Start with $100. A 20% increase gives $120. A 20% decrease of $120 gives $96 — not $100. You are down 4%. This is because the 20% decrease applies to a larger base ($120) than the original ($100). This asymmetry has major implications for investment portfolios, retail pricing strategies, and salary negotiations.
Compounded Result = Start × (1 + P1%) × (1 + P2%) × … × (1 + Pn%)
✦ Practical Stacking Examples:
Starting value: $100
+20% then -20%: $100 × 1.20 × 0.80 = $96 (net: -4%)
+50% then -50%: $100 × 1.50 × 0.50 = $75 (net: -25%)
+10% then +10%: $100 × 1.10 × 1.10 = $121 (net: +21%, not +20%)
Key insight: Losses are always harder to recover from than symmetry suggests.
Stacked Discounts — Why 50% + 20% Off ¹ 70% Off
When retailers offer stacked discounts (e.g., 50% off, then an extra 20% off the sale price), the combined discount is NOT simply the sum of the two percentages.
Example — Black Friday Stacked Discount:
Original price: $200
Step 1: Apply 50% discount ® $200 × 0.50 = $100
Step 2: Apply additional 20% off the new price ® $100 × 0.80 = $80 Final price: $80 (a 60% total discount, not 70%)
Formula: Combined discount = 1 – (1 – 0.50) × (1 – 0.20) = 1 – 0.40 = 60%
Margin vs. Markup — Business Percentages Explained
Profit Margin and Markup are both expressed as percentages, but they measure completely different things. Confusing them is one of the most expensive mistakes in retail and business pricing. Understanding the difference is essential for anyone setting prices, calculating profitability, or reviewing financial statements.
Gross Profit Margin
Profit margin expresses profit as a percentage of Revenue (the selling price). It answers: ‘Of every dollar I bring in, how many cents are profit?’
Gross Profit Margin = ((Revenue – COGS) ÷ Revenue) × 100
COGS = Cost of Goods Sold
✦ Example:
You sell a product for $80. It cost you $50 to produce (COGS = $50). Profit = $80 – $50 = $30
Gross Profit Margin = ($30 ÷ $80) × 100 = 37.5%
This means 37.5 cents of every dollar in revenue is gross profit.
Markup Percentage
Markup expresses how much you add to cost as a percentage of Cost. It answers: ‘By what percentage above my cost am I pricing this item?’
Markup % = ((Selling Price – Cost) ÷ Cost) × 100
✦ Same Example:
Cost = $50, Selling Price = $80
Markup = (($80 – $50) ÷ $50) × 100 = ($30 ÷ $50) × 100 = 60%
A 60% markup results in only a 37.5% margin — NOT 60%.
The Key Insight: A 50% Markup ¹ 50% Profit Margin
A 50% markup on a $60 item gives a selling price of $90. The profit margin is ($30 ÷ $90) × 100 = 33.3% — not 50%. Markup is always a larger number than margin for the same transaction. Knowing the difference prevents serious pricing errors.
Margin vs. Markup: Quick Reference
| Attribute | Margin | Markup |
| What it measures | Profit as % of Revenue | Profit as % of Cost |
| Formula | (Revenue – Cost) ÷ Revenue | (Revenue – Cost) ÷ Cost |
| Example ($50 cost, $80 sale) |
37.5% |
60% |
| Value range | Always less than 100% | Can exceed 100% |
| Best used for | P&L statements, benchmarking | Pricing products |
Reverse Tax Calculation — Finding the Pre-Tax Price
When a price is shown inclusive of sales tax, use the following formula to reverse-engineer the original pre-tax price:
Pre-Tax Price = Total Price ÷ (1 + Tax Rate)
Example:
You paid $107.50 for an item. Sales tax is 7.5%.
Pre-tax price = $107.50 ÷ (1 + 0.075) = $107.50 ÷ 1.075 = $100.00
Weighted Percentages for Academic Grades
In education, weighted percentages are used to calculate final grades where different assessments contribute different proportions to the final score. Simply averaging all scores without accounting for their weights gives an incorrect result.
Weighted Average = S (Score × Weight) ÷ S Weights
Example — Calculating a Final Course Grade:
Homework: 85% score, weight = 20% ® 0.85 × 0.20 = 0.170
Midterm: 72% score, weight = 30% ® 0.72 × 0.30 = 0.216
Final: 90% score, weight = 50% ® 0.90 × 0.50 = 0.450
Weighted total: 0.170 + 0.216 + 0.450 = 0.836
Final Grade = 0.836 × 100 = 83.6%
Note: A simple average (85 + 72 + 90) ÷ 3 = 82.3% — different from the weighted result!
Why Weights Must Sum to 100%
In a properly designed course structure, the weights assigned to all components must total exactly 100% (or 1.0 in decimal form). If they do not, use the normalized formula: divide the weighted sum by the sum of all weights. This ensures the final grade reflects the intended proportional contribution of each assessment.
Percentage vs. Percentage Point — A Critical Difference
This is one of the most misunderstood distinctions in quantitative communication — and getting it wrong can lead to wildly misleading conclusions in financial reports, political analysis, and scientific research.
The Core Distinction
A PERCENTAGE POINT is an absolute arithmetic difference between two percentages. A PERCENTAGE CHANGE is a relative change — how much one percentage changed compared to where it started. These two measures can differ dramatically in magnitude.
Illustrative Example — Interest Rates
Scenario:
A central bank raises its interest rate from 2% to 5%.
Percentage Point difference: 5% – 2% = 3 percentage points (absolute change). Percentage change: ((5 – 2) ÷ 2) × 100 = (3 ÷ 2) × 100 = 150% increase.
Both statements are true — but they sound completely different.
Saying the rate ‘rose 150%’ is technically accurate but highly misleading in context. Saying the rate ‘rose 3 percentage points’ is the clearest and most precise expression.
Why This Matters in Practice
| Context | Clearer Expression | Why |
| Interest rate 2% ® 5% | Rose 3 percentage points | Absolute change is intuitive |
|
Voter support 40% ® 44% |
Up 4 percentage points |
Avoids misleading ‘10% increase’ |
| Unemployment 6% ® 4% | Down 2 percentage points | Standard economic reporting |
| Test scores 50% ® 75% | Rose 50% (relative change) | Relative improvement is meaningful |
Basis Points (BPS) — The Finance Professional’s Unit
In finance and economics, very small percentage differences are expressed in basis points, where 1 basis point (bps) = 0.01 percentage point = 0.0001. So a rate change from 4.50% to 4.75% is a change of 25 basis points — a far more precise and unambiguous expression used in bond markets, central banking, and mortgage rate reporting.
Top 3 Percentage Mistakes People Make
Even mathematically confident people make these errors regularly. Understanding them helps avoid costly miscalculations in business, personal finance, and everyday decision-making.
Mistake #1: Confusing Percentage Change with Percentage Points
The Problem: When a variable moves from 10% to 15%, many people say it ‘increased by 5%.’ But 5% is the percentage point increase. The actual percentage change is ((15 – 10) ÷ 10) × 100 = 50%. These are very different statements.
The Fix: Use ‘percentage points’ when expressing the absolute difference between two percentages. Use ‘percent’ when expressing the relative change of any quantity
Mistake #2: Assuming +20% Then –20% Returns to the Start
The Problem: If a stock rises 20% and then falls 20%, intuition says it breaks even. It does not. $100
× 1.20 = $120. $120 × 0.80 = $96. You are down 4%. This asymmetry exists because the percentage always applies to the current value, not the original.
The Fix: Use the compound percentage formula: Final = Start × (1 + P1) × (1 + P2). For equal and opposite changes, the result is always Start × (1 – P²). With 20%: $100 × (1 – 0.04) = $96.
Mistake #3: Adding Stacked Discounts Directly (50% + 20% ¹ 70%)
The Problem: When two discounts are applied sequentially, you cannot simply add them. A 50% off sale with an extra 20% coupon is NOT 70% off. The second discount applies to the already-reduced price, resulting in a smaller combined saving.
The Fix: Combined discount = 1 – (1 – D1) × (1 – D2). For 50% and 20%: 1 – (0.5 × 0.8) = 1 – 0.40 = 60% total discount. Always apply discounts multiplicatively, not additively.
Showing Trends: Percentage Change and Percentage Difference
Percentage Change Calculator
Percentage change measures how much a value has increased or decreased relative to its original starting value. Use this when you have a clear ‘before’ value and an ‘after’ value — such as tracking stock prices, revenue growth, weight loss, or temperature changes.
Percentage Change = ((V2 – V1) ÷ |V1|) × 100
V1 = original value, V2 = new value. Positive result = increase. Negative = decrease.
Examples:
Sales grew from $500,000 to $620,000:
Change = ((620,000 – 500,000) ÷ 500,000) × 100 = +24%
A stock fell from $80 to $60:
Change = ((60 – 80) ÷ 80) × 100 = -25%
Special case — 500 increased by 10%: 500 × (1 + 0.10) = 550
Special case — 500 decreased by 10%: 500 × (1 – 0.10) = 450
Percentage Difference Calculator
Percentage difference measures the difference between two values when neither is the ‘starting point.’ It compares both values symmetrically by using their average as the base. Use this when comparing two independent values such as two prices, two test scores, or two population figures.
Percentage Difference = |V1 – V2| ÷ ((V1 + V2) ÷ 2) × 100
Example:
Comparing prices of $10 and $6:
|10 – 6| ÷ ((10 + 6) ÷ 2) = 4 ÷ 8 = 0.50 × 100 = 50%
The percentage difference between $10 and $6 is 50%.
When to Use Which
Use Percentage CHANGE when one value is a starting point and the other is an outcome (e.g., before/after comparisons). Use Percentage DIFFERENCE when both values are independent and neither is the reference point (e.g., price comparisons, survey results from two groups).
Percentage Error — A Statistical Essential
Percentage error (also called percent error) measures how far off a measured or estimated value is from the true or accepted value. It is fundamental in science, engineering, quality control, and financial forecasting.
Percentage Error = |Measured – Actual| ÷ |Actual| × 100
Example — Scientific Measurement:
A student measures the boiling point of water as 99.2°C. The actual value is 100°C. Percentage Error = |99.2 – 100| ÷ |100| × 100
= 0.8 ÷ 100 × 100 = 0.8%
The measurement has a 0.8% error — quite precise!
Percentage Error vs. Percentage Change — The Key Distinction
| Percentage Error | Percentage Change |
| Measures accuracy of a measurement vs. true value |
Measures growth or decline over time |
| Always uses the actual/true value as denominator |
Uses the original value as denominator |
| Result is always expressed as positive (absolute) |
Result can be positive or negative |
| Used in: science, engineering, forecasting |
Used in: finance, sales, demographics |
Percentages Over 100% and Negative Percentages
Percentages are not limited to the range 0–100%. A 250% growth rate simply means the new value is
2.5 times the original. A -30% change means a 30% decline. In investment contexts, it is also possible to express returns below -100% in leveraged or short positions where losses exceed the initial investment.
How to Convert Between Percentage, Decimal, and Fraction
Percentages, decimals, and fractions are four interchangeable ways to represent the same ratio. Being able to convert fluidly between them is a foundational mathematical skill.
| Conversion | Method | Example |
| Decimal to Percent | Multiply by 100, add % symbol | 0.44 ® 0.44 × 100 = 44% |
| Percent to Decimal | Remove %, divide by 100 | 15.6% ® 15.6 ÷ 100 = 0.156 |
|
Fraction to Percent | Divide numerator by denominator, multiply by 100 |
4/5 ® 0.80 × 100 = 80% |
| Percent to Fraction | Divide by 100, simplify | 30% ® 30/100 = 3/10 |
Percentage Variations
Percentages can be expressed in four interchangeable forms: the percent symbol (%), the word ‘percent,’ the abbreviation ‘pct,’ and as a decimal. For example, 35%, 35 percent, 35 pct, and 0.35 all represent the same value. In scientific and engineering notation, percentages expressed as decimals (e.g., 0.035 for 3.5%) are used directly in formulas without conversion.
Percentage Formula Cheat Sheet
Use the following quick reference to identify the correct formula for any percentage problem. Match your question to the formula, substitute your known values, and solve.
| Problem Type | Formula |
| What is P% of X? | Y = (P ÷ 100) × X |
| X is what % of Y? | P% = (X ÷ Y) × 100 |
| X is P% of what? | Total = X ÷ (P ÷ 100) |
| % increase from X to Y | ((Y – X) ÷ X) × 100 |
| % decrease from X to Y | ((X – Y) ÷ X) × 100 |
| % difference between X and Y | |X–Y| ÷ ((X+Y)÷2) × 100 |
| CAGR over N years | ((End ÷ Start)^(1÷N) – 1) × 100 |
| Gross Profit Margin | ((Revenue – COGS) ÷ Revenue) × 100 |
| Markup % | ((Price – Cost) ÷ Cost) × 100 |
| Pre-tax price from total | Pre-tax = Total ÷ (1 + Tax Rate) |
| Weighted average | S(Score × Weight) ÷ S(Weights) |
|
Percentage error | |Measured – Actual| ÷ |Actual| × 100 |
| Stacked discount (D1 and D2) | Combined = 1 – (1–D1) × (1–D2) |
| Compound change (P1 then P2) | Result = Start × (1+P1) × (1+P2) |
Frequently Asked Questions
What is a percentage?
A percentage (%) is a number expressed as a fraction of 100. It represents a portion of a whole or the ratio between two numbers. For example, if there are 50 apples and 20 are red, (20 ÷ 50) × 100 = 40% are red.
How do I calculate a percentage?
Divide the part (X) by the whole (Y), then multiply by 100: (X ÷ Y) × 100 = P%. For example, to find what percentage 18 is of 72: (18 ÷ 72) × 100 = 25%.
What is the difference between percentage difference and percentage change?
Percentage difference compares two independent values using their average as the base. Percentage change compares a new value to a defined original starting value. Use difference for side-by-side comparisons; use change for before/after tracking.
Is 8% of 25 the same as 25% of 8?
Yes. This is the commutative property of percentages: X% of Y always equals Y% of X. Both equal 2. Use this trick to simplify mental math — pick whichever version is easier to compute.
Why doesn’t +20% then -20% equal zero net change?
Because percentages apply to the current value, not the original. After a 20% increase, the base is larger, so the subsequent 20% decrease removes more in absolute terms. The net result is always a small loss: (1+P) × (1-P) = 1 – P².
What is a percentage point?
A percentage point is the absolute arithmetic difference between two percentages. If interest rates rise from 3% to 5%, that is a 2 percentage point increase — but a 66.7% relative increase. Always clarify which you mean.
What is CAGR?
Compound Annual Growth Rate (CAGR) is the average annual growth rate of an investment or metric over a period, assuming it grows at a steady rate. Formula: CAGR = ((End ÷ Start)^(1/Years) – 1) × 100.
What is the difference between margin and markup?
Margin expresses profit as a percentage of revenue (selling price). Markup expresses profit as a percentage of cost. A 60% markup results in a 37.5% margin — they are not the same number.
What is percentage error?
Percentage error measures the accuracy of a measurement compared to a known true value:|Measured – Actual| ÷ |Actual| × 100. It is always expressed as a positive number and is used in science, engineering, and quality control.
How do I convert a decimal to a percent?
Multiply the decimal by 100 and add the % symbol. Example: 0.75 × 100 = 75%.
How do I convert a percent to a fraction?
Remove the % sign, divide by 100, and simplify. Example: 25% = 25/100 = 1/4.
Can a percentage exceed 100%?
Yes. A percentage over 100% simply means the value is greater than the original reference. A 250% increase means the new value is 3.5 times the original. Negative percentages (e.g., -15%) represent decreases below zero or losses.
Basic Percentage Calculator
What is X% of Y? Find percentage, value, or whole number
Percentage Change Calculator
Increase, decrease, difference, and CAGR between two values
Discount, Markup & Profit Margin
Sale prices, markup calculations, gross/net margin analysis
Tip & Bill Split Calculator
Calculate tips, split bills, and determine per-person amounts
Tax & VAT Calculator
Add tax, remove tax, or find the tax amount from any price
Grade & Score Calculator
Weighted grade average, target grade, and GPA conversion
Advanced Percentage Analysis
Compound percentages, back-calculation, ratio analysis, and more
Scenario Comparison Tool
Compare different percentage scenarios side-by-side
Real-World Examples
Click to explore common percentage problems with full solutions
Formula Reference & Education
All percentage formulas, tricks, and common mistakes
