Percentage Calculator

Five common percentage questions, answered as you type.

What is % of

= –

is what % of

= –

Change from to

= –

Increase by %

= –

Decrease by %

= –

Using the percentage calculator step by step

  1. Find the row that matches your question. The five rows are independent, so you can fill in one, several or all of them.
  2. Type your numbers into the boxes. The answer to the right of the equals sign updates with every keystroke; there is no button to press.
  3. Clear a box and that row shows a dash instead of an error message.

Results are for reference only and are not tax, financial or medical advice.

The page loads with an example in each row so you can see the layout: 20% of 80, 16 as a percentage of 80, the change from 50 to 65, 100 increased by 15%, and 80 decreased by 20%.

In short

Each row is one fixed formula: X% of Y, X as a percent of Y, change from A to B, and adding or removing a percentage. The answers are exact, but money results often run to three or four decimals, so round to cents yourself at the end.

Frequently asked questions

How do I calculate a discount?

Use “Decrease by” with the original price and the discount percentage.

How do I add tax or a tip?

Use “Increase by” with the price and the tax or tip rate.

How do I find the original price after a discount?

The tool has no dedicated row for this, but the arithmetic is simple: divide the sale price by 1 minus the discount rate. A price of 64 after 20% off came from 64 / 0.8 = 80.

Why is my percent change different from another calculator?

Some tools divide by the new value or the average of the two values. This one divides by the starting value, which is the usual definition of percentage change.

Our test: does the displayed answer ever differ from the exact one?

A script typed 4,970,000 inputs into the calculator in headless Chromium 153.0.8010.12 and read back what the page displayed. For the three money rows we used every price from 0.01 to 100.00 in steps of one cent with every whole rate from 1% to 99%. For the other two rows we used every pair of whole numbers from 1 to 1,000. We compared each answer with the exact result, computed with whole-number arithmetic and rounded to six decimal places.

RowInputs testedSame as exact answerAnswers with more than 2 decimals
What is X % of Y990,000990,000948,000 (95.8%)
Increase by990,000990,000948,000 (95.8%)
Decrease by990,000990,000948,000 (95.8%)
X is what % of Y1,000,0001,000,000–
Change from A to B1,000,000999,744–

The 256 differences were all falls whose exact answer ends in a 5 in the seventh decimal place, such as a change from 512 to 1 (−99.8046875%). The page rounds these toward zero (−99.804687%) rather than away from it, a difference of 0.000001 percentage points. No stray digits from computer arithmetic, such as 0.30000000000000004, appeared in any row.

What it means: you can take the figures as shown. For money, though, about 24 in 25 answers from cent prices and whole-number rates had a third or fourth decimal, so round to cents yourself at the end.

More details

Examples

A 20% discount on 80 is 16, so the sale price is 64. If a price goes from 50 to 65, that is a 30% increase. Note that a 50% decrease followed by a 50% increase does not return you to the start: 100 → 50 → 75.

The five rows and their formulas

  • What is X % of Y: multiplies Y by X and divides by 100. 15% of 200 is 200 × 15 ÷ 100 = 30.
  • X is what % of Y: divides X by Y and multiplies by 100. 45 out of 180 is 45 ÷ 180 × 100 = 25%. If Y is 0 or blank the row shows a dash, since the question has no answer.
  • Change from A to B: subtracts A from B, divides by the size of A and multiplies by 100. Going from 50 to 65 gives +30%; going from 65 down to 50 gives -23.076923%. A positive result carries a plus sign.
  • Increase by: multiplies the value by 1 plus the rate. 100 increased by 15% is 115.
  • Decrease by: multiplies the value by 1 minus the rate. 80 decreased by 20% is 64.

Results are rounded to at most six decimal places (trailing zeros are dropped) and shown with thousands separators, so 5% of 1234567 appears as 61,728.35. The worked examples below show shortened figures for readability; the tool itself may show more decimals. In the change row the tool divides by the size of the starting number (ignoring its sign), so a result is positive when the value went up and negative when it went down, even if the starting number is negative. A start value of 0 gives a dash because the percentage change from zero is undefined.

Everyday examples: sales, tips, scores and tax

  • Sale price: a jacket costs 129.90 and is 30% off. Use "Decrease by" with 129.90 and 30 to get 90.93, a saving of 38.97.
  • Tip: a 62.50 restaurant bill with an 18% tip. "Increase by" gives 73.75. For just the tip amount, use the first row: 18% of 62.50 is 11.25.
  • Exam score: 37 correct out of 45 questions. The second row gives 82.222222%, or about 82.2%.
  • Price comparison: a subscription rises from 9.99 to 11.99. The change row gives +20.02002%, about +20.0%, which is the figure to compare with a quoted inflation rate.
  • Adding VAT or sales tax: increase the net price by the tax rate. To go the other way and find the net price from a gross one, divide by 1 plus the rate, so 110 gross at 10% tax is 100 net. Taking 10% off 110 would give 99, which is not the net price.

Percentage mistakes to avoid

  • Reversing a percentage change. A 20% cut takes 80 to 64, but putting the 20% back on 64 only reaches 76.8. To undo a 20% decrease you need a 25% increase, because the base changed. Run it through the change row (64 to 80 = +25%) to check.
  • Mixing up percent and percentage points. If an interest rate moves from 4% to 5%, it rose by 1 percentage point, but the relative change is +25%. Enter 4 and 5 in the change row to see that figure.
  • Stacking percentages by adding them. A 10% rise followed by a 10% fall does not cancel out: 100 becomes 110, then 99. Run the two steps one after another instead of adding or subtracting the rates.
  • Using the wrong base. "X is what % of Y" and "Y is what % of X" give different answers. 20 is 25% of 80, but 80 is 400% of 20.

Large rates, negatives and precision

  • Percentages above 100 are fine. Increasing 50 by 200% gives 150, and a change from 10 to 50 is +400%.
  • Decreasing by more than 100% produces a negative number, which is mathematically correct but rarely what you meant. Check that you typed the rate in the right box.
  • The boxes accept plain numbers only, with no currency symbols, typed thousands separators or unit conversions.
  • Very small or very large inputs are limited by the standard precision of numbers in a browser, which is roughly 15 significant digits.

More questions

Can I use negative numbers?

Yes in every row. For the change row the result is measured against the size of the starting number, so going from -50 to -25 shows as +50%.

Related guides

More in Text & developer