DoolityDoolity

Percentage Calculator

Calculates a percent of a number, a share as a percent, percent change, a discounted price, and the price before a discount, and shows the formula behind each answer.

What to calculate
%
Decimal places

Enter two numbers to see the result.

Results are rounded only for display. The calculation runs in your browser.

How to use the percentage calculator

  1. Pick what to calculate: a percent of a number, what percent, percent change, a discount, or the original price.
  2. Type the two numbers. You can write decimals with a period or a comma.
  3. Read the result and the formula under it. Change the number of decimal places if you need to.
  4. Copy the result and the formula as one line.

What is a percentage?

A percentage is a ratio written as a number out of 100: 15% means 15 of every 100, or 0.15. The base is the whole that the ratio refers to, and the percentage value is the part. With a base of 80 and a rate of 15%, the percentage value is 12.

A percentage point is the plain difference between two percentages. When a rate goes from 10% to 15%, it rises by 5 percentage points, but it rises by 50% relative to where it started. The two figures answer different questions, so reports on interest rates, polls, and market shares say which one they mean.

How percentages are calculated

  • X% of a number is the number multiplied by X and divided by 100. 15% of 80 is 80 × 15 ÷ 100 = 12.
  • The share of a part in a whole is the part divided by the whole, multiplied by 100. 12 out of 80 is 15%.
  • Percent change is the new value minus the old value, divided by the absolute value of the old value, multiplied by 100. From 80 to 100 is +25%, and from 100 to 80 is −20%.
  • A sale price is the price multiplied by (100 − discount) and divided by 100. The price before the discount is the sale price divided by (100 − discount), multiplied by 100.
  • A change is not undone by the same percent in the other direction. After a 20% drop, a value needs a 25% rise to return to where it was.

When to use it

  • Checking the price after 30% off, or finding the full price from a sale price.
  • Working out a pay rise, a price increase, or the growth of sales as a percent.
  • Turning a test score such as 42 out of 60 into a percent.
  • Telling percentage points apart from percent when reading news about interest rates or polls.

Questions about percentage calculations

Why is the price before a 25% discount not the sale price plus 25%?

The 25% was taken from the original price, not from the sale price. Adding 25% to 75 gives 93.75, but the original price was 100. Choose "Original price" and the tool divides by the remaining 75% instead.

Where does the tool show percentage points?

In the "Percent change" mode. If the two numbers you typed are themselves percentages, read the line under the result. It gives the gap in percentage points next to the relative change in percent.

Why can't it calculate a change from 0?

Percent change divides by the starting value, and nothing can be divided by zero. A move from 0 to 50 is an increase of 50, but it has no percent. The tool shows a message instead of a result. The same applies when you ask what percent a number is of 0.

Can I type negative numbers?

Yes, in the percent change mode. Start the number with a minus sign. A move from −50 to −25 counts as an increase of 50%. Prices and discounts do not accept a minus sign.

How are the results rounded?

Only the displayed result is rounded, to the 0 to 4 decimal places you choose. A digit 5 rounds away from zero. The calculation uses exact decimal arithmetic in your browser, so 0.1 + 0.2 gives 0.3, and nothing you type is sent to a server.