Percentage Calculator

Calculate percentages three ways: a percentage of a number, one number as a percentage of another, and the percentage change between two values. The formula used is shown with every result.

Calculators 100% in your browser
20% of 150 is
30
Formula: (150 × 20) ÷ 100

How to use

  1. Choose the calculation type: percent of a number, what percent, or percentage change.
  2. Enter your numbers in the labelled fields.
  3. Read the result — the exact formula used is displayed underneath.
  4. Adjust the values to explore related cases; the result updates as you type.

Example

Input: 20% of 150, and percentage change from 80 to 100

Output: 30, and +25% increase

How it works

A percentage is found with part ÷ whole × 100. The calculator also works backwards: given a percentage and a whole it finds the part, and given a part and a percentage it finds the whole.

What is X% of Y: X ÷ 100 × Y. Percentage change: (new − old) ÷ |old| × 100.

Worked example

20% of 150 is 30. Going from 80 to 100 is a +25% change.

Edge cases to know

  • Results display up to 6 decimal places; trailing zeros are trimmed.
  • Percentage change uses the absolute value of the starting number as the base, so a move from −50 to −100 is a −100% change.
  • Inputs are accepted up to JavaScript's safe integer range (±9,007,199,254,740,991).

Limits & compatibility

  • Accepts numbers up to JavaScript's safe integer range (±9,007,199,254,740,991).
  • Results display up to 6 decimal places; trailing zeros are trimmed.
  • Percentage change uses the absolute value of the starting number as the base.

Privacy

All calculations run locally in your browser. Nothing is transmitted to a server, and no values are stored.

Related tools

FAQ

Questions about Percentage Calculator

What percentage calculations can this tool do?

Three: what a percentage of a number is, what percentage one number is of another, and the percentage change between two numbers. It also works backwards — given a percentage and a whole it finds the part, and given a part and a percentage it finds the whole.

Why does my result show so many decimal places?

Results display up to 6 decimal places, with trailing zeros trimmed — so 20% of 150 shows as 30, while a repeating decimal keeps its precision instead of being rounded away silently.

How is percentage change calculated when the starting number is negative?

The change is divided by the absolute value of the starting number, so a move from −50 to −100 is a −100% change. The rule is stated on the page rather than hidden.

Is there a limit on the numbers I can enter?

Numbers are accepted up to JavaScript's safe integer range (±9,007,199,254,740,991). Beyond that, precision is no longer guaranteed.