Percentage Calculator screenshot

Percentage Calculator

Find X percent of Y, what percent X is of Y, and percent change.

Privacy First
0 Runs
Updated 2026-11-06
Runs in your browser
No account needed
Nothing sent to a server
Works offline after load

Find X percent of Y, what percent X is of Y, and percent change. Enter your numbers and get an instant result.

This page answers three percentage questions at once: what X percent of Y is, what percentage X is of Y, and the percentage change from X to Y. Each answer recalculates as you type and is rounded to two decimal places.

It is a calculator, not a spreadsheet. There is no history, no saved sheet and no way to chain the three answers into one expression, so a multi-step calculation belongs in a spreadsheet or in the expression field of a code tool.

The arithmetic is plain JavaScript multiplication and division running in this tab. Nothing you type is submitted anywhere, and the page keeps working after it has loaded with the network down.

What each row computes

The first row multiplies X by Y and divides by 100, which is the everyday reading of a percentage: 10 percent of 150 is 15.

The second row divides X by Y and multiplies by 100, so it answers the ratio question: 30 out of 150 is 20 percent.

The third row subtracts the starting value, divides by the starting value and multiplies by 100, so the denominator is always where you started rather than where you ended.

  • Percentage of a value: (X / 100) * Y
  • Ratio as a percentage: (X / Y) * 100
  • Percentage change: ((Y - X) / X) * 100

Where percentage maths goes wrong

The commonest mistake is dividing a change by the new value. A rise from 100 to 150 is a 50 percent increase, because the denominator is the original 100; dividing by 150 would report 33.33 percent and describe a different sum.

Two successive discounts are not additive: 20 percent off then another 10 percent off leaves 72 percent of the original price, not 70 percent, because the second discount applies to the already-reduced figure.

A division by zero reports 0 rather than infinity, and a zero starting value reports 0 for the change, so an incomplete pair looks like a real answer of zero. Check the inputs before you quote the result.

How to use the three rows

Work down the three rows: the first asks what X percent of Y is, the second what percentage X is of Y, the third the change from X to Y. Each answer recalculates as you type and is rounded to two decimals; a zero denominator reports 0 rather than an error, so check the inputs before quoting an incomplete pair.

Read the denominator the row uses: the ratio row divides by the starting value, so 30 out of 150 is 20 percent, and the change row divides by where you started, so 100 to 150 is a 50 percent increase. Two successive discounts are not additive, and percentage points are a different unit from percent.

What to Expect

Best for

  • Turning a score into a percentage of the total
  • Checking a discount or a pay rise against the original figure
  • Describing a move between two numbers as a percentage

Not ideal for

  • Compound interest across several periods
  • Any statistic that needs a mean, a median or a spread
  • One editable expression that chains several percentage steps

What this tool keeps

  • Two decimal places on every answer, so the three rows compare cleanly
  • One row per question, so one answer cannot overwrite another
  • Your last numbers in the tab until you reload or close it

What may need cleanup

  • Very large inputs, which lose integer precision once JavaScript passes its safe range
  • A zero denominator, which is reported as 0 rather than as an error
  • Percentage points versus percent, which are different units and are not converted for you

Common errors

  • Dividing the change by the new value instead of the starting value
  • Adding two successive discounts as if percentages were additive
  • Reading 5 percentage points of change as a 5 percent change

Example use cases

  • A student checking 47 marks out of 60
  • A shopper verifying a sale price against the original tag
  • A report writer describing growth from 1,200 to 1,500 sessions

Sample input

Ask what 10 percent of 150 is, then what percentage 30 is of 150, then the change from 100 to 150.

Sample output

The three rows report 15.00, 20.00 percent and 50.00 percent.

Who this is for

  • Students and teachers checking a result
  • Shoppers and small-business owners comparing prices
  • Anyone who needs one percentage answer without opening a spreadsheet

Frequently asked questions

What three percentage questions does this calculator answer?

It finds what X percent of Y is, what percentage X is of Y, and the percentage change from X to Y. Every answer recalculates as you type and is rounded to two decimal places.

Can it compound interest over several years?

No. It answers one percentage question per row and cannot chain several steps into one expression, so compound interest across periods belongs in a spreadsheet.

Why does a zero denominator show 0 instead of an error?

A division by zero is reported as 0, so an incomplete pair looks like a real answer of zero. Check the inputs before you quote the result.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.