How to Calculate Percentage: Formulas, Examples and Shortcuts

Learn how to calculate percentages step by step: percent of a number, a number as a percentage, percentage change, reverse percentages, mental math and Excel formulas.
Table of Contents 17 sections
- What is a percentage?
- The basic percentage formula
- How to calculate a percentage of a number
- How to calculate a number as a percentage of another
- How to find the whole from a percentage
- How to calculate percentage increase and decrease
- How to calculate percentage difference between two numbers
- How to add or subtract a percentage
- How to reverse a percentage
- Mental math tricks for percentages
- How to calculate percentage in Excel
- Percentage calculations in school and science
- Percentages in money and health
- Common mistakes to avoid
- Practice problems
- How to use this guide
- Frequently asked questions
Knowing how to calculate percentage is one of the most useful math skills you can have. You use it to check a discount, work out a test score, leave a tip, understand a pay raise, read a nutrition label or make sense of a statistic in the news. The good news is that nearly every percentage problem comes down to one simple relationship between a part, a whole and a percent. This guide explains that relationship, then walks through every common type of percentage calculation with worked examples, mental math tricks and spreadsheet formulas.
What is a percentage?
A percentage is a number expressed as a fraction of 100. The word comes from the Latin per centum, meaning "by the hundred". So 45 percent means 45 out of every 100, which can also be written as the fraction 45/100 or the decimal 0.45. Percentages are useful because they put different totals on the same scale. Scoring 18 out of 24 and 30 out of 40 are hard to compare at a glance, but both are 75 percent.
The percent sign (%) is just shorthand for "divided by 100". Whenever you see a percent in a calculation, you can replace it with its decimal: 7% becomes 0.07, 120% becomes 1.2 and 0.5% becomes 0.005.
The basic percentage formula
The whole is the total amount, the part is a portion of it, and the percent describes how big the part is relative to the whole. Rearranging the same formula gives the two other versions you will need:
For related numbers, try the Discount Calculator and Fraction Calculator.
Whole = Part / (Percent / 100)
Before you calculate, ask yourself which of the three you are looking for. That single question tells you which formula to use.
How to calculate a percentage of a number
Use this when you know the percent and the whole and want the part. This is the most searched percentage question, for example "what is 15 percent of 60?"
- Convert the percent to a decimal by dividing by 100: 15% becomes 0.15.
- Multiply by the number: 0.15 x 60 = 9.
Worked example: A $1,250 laptop has a 6.5 percent sales tax. The tax is 0.065 x 1,250 = $81.25.
Another way: Multiply the percent by the number, then divide by 100. 15 x 60 = 900 and 900 / 100 = 9. This works well on a basic calculator.
How to calculate a number as a percentage of another
Use this when you know the part and the whole and want the percent. It answers questions like "how to calculate amount in percentage" or "what percent of 80 is 20?"
- Divide the part by the whole: 20 / 80 = 0.25.
- Multiply by 100: 0.25 x 100 = 25 percent.
Worked example: You answered 47 out of 55 questions correctly. 47 / 55 = 0.8545, so your score is 85.45 percent, which rounds to 85.5 percent.
Worked example: A monthly budget of $4,200 includes $1,470 for rent. Rent is 1,470 / 4,200 x 100 = 35 percent of the budget.
How to find the whole from a percentage
Use this when you know the part and the percent and want the original total.
- Convert the percent to a decimal: 40% becomes 0.40.
- Divide the part by that decimal: if 28 is 40 percent of a number, the number is 28 / 0.40 = 70.
Worked example: You paid a $3,600 deposit, which was 12 percent of the price of a car. The car cost 3,600 / 0.12 = $30,000.
How to calculate percentage increase and decrease
- Subtract the old value from the new value.
- Divide the result by the old value.
- Multiply by 100. Positive means an increase, negative means a decrease.
Increase example: A monthly phone bill rises from $65 to $78. (78 - 65) / 65 = 0.2, so the bill increased by 20 percent.
Decrease example: Your commute drops from 50 minutes to 35 minutes. (35 - 50) / 50 = -0.3, a 30 percent decrease.
The old value is always the base. A common mistake is dividing by the new value instead. For a full walkthrough, including salary raises and Excel formulas, read how to calculate percentage increase or use the percentage increase calculator.
How to calculate percentage difference between two numbers
When two values are being compared and neither is the "starting" value, use percentage difference:
Worked example: One store sells a TV for $480 and another for $520. The difference is $40 and the average is $500, so the percentage difference is 40 / 500 x 100 = 8 percent.
How to add or subtract a percentage
To increase a number by a percentage, multiply by 1 plus the percentage as a decimal. To decrease it, multiply by 1 minus the decimal.
- Add 8% to 250: 250 x 1.08 = 270.
- Take 25% off 80: 80 x 0.75 = 60.
- Add 3.5% to $52,000: 52,000 x 1.035 = $53,820.
This single-step method is faster than finding the percentage and adding it separately, and it is the basis for calculating sale prices. See how to calculate discount for stacked discounts and price-before-discount problems.
How to reverse a percentage
To find the original value before a percentage was added, divide by 1 plus the rate. A price of $129.60 including 8 percent tax was 129.60 / 1.08 = $120 before tax. To find the value before a percentage was taken off, divide by 1 minus the rate. A sale price of $63 after 30 percent off was 63 / 0.70 = $90 originally.
Mental math tricks for percentages
You can do most everyday percentage problems in your head by building them from easy pieces:
| Percent | Shortcut | Example on 240 |
|---|---|---|
| 50% | Halve it | 120 |
| 25% | Halve it twice | 60 |
| 10% | Move decimal one place left | 24 |
| 5% | Half of 10% | 12 |
| 1% | Move decimal two places left | 2.4 |
| 15% | 10% + 5% | 36 |
| 20% | 10% x 2 | 48 |
| 75% | 50% + 25% | 180 |
Another trick is to swap the numbers: X percent of Y equals Y percent of X. 16 percent of 25 is hard, but 25 percent of 16 is 4.
How to calculate percentage in Excel
Excel and Google Sheets treat 1 as 100 percent, so a cell showing 15% actually holds 0.15.
- Percentage of a total:
=B2/B10then click the % format button. - Percent of a number:
=A2*15%. - Percentage change:
=(C2-B2)/B2. - Percentage of a column total:
=B2/SUM($B$2:$B$9)and fill down.
To calculate a percentage of a percentage, simply multiply the two: 40 percent of 25 percent is 0.40 x 0.25 = 0.10, or 10 percent.
Percentage calculations in school and science
Grades
Divide earned points by possible points. If a course is weighted, multiply each category percentage by its weight and add them. Homework at 90 percent worth 20 percent of the grade and exams at 80 percent worth 80 percent give 0.9 x 0.2 + 0.8 x 0.8 = 0.82, or 82 percent.
Average of percentages
You can only average percentages directly when they share the same base. If one test had 50 questions and another had 100, add the correct answers and divide by the total questions instead. 40/50 and 70/100 average to 110/150 = 73.3 percent, not (80 + 70) / 2 = 75 percent.
Percent error
If a lab measurement gives 9.6 m/s² for gravity and the accepted value is 9.81 m/s², the percent error is 0.21 / 9.81 x 100 = 2.14 percent.
Percent yield
In chemistry, percent yield is actual yield divided by theoretical yield, times 100. If a reaction should produce 12.0 g but you collect 10.2 g, the percent yield is 85 percent.
Percent by mass
Mass of the component divided by total mass, times 100. A 250 g solution containing 15 g of salt is 6 percent salt by mass.
Percentages in money and health
Many of the money tools on this site are percentage calculations at heart. A tip is a percentage of the bill, sales tax is a percentage of the price, interest is a percentage of the balance and a raise is a percentage of your salary. In health, body fat percentage tells you what share of your weight is fat, and macronutrient targets are often written as a percentage of daily calories. The same formula, part over whole times 100, sits underneath all of them.
Common mistakes to avoid
- Using the wrong whole. Always divide by the total the part belongs to, or by the starting value for change.
- Adding percentages that have different bases. A 20 percent discount plus an extra 10 percent off is 28 percent off in total, not 30 percent.
- Forgetting to convert. Multiply by 0.07, not 7, when finding 7 percent.
- Confusing percentage points with percent. A rate that rises from 2 to 3 percent has risen 1 point but 50 percent.
- Rounding too early. Keep full precision until the final step.
Practice problems
- What is 35% of 260? Answer: 0.35 x 260 = 91.
- What percent is 27 of 180? Answer: 27 / 180 x 100 = 15%.
- 63 is 70% of what number? Answer: 63 / 0.70 = 90.
- A price rises from $40 to $46. What is the percentage increase? Answer: 6 / 40 x 100 = 15%.
- A $96 total includes 20% tip. What was the bill? Answer: 96 / 1.20 = $80.
Check your own numbers instantly with the percentage calculator, which shows the working for each answer.
How to use this guide
Work through the steps in order with your own numbers, writing each result down as you go, then check your answer against the matching calculator on this site. If your hand calculation and the calculator disagree, the usual culprits are unit conversions, rounding, and a percentage typed as a whole number instead of a decimal. The examples are illustrations, not recommendations, and your situation may call for different assumptions. For important financial or health decisions, confirm your plan with a licensed professional who knows your circumstances. This article is reviewed periodically and was last updated in November 2026.
Frequently asked questions
How do you calculate a percentage?
Divide the part by the whole and multiply by 100. For example, 30 out of 75 is 30 / 75 x 100 = 40%.
How do I calculate the percentage of a number?
Convert the percent to a decimal and multiply. 18% of 250 is 0.18 x 250 = 45.
How do I calculate a percentage without a calculator?
Start with 10% by moving the decimal one place left, then build other percentages from it: 5% is half of 10%, 20% is double, and 15% is 10% plus 5%.
How do I calculate percentage change between two numbers?
Subtract the old number from the new number, divide by the old number and multiply by 100.
How do I calculate the percentage of marks?
Divide the marks you scored by the total marks and multiply by 100. 432 out of 500 is 86.4%.
How do you calculate the average of percentages?
If the percentages come from groups of different sizes, add up the raw parts and divide by the combined total instead of averaging the percentages.
Results are rounded for display. For graded coursework, tax filings or financial documents, check how many decimal places your teacher, form or institution requires.

About the author
Sawera Shahid is the founder and lead writer of Calculators360. She builds the site's free online calculators and writes clear, step-by-step guides on finance, math and health, with every formula explained and worked examples you can check by hand.



