This free percentage calculator solves every common percentage problem in one place. Find a percent of a number, work out what percentage one number is of another, recover the whole when you only know a part, and calculate percentage change and percentage difference between two numbers. Each answer shows the formula with your numbers plugged in, so you can see exactly how the result was reached and copy the working into homework, a report or a spreadsheet.
Percentages appear everywhere: sales discounts, test scores, tips, tax, interest rates, pay raises, statistics in the news and nutrition labels. The word comes from the Latin per centum, "by the hundred", and that is all a percentage is: a number expressed as a fraction of 100. Once you know the three or four patterns below, you can solve almost any percentage question in seconds, with or without a calculator.
How to use the percentage calculator
- Pick the question that matches yours. The five rows cover "what is X% of Y", "X is what percent of Y", "X is Y% of what", "percentage change from X to Y" and "percentage difference between X and Y".
- Type your numbers. Decimals and negative numbers are allowed. Do not type the percent sign.
- Read the answer. Results update as you type, and the line underneath shows the calculation step by step.
If your question is about a price after a sale, the discount calculator adds stacked discounts and sales tax. For pay raises, rent hikes and growth between two values, the percentage increase calculator goes deeper, with reverse calculations and compound growth over several periods.
Prefer to work it out by hand? Our step-by-step guide on how to calculate percentage walks through the formula with worked examples. You may also find our Fraction Calculator useful.
Percentage formulas
Every percentage problem links three quantities: the part, the whole (also called the base) and the percent. If you know any two, you can find the third.
Percent = (Part / Whole) x 100
Whole = Part / (Percent / 100)
| Question | Formula | Example |
|---|---|---|
| What is 20% of 150? | 0.20 x 150 | 30 |
| 30 is what percent of 120? | 30 / 120 x 100 | 25% |
| 45 is 15% of what? | 45 / 0.15 | 300 |
| Change from 80 to 100 | (100 - 80) / 80 x 100 | +25% |
| Difference between 40 and 60 | 20 / 50 x 100 | 40% |
How to calculate a percentage of a number
To find a percentage of a number, convert the percent to a decimal by dividing by 100, then multiply by the number. To find 20 percent of 150, write 20 percent as 0.20 and multiply: 0.20 x 150 = 30. This is the calculation you use for a tip, a sales tax amount, a down payment or a commission.
Two other ways give the same answer. You can multiply first and divide second (20 x 150 = 3,000, then 3,000 / 100 = 30), or use the fraction form (20 percent is 1/5, and 150 / 5 = 30). Choose whichever is easiest for the numbers in front of you.
Percentages are reversible
A neat trick: X percent of Y always equals Y percent of X. So 8 percent of 50 is the same as 50 percent of 8, which is 4. When one order is awkward, flip it. 4 percent of 75 becomes 75 percent of 4, which is 3.
How to calculate what percentage one number is of another
Divide the part by the whole and multiply by 100. If you scored 42 out of 50 on a test, your percentage is 42 / 50 = 0.84, and 0.84 x 100 = 84 percent. If 18 of the 240 people in a survey chose an answer, that is 18 / 240 x 100 = 7.5 percent.
This is the calculation behind the search "how to calculate a number as a percentage" or "how to calculate amount in percentage". The order matters: the number you are describing goes on top, and the total it belongs to goes on the bottom. Swapping them gives a different, usually wrong, answer.
How to find the whole when you know a percentage
Sometimes you know the part and the percent but not the total. If $45 is 15 percent of a bill, the whole bill is 45 / 0.15 = $300. If 12 students are 30 percent of a class, the class has 12 / 0.30 = 40 students. Divide the part by the percent written as a decimal.
A common use is reversing a price that already includes tax or a markup. If a meal cost $54 including 8 percent tax, the price before tax is 54 / 1.08 = $50. Do not subtract 8 percent of $54: that gives $49.68, which is wrong, because the 8 percent was calculated on $50, not on $54.
Percentage change: increase and decrease
Percentage change compares a new value with an old one and expresses the change as a percent of the old value.
A positive result is a percentage increase and a negative result is a percentage decrease. If rent goes from $1,600 to $1,720, the change is 120 / 1,600 x 100 = 7.5 percent. If a stock falls from $50 to $41, the change is -9 / 50 x 100 = -18 percent. For more examples, including how to reverse an increase and how to compound several increases, see how to calculate percentage increase.
Percentage difference vs percentage change
Percentage change has a clear "before" and "after". Percentage difference is used when neither value is the reference point, for example comparing prices at two stores or measurements from two labs. It divides the absolute difference by the average of the two numbers:
For 40 and 60, the difference is 20 and the average is 50, so the percentage difference is 40 percent. Because it uses the average, the answer is the same whichever number you list first. By contrast, the change from 40 to 60 is +50 percent and the change from 60 to 40 is -33.3 percent.
Percentage points vs percent
When a rate itself is a percentage, be careful with wording. If an interest rate moves from 4 percent to 5 percent, it has risen by 1 percentage point, but by 25 percent in relative terms (1 / 4 x 100). News reports about interest rates, unemployment and polls should use "percentage points" for the simple difference. Mixing the two up is one of the most common percentage mistakes.
Converting between percentages, decimals and fractions
| Percent | Decimal | Fraction |
|---|---|---|
| 1% | 0.01 | 1/100 |
| 5% | 0.05 | 1/20 |
| 10% | 0.1 | 1/10 |
| 12.5% | 0.125 | 1/8 |
| 20% | 0.2 | 1/5 |
| 25% | 0.25 | 1/4 |
| 33.33% | 0.3333 | 1/3 |
| 50% | 0.5 | 1/2 |
| 66.67% | 0.6667 | 2/3 |
| 75% | 0.75 | 3/4 |
| 100% | 1 | 1/1 |
| 150% | 1.5 | 3/2 |
To turn a percent into a decimal, divide by 100 (move the decimal point two places left). To turn a decimal into a percent, multiply by 100. To turn a fraction into a percent, divide the top by the bottom and multiply by 100: 3/8 = 0.375 = 37.5 percent. The ratio calculator converts ratios such as 3:5 into percentage shares.
Mental math shortcuts
- 10 percent: move the decimal point one place left. 10 percent of 86 is 8.6.
- 5 percent: half of 10 percent. 5 percent of 86 is 4.3.
- 1 percent: move the decimal two places left. 1 percent of 86 is 0.86.
- 15 percent: 10 percent plus 5 percent: 8.6 + 4.3 = 12.9.
- 20 percent: double 10 percent: 17.2.
- 25 percent: divide by 4: 21.5.
- 50 percent: divide by 2: 43.
Build any other percentage from these pieces. 35 percent is 25 plus 10 percent, and 18 percent is 20 percent minus 2 percent. These same shortcuts make calculating a tip fast.
Real-life percentage examples
Grades and test scores
Divide points earned by points possible. 68 out of 80 is 68 / 80 = 0.85, or 85 percent. To find the score needed for a target, multiply: a 90 percent target on an 80-point test needs 0.90 x 80 = 72 points.
Shopping discounts
A 30 percent discount on a $70 jacket saves 0.30 x 70 = $21, so you pay $49. A faster route is to multiply by what you pay: 70 percent of $70 is $49. Two discounts in a row, such as 30 percent then an extra 20 percent, give 0.70 x 0.80 = 0.56 of the price, a 44 percent total discount, not 50 percent.
Sales tax and VAT
Add tax by multiplying by 1 plus the rate. A $250 purchase at 7.25 percent tax costs 250 x 1.0725 = $268.13.
Pay raises and inflation
A 4 percent raise on $58,000 adds 0.04 x 58,000 = $2,320, for a new salary of $60,320. To see what a raise does to each paycheck, try the salary calculator.
Body composition and health
Percentages also describe your body. Body fat percentage is fat mass divided by total weight, times 100: 36 pounds of fat on a 180-pound person is 20 percent. Use the body fat calculator to estimate it from tape measurements.
How to calculate percentages in Excel and Google Sheets
Spreadsheets store percentages as decimals, so 25 percent is 0.25 displayed with the percent format.
- Percent of a number:
=A2*B2where B2 holds 20% (or=A2*20/100). - What percent X is of Y:
=A2/B2, then apply the percent format. - Percentage change:
=(B2-A2)/A2, formatted as a percent. - Increase a value by a percent:
=A2*(1+B2).
If a formula returns 2500% instead of 25%, you multiplied by 100 and then also applied the percent format. Use one or the other.
Common percentage mistakes
- Using the wrong base. A 50 percent increase followed by a 50 percent decrease does not return you to the start: 100 becomes 150, then 75.
- Adding successive percentages. Three yearly increases of 10 percent compound to 33.1 percent, not 30 percent.
- Subtracting a percentage to reverse it. Divide by (1 + rate) instead.
- Confusing percent and percentage points. 3 percent to 4 percent is 1 point, or a 33 percent rise.
- Dividing by zero. You cannot find a percentage change from a starting value of zero.
More math calculators
Percentages are one tool in a larger toolkit. Compare quantities with the ratio calculator, measure steepness and grade with the slope calculator, and find the capacity of boxes, tanks and cylinders with the volume calculator. All of them are listed on the math calculators page.
About this calculator and your privacy
This calculator runs entirely in your web browser. The numbers you type are never sent to a server, stored or shared, and you do not need an account. Results update when you press the calculate button, and the reset button clears them. We review the formulas whenever published guidelines or tax figures change, and the page was last reviewed in November 2026. If you spot a number that looks wrong, or would like another feature added, please contact us and include your inputs so we can reproduce the issue. Remember that every calculator is a simplification of real life: treat the output as a starting point for planning and check important decisions with a qualified professional.
Frequently asked questions
How do I calculate a percentage of a number?
Divide the percentage by 100 and multiply by the number. For example, 15% of 80 is 0.15 x 80 = 12.
How do I calculate what percentage one number is of another?
Divide the part by the whole and multiply by 100. For example, 27 out of 36 is 27 / 36 x 100 = 75%.
What is the formula for percentage?
Percent = (Part / Whole) x 100. Rearranged, Part = Percent / 100 x Whole and Whole = Part / (Percent / 100).
How do I calculate percentage change?
Subtract the old value from the new value, divide by the old value and multiply by 100. A positive result is an increase and a negative result is a decrease.
What is the difference between percentage change and percentage difference?
Percentage change measures change from a starting value. Percentage difference compares two values with no reference point by dividing the gap by their average.
How do I find the original number before a percentage was added?
Divide the final number by 1 plus the percentage as a decimal. A price of $54 that includes 8% tax was $54 / 1.08 = $50 before tax.
How do I calculate percentage on a calculator?
To find 20% of 150, type 150 x 20 / 100, or 150 x 0.2. Many calculators also have a % key: 150 x 20 % gives 30.
Results are rounded for display. For graded coursework, tax filings or financial documents, check how many decimal places your teacher, form or institution requires.