Percentage calculator — all the modes
This calculator answers every common percentage question in one place: what is X% of Y, X is what percent of Y, the percentage increase or decrease between two numbers, and the reverse percentage to find an original value before a change was applied. It is built for shoppers checking discounts, students working through maths homework, and anyone reconciling a price, a tax line, or a change in a figure. Pick a mode, type two numbers, and the answer appears instantly.
How it works
Each mode uses a standard percentage formula:
- X% of Y computes
(X ÷ 100) × Y. - X is what % of Y computes
(X ÷ Y) × 100. - % change from X to Y computes
((Y − X) ÷ X) × 100, showing a+for an increase and−for a decrease. - Reverse computes
Y ÷ (1 + change ÷ 100), recovering the original value before a percentage change pushed it to its final amount.
Every result is rounded to six decimal places to avoid floating-point noise, and divisions by zero are guarded so the tool never shows an error.
Example
You bought a jacket for £120 in a sale that took 20% off the new price. To find
the original price, use Reverse mode: 120 ÷ (1 + 20 ÷ 100) = 120 ÷ 1.20 = £100. Note that £100 minus 20% is £80, not £120 — which is exactly why a reverse
percentage needs division, not subtraction.
| Question | Formula | Example | Result |
|---|---|---|---|
| What is X% of Y | (X ÷ 100) × Y | 15% of 200 | 30 |
| X is what % of Y | (X ÷ Y) × 100 | 30 of 200 | 15% |
| % change X → Y | ((Y − X) ÷ X) × 100 | 80 → 100 | +25% |
| Reverse a change | Y ÷ (1 + change ÷ 100) | 120 after +20% | 100 |
Everything runs entirely in your browser — no numbers are uploaded or stored.