Skip to main content
Calcora

Math

Percentage Calculator

Find a percentage of a number, what percent one number is of another, the percentage increase or decrease, and the percentage difference.

Your numbers

What do you want to calculate?
What is X% of Y?

The X in “What is X% of Y?”

The Y: the number you take the percentage of.

Private by design

Your numbers are calculated in your browser and are not sent to Calcora.

Your result

Choose what to calculate, enter two numbers, and select Calculate. The answer and how it was worked out appear here.

How this percentage calculator works

  1. Choose the question

    A percentage of a number, what percent one number is of another, the percentage increase or decrease, or the percentage difference.

  2. Enter two numbers

    Whole numbers, decimals, and negative numbers all work, with up to 10 decimal places.

  3. Calculate

    The answer is worked out with exact fractions, so no rounding creeps in along the way.

  4. Read the working

    The result comes with the calculation written out, so you can check it or do it by hand next time.

How percentages work

A percentage is a number of parts per hundred: 15% means 15 out of every 100. Dividing a percentage by 100 turns it into a number you can multiply by, so 15% is 0.15.

Percentages make amounts of different sizes easy to compare. They can be greater than 100%, when one number is larger than the other, and below 0% when one of the numbers is negative.

The four calculations

How to calculate a percentage of a number

Result = Y × X ÷ 100

Multiply the number by the percentage, then divide by 100.

15% of 240 is 240 × 15 ÷ 100 = 36. The same works for decimals: 12.5% of 88.8 is 11.1.

How to find what percent one number is of another

Percentage = X ÷ Y × 100

Divide the part by the whole, then multiply by 100.

36 is 36 ÷ 240 × 100 = 15% of 240. The whole cannot be 0: there is nothing to divide by, so the percentage is undefined.

Percentage increase and decrease

Change = (new − start) ÷ |start| × 100

Subtract the starting value from the new value, divide by the starting value, and multiply by 100. A positive result is an increase and a negative one a decrease.

80 → 100 is (100 − 80) ÷ 80 × 100 = a 25% increase. 100 → 80 is a 20% decrease. A change from 0 has no percentage, because it would divide by 0.

Percentage difference

Difference = |A − B| ÷ ((|A| + |B|) ÷ 2) × 100

Divide the gap between two values by their average, then multiply by 100. Neither value is the starting point, so the order does not matter.

80 and 100 are 20 apart and average 90, so they differ by 20 ÷ 90 × 100 = 22.222222%.

Percentage change vs percentage difference

Percentage change has a direction and a starting value. Going from 80 to 100 is a 25% increase, but going from 100 to 80 is a 20% decrease: the same 20 is measured against a different start each time.

Percentage difference is symmetric. 80 and 100 differ by 22.222222% in either order, because the gap is measured against their average, 90. Use it to compare two values when neither one is the starting point.

Examples

Each answer is worked out the same way as the calculator above.

Percentage questions and the answers the calculator gives
QuestionAnswer
What is 15% of 240?36
36 is what percent of 240?15%
Percentage change from 80 to 10025% increase
Percentage change from 100 to 8020% decrease
Percentage difference between 80 and 10022.222222%
What is 12.5% of 88.8?11.1
What is 10% of −50?−5
300 is what percent of 200?150%
Percentage change from −50 to −2550% increase

Assumptions

  • Numbers can be positive, negative, or 0, with up to 10 decimal places and up to 1,000,000,000,000,000 (one quadrillion) in size. Thousands separators are optional; scientific notation such as 1e5 is not accepted.
  • Calculations use exact fractions rather than rounded decimals, so 12.5% of 88.8 is exactly 11.1 and no error builds up along the way.
  • Results are shown with up to 6 decimal places, rounded half away from zero, with trailing zeros removed. A result smaller than 0.000001 keeps 6 significant digits, so it never shows as 0. When a result is rounded, the page says so; the calculation itself is never rounded.
  • Percentage change divides by the absolute value of the starting value, so whether it is an increase or a decrease follows whether the value went up or down, even for negative numbers: −50 → −25 is a 50% increase.
  • Percentage change is undefined when the starting value is 0, and a percentage of a whole of 0 is undefined. The calculator says so instead of showing a number.
  • Percentage difference divides by the average of the absolute values, so it is the same in either order, never negative, and at most 200%. Two values of 0 differ by 0%.

Frequently asked questions

How do I calculate a percentage of a number?
Multiply the number by the percentage and divide by 100. For example, 15% of 240 is 240 × 15 ÷ 100 = 36.
How do I find what percentage one number is of another?
Divide the part by the whole and multiply by 100. For example, 36 is 36 ÷ 240 × 100 = 15% of 240. If the whole is 0, there is no percentage, because you cannot divide by 0.
How do I calculate percentage increase?
Subtract the starting value from the new value, divide by the starting value, and multiply by 100. From 80 to 100: (100 − 80) ÷ 80 × 100 = 25%, a 25% increase.
How do I calculate percentage decrease?
Use the same formula; a decrease gives a negative result. From 100 to 80: (80 − 100) ÷ 100 × 100 = −20%, a 20% decrease.
What is the difference between percentage change and percentage difference?
Percentage change has a direction and is measured against the starting value, so 80 → 100 (a 25% increase) and 100 → 80 (a 20% decrease) give different answers. Percentage difference is measured against the average of the two values, so 80 and 100 differ by 22.222222% in either order.
Can percentages be greater than 100%?
Yes. 300 is 150% of 200, and a value that more than doubles has increased by more than 100%. A decrease of more than 100% happens only when a positive value falls below 0.
Can a percentage be negative?
Yes, when one of the numbers is negative: −20 is −20% of 100, and 10% of −50 is −5. For a change, the calculator shows the size with the word "increase" or "decrease" instead of a sign. A percentage difference is never negative.
Does Calcora store the numbers I enter?
No. The calculation runs in your browser. Your numbers are not sent to Calcora or saved, and they are cleared when you leave or reload the page.

Related calculators

The Percentage Calculator is the first calculator in Calcora's Math category. To find another calculator, browse the full list of calculators.