Percentage & Ratio Calculator
X% of Y, % change, reverse %, percentage points, ratios and aspect ratios, with formulas.
How it works
Answers every everyday percentage question (X% of Y, X is what percent of Y, percentage change, increase or decrease by a percentage, reverse percentage, percentage points versus percent) and every ratio task (simplify, scale, split an amount, aspect ratios). Each answer shows the formula and the steps.
- X% of Y = X ÷ 100 × Y. X as a percent of Y = X ÷ Y × 100.
- Percentage change from X to Y = (Y − X) ÷ |X| × 100; positive is an increase.
- Increase Y by X% = Y × (1 + X/100); decrease Y by X% = Y × (1 − X/100).
- Reverse percentage: if Y is the value after a change of X%, the original is Y ÷ (1 + X/100) (use a negative X for a decrease, e.g. −20 for 20% off).
- Percentage points measure the plain difference between two percentages (3% − 2% = 1 percentage point); percent measures the relative change ((3 − 2) ÷ 2 = 50%).
- Ratios are simplified exactly: decimal terms are first multiplied by a power of 10 to make whole numbers, then divided by their greatest common divisor.
- Splitting an amount by a ratio uses the largest-remainder method at the chosen decimal places, so the parts always add up to exactly the amount.
- Aspect ratios: width:height simplified by the GCD, the decimal width ÷ height, and the nearest well-known ratio within 1%. Resizing keeps the ratio: new height = new width × height ÷ width.
Use this tool in an app
These free programs for your browser have this tool built in, next to everything else the task needs.
-
Ledgerly Household finance & life-admin desk
Budgets, bills, subscriptions, loans, contracts and deadlines on one private desk.
-
RavingDesk Paper trading & data workspace
Practise trading on paper and chart your data: orders, risk, datasets, analyses, reports.
How to use the Percentage and Ratio Calculator
Solve percentage and ratio questions — percent of, change, reverse VAT, points vs percent, splits, aspect ratios — with every step shown.
What it is for
Percentages are simple until you have to pick the right formula: is a price that went from 40 to 50 up 20 % or 25 %? How do you take 19 % VAT out of a price? Is a rate rise from 2 % to 3 % one percent or fifty? This calculator handles the common percentage questions and ratio tasks (simplify, scale, split an amount, aspect ratios). Choose the question, enter the values and get the answer with the formula and each step, so you can check it or explain it to someone else.
Worked example
Four quick questions, each a different mode:
15 % of 80 → 12. Steps: 15 ÷ 100 = 0.15, then 0.15 × 80 = 12.
Percentage change from 40 to 50 → +25 %. The difference (10) is divided by the starting value (40). Going back from 50 to 40 would be −20 %, which is why "up 25 %, down 20 %" ends where it started.
Price after 19 % VAT is 119: what was it before? (reverse mode, X = 19, Y = 119) → 100. The tool divides by 1.19. It also warns about the common mistake: taking 19 % off 119 gives 96.39, not 100.
Interest rate from 2 % to 3 % (points mode) → 1 percentage point, which is a 50 % relative increase. Both statements are true; headlines often use the bigger-sounding one.
Ratios work the same way. Split 1,000 by 2:3:5 gives 200, 300 and 500. For 1920 × 1080, the aspect ratio is 16:9 (1.778:1), and at 1280 wide the matching height is 720.
How to read the result
- Answer is the headline number, with its unit (%, percentage points) where relevant.
- Formula shows the general rule; Steps show it applied to your numbers.
- Warnings point out typical traps, such as the reverse-percentage mistake.
- Split mode adds a table of ratio terms, the 1 : n form and each share, plus a bar chart.
Tips and common mistakes
- In percentage change, the base is always the old value. Swap X and Y and you get a different percentage.
- For a reverse calculation after a discount, enter a negative X: a sale price of 80 after 20 % off is X = −20, Y = 80, giving 100.
- Two successive changes don't add up: +10 % then +10 % is +21 %, not +20 %. Use "increase" twice to see it.
- Splitting money uses the largest-remainder method at your chosen decimals, so the parts always add up to the total — no lost or extra cent.
- Ratios accept decimals (1.5:2) and up to ten terms (2:3:5). They are simplified exactly.
- For aspect ratios, give only the new width or the new height; the other one follows.
FAQ
What is the difference between percent and percentage points?
Percentage points are the plain difference between two percentages (3 % − 2 % = 1 point). Percent is the relative change (1 ÷ 2 = 50 %). Interest rates, polls and unemployment figures should be compared in points.
How do I calculate a price without VAT?
Use the reverse mode with the VAT rate as X and the gross price as Y. The original is gross ÷ (1 + rate/100).
Why does the split not divide evenly?
When an amount doesn't divide cleanly at the chosen decimals, the leftover cents go to the parts with the largest remainders, so the total stays exact.
Can it handle negative start values?
Yes. Percentage change divides by the absolute value of the start, so the sign of the result still shows the direction.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://percentageratiocalculator.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://percentageratiocalculator.usefulweb.site/mcp· tool namepercentage_ratio_calculator
Example request
curl -s -X POST https://percentageratiocalculator.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{"mode":"percent-of","x":15,"y":80}'