Percentage Calculator

This percentage calculator answers ten kinds of percent questions. Pick the one that matches yours, such as "what is 20% of 150?" or "what's the percent change from 80 to 100?", type two numbers, and you'll get the answer with the formula, the base it used and a reverse check.

Calculation and content reviewed by EZ Calculators Editorial Team on .

Enter values

Choose the percentage question first. The two input labels, formulas, checks, and comparison table adapt to that relationship.

Build the scenario below, then calculate for a complete result report.

Runs in your browser
Question type

Choose the relationship before the numbers

Percent of, percent represented, missing whole, forward change, reverse change, percentage difference, and percentage-point movement use different reference bases. Choose the wording that matches the real question before entering values.
Choose the wording that matches the unknown you need to solve.
Known values

Enter the two quantities in their labeled roles

The labels change with the selected question. Rates are entered as percentage numbers, so 20 means 20%, while ordinary values are entered without a percent sign.
The whole or reference value the percentage is applied to.
Enter 20 for 20%. The calculator converts it to 0.20 internally.
Display precisionInternal math keeps full precision
Controls the maximum displayed decimal places; calculations retain full internal precision.
Reference base firstThe result identifies the denominator, formula, reverse check, and comparison scenarios.
A mathematically valid percentage can still be misleading when the wrong reference value, time period, population, price basis, or rate definition is used. Confirm the real-world denominator before using the answer.

How do you calculate a percentage of a number?

Divide the percentage by 100 and multiply by the number. To find 20% of 150, turn 20% into 0.20 and multiply: 150 x 0.20 = 30. To go the other way and find what percent 30 is of 150, divide 30 by 150 and multiply by 100, which gives 20%.

How to use the percentage calculator

Start with the question menu. The box labels change to match what you pick, so you always know which number goes where. Type percentages as plain numbers: 20 means 20%, and 12.5 means 12.5%.

The precision menu only changes how many decimal places you see. The math runs at full precision underneath, so switching from 2 places to 6 won't change the answer, just how much of it shows.

  1. Choose the percentage question that matches your wording.
  2. Enter the two numbers the labels ask for.
  3. Pick how many decimal places to show.
  4. Press Calculate percentage.
  5. Read the answer, then check the formula, the base used and the reverse check.

Pick the question that matches your wording

Most percent mistakes come from dividing by the wrong number. The fix is to start from the sentence you're trying to answer. Each question type below uses a different base, the number that counts as 100%.

Percentage questions, what you know and what you get
QuestionYou knowYou getBase (100%)
What is P% of X?X and PThe partX
X is what percent of Y?Part X and whole YThe percentY
X is P% of what number?Part X and PThe wholeThe answer
Increase or decrease X by P%X and PThe new valueX
Percentage change from X to YOld X and new YPercent up or downX, the starting value
Percentage difference between X and YTwo valuesGap as a percentAverage of X and Y
Original before a P% increase or decreaseFinal value and PThe originalThe original
Percentage-point changeTwo percentagesPoints and basis pointsNone

What percent of one number is another?

Divide the part by the whole and multiply by 100. If 30 of 150 people picked an option, that's 30 / 150 x 100 = 20%. If you scored 45 out of 60, you got 75%.

Order matters. 30 is 20% of 150, but 150 is 500% of 30. The whole is whatever the sentence says you're comparing against, which isn't always the bigger number or the newer one.

Formula guide
  • Percent = part / whole x 100
  • Part = whole x percent / 100
  • Whole = part / (percent / 100)

Percent change calculator: increase or decrease

Percent change measures a move from an old value to a new one, so you always divide by the old value. A rise from 80 to 100 is a 25% increase, because the change of 20 is divided by 80. Going back down from 100 to 80 is a 20% decrease, because now the same 20 is divided by 100.

That's also why equal ups and downs don't cancel. Add 20% to 100 and you get 120. Take 20% off 120 and you get 96, not 100. The calculator's change mode shows the raw difference, the percent and the direction, and it won't divide by a starting value of zero.

Formula guide
  • Percent change = (new value - old value) / |old value| x 100

Adding or taking off a percentage

To add a percentage, multiply by 1 plus the rate. To take one off, multiply by 1 minus the rate. Increasing 150 by 20% is 150 x 1.20 = 180. Decreasing 150 by 20% is 150 x 0.80 = 120. One multiplication does the whole job.

Going backwards is where people slip. If a price is 120 after a 20% markup, the original was 120 / 1.20 = 100. Taking 20% off 120 gives 96, which is wrong because the markup was 20% of 100, not 20% of 120. Use the reverse modes for this, and they'll divide by the right multiplier.

Formula guide
  • After an increase = start x (1 + P / 100)
  • After a decrease = start x (1 - P / 100)
  • Original before an increase = final / (1 + P / 100)
  • Original before a decrease = final / (1 - P / 100)

Percent change, percentage difference and percentage points

These three get mixed up all the time. Percent change has a direction and divides by the starting value. Percentage difference has no direction: it divides the gap by the average of the two numbers, so 80 and 100 are 22.2222% apart whichever you list first.

Percentage points are for when both numbers are already percentages. A rate that moves from 4% to 5% went up 1 percentage point, or 100 basis points. Measured against the 4% it started at, that's a 25% relative increase. The points mode shows both so you can say which one you mean.

Formula guide
  • Percentage difference = |X - Y| / ((|X| + |Y|) / 2) x 100
  • Percentage-point change = new percent - old percent; basis points = points x 100

How to average percentages

Don't add percentages and divide by how many there are unless every percent comes from the same size group. If you scored 80% on a 50-point quiz and 90% on a 150-point exam, the simple average is 85%. But you earned 40 + 135 = 175 of 200 points, which is 87.5%.

To get the true average, turn each percent back into its part with "What is P% of X?", add the parts, add the wholes, and then use "X is what percent of Y?" on the totals. This calculator doesn't have a separate averaging mode, so those two modes are the way to do it here.

Formula guide
  • Weighted average percent = (sum of parts) / (sum of wholes) x 100

Worked percentage examples

Every row uses small numbers so you can check it in your head. Notice how 150, 20 and 30 answer three different questions depending on what's unknown.

Percentage examples for each kind of question
QuestionSetupAnswer
What is 20% of 150?150 x 0.2030
30 is what percent of 150?30 / 150 x 10020%
30 is 20% of what?30 / 0.20150
Increase 150 by 20%150 x 1.20180
Decrease 150 by 20%150 x 0.80120
Percent change from 80 to 10020 / 80 x 10025% increase
Percentage difference, 80 and 10020 / 90 x 10022.2222%
120 after a 20% increase120 / 1.20100 originally
80 after a 20% decrease80 / 0.80100 originally
4% rises to 5%5 - 41 percentage point

Sources

FAQ

What is 15% of 80?

15% of 80 is 12. Change 15% to 0.15 and multiply: 80 x 0.15 = 12. Choose "What is P% of X?", enter 80 and 15, and the calculator shows the same answer.

How do I calculate percentage increase between two numbers?

Subtract the old number from the new one, divide by the old number and multiply by 100. From 50 to 65 is 15 / 50 x 100 = 30%. Use the percentage change mode.

How do I work out a percentage decrease?

Subtract the new value from the old, divide by the old value and multiply by 100. A price that drops from $80 to $60 fell 20 / 80 x 100 = 25%.

What percent of 24 is 18?

18 is 75% of 24. Divide 18 by 24 to get 0.75, then multiply by 100. In the calculator, choose "X is what percent of Y?" with 18 and 24.

How do I find the original price before a discount?

Divide the sale price by 1 minus the discount rate. An item that costs 80 after 20% off was 80 / 0.80 = 100. Use the reverse decrease mode.

Can a percentage be more than 100%?

Yes. 180 is 120% of 150, and a value that more than doubles has risen by more than 100%. A share of a whole, like test answers, usually can't go past 100%.

How much do I need to drop to undo a 20% increase?

About 16.6667%. After 100 rises to 120, getting back to 100 means losing 20 out of 120, and 20 / 120 x 100 = 16.6667%.

Should I type 20 or 0.20 for 20%?

Type 20. The calculator reads the rate box as a percent, so 0.20 would mean one fifth of one percent.