Percentage Calculator

Calculate percentages easily.

Choose the question you want to answer. Each section works independently and shows the calculation step by step.

Use a dot or comma for decimals, without thousands separators. Each section explains any restrictions on its values.

Percentage of a number

What is X% of Y? Example: 15% of 200 = 30. This gives the percentage amount, not an adjusted total.

Find the percentage

X is what percentage of Y? Example: 30 out of 200 = 15%. The total must not be zero.

Find the original total

X is P% of what number? Example: 30 is 15% of 200. The percentage must not be zero.

Increase or discount

Apply a percentage to a starting value and get the new total. Example: 200 increased by 10% = 220. Enter a nonnegative percentage.

Percentage change

Compare a final value with its starting value. From 200 to 250 is +25%. The initial value must be positive and the final value nonnegative.

Percentage difference

Compare two nonnegative values without choosing a starting value. Uses their average as the base; two zero values are undefined.

Calculations use floating-point numbers. Results show up to 15 significant digits; very large or small values use scientific notation. Not intended for exact financial calculations.

Calculate percentage amounts, ratios, original totals, increases, discounts, changes and differences in your browser. Each calculator shows its formula and has its own copy and clear controls.

How to use it

  1. Choose the section matching your question.
  2. Enter the two values; for an increase or discount, also choose the operation.
  3. Select Calculate, then read the formula and copy the result.

Understanding percentages and their formulas

A percentage expresses a share of one hundred. For example, 25% means 25 out of 100: the decimal 0.25, or one quarter. To find a share of a number, convert the percentage to a decimal and multiply.

The same relationship lets you find an unknown percentage or reconstruct the original total. The table below shows the six calculations using concrete numbers; the interactive sections above let you change those numbers.

25% = 25 ÷ 100 = 0.25 = ¼
Worked examples
CalculationFormula and result
Percentage of a number(15 ÷ 100) × 200 = 30
Find the percentage(30 ÷ 200) × 100 = 15%
Find the original total30 ÷ (15 ÷ 100) = 200
Increase or discount200 × (1 + 10 ÷ 100) = 220
Percentage change((250 − 200) ÷ 200) × 100 = 25%
Percentage difference|80 − 100| ÷ ((80 + 100) ÷ 2) × 100 = 22.2222222222222%

Percentage change or percentage difference?

Change uses the initial value as its base, so order matters: from 80 to 100 is +25%, but from 100 to 80 is −20%. Difference uses the average of the two values instead: 80 and 100 differ by about 22.22%, whichever value comes first.

Discount amount versus final price

10% of 200 is 20: that is the discount amount. The price after the discount is 200 − 20 = 180. Use Increase or discount to calculate the adjusted total directly. A decrease above 100% produces a negative total.

200 × (1 − 10 ÷ 100) = 180

Percentages are not percentage points

A rate going from 10% to 12% rises by 2 percentage points. Relative to its original rate, the increase is 20%, because (12 − 10) ÷ 10 × 100 = 20. These describe different things.

Amount, ratio and original-total calculations accept negative numbers. Change requires a positive initial value and a nonnegative final value; difference accepts nonnegative values only. Division by zero is undefined, and floating-point rounding can affect results.

Frequently asked questions

How do I calculate a percentage of a number?

Divide the percentage by 100, then multiply by the base number. For example, 15% of 200 = (15 ÷ 100) × 200 = 30.

Percentage change or percentage difference?

Change uses the initial value as its base, so order matters: from 80 to 100 is +25%, but from 100 to 80 is −20%. Difference uses the average of the two values instead: 80 and 100 differ by about 22.22%, whichever value comes first.

Why are some zero or negative values rejected?

Amount, ratio and original-total calculations accept negative numbers. Change requires a positive initial value and a nonnegative final value; difference accepts nonnegative values only. Division by zero is undefined, and floating-point rounding can affect results.

How precise is the result?

The calculator uses JavaScript floating-point arithmetic and displays up to 15 significant digits. Rounding is possible; it is not a decimal-exact financial calculator. Very large or small values use scientific notation.

Recommended Tools