Percentage Calculator
To find X% of Y, divide X by 100 and multiply by Y: 15% of 80 is 0.15 × 80 = 12. To find what percentage X is of Y, divide X by Y and multiply by 100. Pick a calculation below and enter your two numbers.
Last updated by Ultra Calculator
Percentage
How to calculate it
X% of Y = X ÷ 100 × Y X as a percentage of Y = X ÷ Y × 100 Percentage change = (Y − X) ÷ |X| × 100 Percentage difference = |X − Y| ÷ ((X + Y) ÷ 2) × 100
- X
- the first number: the percentage, the part, the starting value or the first of two values
- Y
- the second number: the number you take a percentage of, the whole, the new value or the second value
- | |
- absolute value: the size of a number ignoring any minus sign
Percentage change is measured against the starting value, so the order matters. Percentage difference is measured against the average of the two values, so swapping them gives the same answer.
In Excel or Google Sheets: =A1/100*B1
Worked example
A 15% tip on a bill of 64
15% of 64 is 9.6, so the bill comes to 73.6 with the tip added. Taking 15% off 64 instead would leave 54.4.
| Calculation | What is X% of Y? |
|---|---|
| Percentage X | 15.00% |
| Number Y | 64 |
| X% of Y | 9.6 |
|---|---|
| Y increased by X% | 73.6 |
| Y decreased by X% | 54.4 |
| In words | 15% of 64 is 9.6 |
How to use this calculator
- Choose the Calculation you need: a percentage of a number, one number as a percentage of another, the percentage change, or the percentage difference.
- For a percentage of a number, enter Percentage X and Number Y.
- To turn a score into a percentage, enter Part X (the marks you got) and Whole Y (the marks available).
- For a change, enter Starting value X and New value Y. For a difference with no obvious starting point, enter First value X and Second value Y.
- Read the result at the top of Results. In words repeats the answer as a sentence you can copy.
Frequently asked questions
How do I calculate a percentage of a number?
Divide the percentage by 100 and multiply by the number: 20% of 150 is 0.2 × 150 = 30. To add the 20% on in one step, multiply by 1.2 (150 × 1.2 = 180). To take it off, multiply by 0.8 (150 × 0.8 = 120).
How do I work out a percentage of marks?
Divide the marks you scored by the marks available and multiply by 100, so 42 out of 50 is 84%. For a test with several papers worth the same, add up the marks scored and the marks available first. If the papers carry different weightings, each paper's percentage has to be weighted instead.
What is the difference between percentage change and percentage difference?
Percentage change compares a new value with a starting value, so the order matters: 80 to 100 is a 25% increase, but 100 to 80 is a 20% decrease. Percentage difference has no starting point. It divides the gap by the average of the two values, so 80 and 100 differ by 20 ÷ 90 × 100 = 22.22%.
How do I calculate a percentage in Excel?
With the numbers in A1 and B1, use =A1/100*B1 for A1% of B1, =A1/B1*100 for A1 as a percentage of B1, and =(B1-A1)/ABS(A1)*100 for the percentage change from A1 to B1. For the second and third formulas, leave off the *100 if you format the result cell as a percentage, because Excel multiplies by 100 when it displays the cell.
Why doesn't a 50% rise followed by a 50% fall get back to the start?
Because the fall is worked out on the higher figure. 100 rises by 50% to 150, then falls by 50% of 150 (75) to 75. To undo a rise of r%, you need a fall of r ÷ (100 + r) × 100, so a 50% rise is undone by a fall of 33.33% (a third).
Is a percentage point the same as a percent?
No. Percentage points are the plain gap between two percentages, while percent measures the change relative to where it started. An interest rate that goes from 4% to 5% has risen by 1 percentage point, which is a 25% increase in the rate.
Learn more
Per cent means per hundred
A percentage is a fraction out of 100: 84% means 84 out of every 100, which is 0.84 as a decimal. Dividing by 100 turns a percentage into a decimal, and multiplying by 100 turns it back.
The base decides the answer
Every percentage is a percentage of something. In a percentage change the base is the starting value, which is why a fall from 250 to 210 is 16% but the rise from 210 back to 250 is 19.05%. Before comparing two percentages, check they share the same base.
Percentage difference uses the average
When neither value is the obvious starting point, such as two quotes for the same job, the gap is divided by the average of the two. Quotes of 1,200 and 1,500 are 300 apart, and 300 ÷ 1,350 × 100 = 22.22%.
- Working out a tip or service charge on a bill
- Turning test or exam marks into a percentage
- Checking how much a price has risen or fallen
- Comparing two quotes for the same job
- Expressing a pay rise as a percentage of the old salary
Dividing by the new value instead of the starting value
Percentage change always divides by where you started. A rise from 40 to 50 is 10 ÷ 40 × 100 = 25%, not 10 ÷ 50 × 100 = 20%.
Adding up percentages that have different bases
A 20% discount followed by a further 10% off is 28% off in total, not 30%, because the second discount applies to the reduced price: 0.8 × 0.9 = 0.72.
Removing a percentage by taking it off the total
If a price including a 20% charge is 120, the price before the charge is 120 ÷ 1.2 = 100. Taking 20% off 120 gives 96, which doesn't get you back to the original price.
Mixing up percentage points and percent
A rate going from 2% to 3% is up 1 percentage point, which is a 50% increase. Say which one you mean.
Methodology and sources
The calculator applies the four formulas shown above to the numbers you enter, without rounding them first. Percentage change divides by the absolute value of the starting value, so a move from −50 to −25 counts as a 50% increase; a starting value of 0 has no percentage change, so no result is shown. Percentage difference is meant for values of 0 or more and divides the gap by their average. Amounts are displayed to 4 decimal places and percentages to 2, so 33.33% may stand for a recurring decimal such as 33.333…%.