πŸ“Š

Percentage Calculator

Find what percent one number is of another, calculate discounts and markups, or reverse-engineer the original price before a percentage change.

Percentage Calculator

Three percentage calculations you probably do weekly

You're at a restaurant and the bill is $186. You want to leave 15% but don't want to do mental math. A supplier quotes $4,200 for a project but you need to know what 22% VAT adds to the total. Your marketing dashboard shows conversions went from 340 to 415 last month and you need the percentage increase for your report. All three are the same fundamental operation β€” percentages β€” but most people reach for a spreadsheet or Google search each time. This calculator handles all three in one place: enter your numbers, pick the mode, and get the answer instantly.

The tool has three modes. What is X% of Y? calculates a percentage of a number β€” the discount amount, the tax, the tip. X is what % of Y? tells you what percentage one number is of another β€” your score on a test, how much of the budget you've spent, what share of the market you hold. % Change shows the relative difference between two values β€” useful for month-over-month growth, price increases, or performance comparisons.

Results update as you type. No button click required. Use the Reset button to clear everything and start over.

Who uses this calculator

Shoppers and diners working out discounts and tips

A $240 jacket at 30% off costs $168 β€” but the "% of" mode also handles the reverse: if the jacket is now $168 and you know it was 30% off, what was the original price? Divide 168 by 0.7 to get $240. The calculator does this in one step.

Accountants and bookkeepers reconciling invoices

When a supplier invoice shows a subtotal of $3,850 and a total of $4,620, the "% Change" mode instantly confirms 20% VAT was applied. Quick verification without a spreadsheet row.

Students checking exam scores and grade boundaries

If you scored 67 out of 85 on a maths test, the "X is what % of Y" mode returns 78.8%. You can immediately compare that against the grade boundary β€” 80% for an A β€” to see how many more marks you needed.

Marketing and sales teams tracking KPIs

Conversions jumped from 2,400 to 3,120 this quarter. The "% Change" mode returns +30% β€” the figure that goes straight into your slide deck. No formula in Excel, no Google search, no rounding confusion.

The three formulas and when each one applies

Every percentage problem reduces to one of three arithmetic expressions. This calculator identifies which one you need based on which mode tab you select, then executes it on every keystroke so the answer is always current.

The formulas

X% of YResult = Y Γ— (X Γ· 100)
X is what % of YResult = (X Γ· Y) Γ— 100
% ChangeResult = ((New βˆ’ Old) Γ· |Old|) Γ— 100

How each formula works in practice

X% of Y is the most straightforward: divide the percentage by 100 to get a decimal, then multiply. A 20% discount on $150 is 150 Γ— 0.20 = $30. A 7% tax on $84.50 is 84.50 Γ— 0.07 = $5.915, which rounds to $5.92. The division by 100 is the key step that most people skip when doing this in their head β€” "20% of 150" feels like it should be 150 Γ— 20, but it's 150 Γ— 0.20.

X is what % of Y flips the operation: you know the part and the whole, and need the ratio. 45 out of 180 on a test is (45 Γ· 180) Γ— 100 = 25%. Your team closed 12 out of 48 deals this quarter: (12 Γ· 48) Γ— 100 = 25% close rate. The same formula works for market share: if your company has $3.2M in revenue out of a $28M market, your share is (3.2 Γ· 28) Γ— 100 = 11.4%.

% Change is the most error-prone because the order matters. Going from 80 to 100 is a +25% increase: ((100 βˆ’ 80) Γ· 80) Γ— 100 = 25%. But going from 100 back to 80 is a βˆ’20% decrease: ((80 βˆ’ 100) Γ· 100) Γ— 100 = βˆ’20%. The same absolute difference (20 units) produces different percentages because the base changes. The formula uses the absolute value of the original to handle negative inputs correctly β€” a price drop from βˆ’$5 to βˆ’$3 is a 40% change, not a sign-flipped result.

Why results update as you type

The calculator attaches an input event listener to every field. Each keystroke triggers a recalculation, so the answer is always current without pressing a button. This is faster than a "Calculate" button workflow for quick checks β€” you type "20" and "150" and the answer "30" appears before your finger leaves the keyboard. If any field is empty or contains non-numeric text, the result clears automatically to avoid showing a stale number.

Handling edge cases

Division by zero is the most dangerous percentage error. If the denominator is zero β€” for example, asking "what % of 0 is 5?" β€” the calculator catches it before computing and shows a clear error message instead of Infinity or NaN. Negative denominators in "% Change" mode are handled correctly: a price going from βˆ’$50 to βˆ’$30 is a 40% increase (the formula divides by the absolute value of the original). Empty fields are treated as NaN, which triggers the validation check and prevents partial results from displaying.

Frequently Asked Questions

How do I calculate a percentage increase?

Switch to the '% Change' mode. Enter the original value (the lower number) in the 'Original value' field and the new value (the higher number) in the 'New value' field. The calculator returns the percentage increase as a positive number. For example, going from 80 to 100 yields +25%. The same mode handles decreases β€” entering a higher original and lower new value produces a negative percentage. A price drop from $200 to $150 shows βˆ’25%, which is the correct figure for your margin calculation.

What is the formula for a percentage discount?

Use the 'What is X% of Y?' mode: enter the discount percentage (e.g. 20) and the original price (e.g. 150). The result (30) is the discount amount. Subtract it from the original price to get the final sale price ($120). For a quick check: a 20% discount means you pay 80% of the original, so multiply 150 by 0.80 directly. Both methods give $120. This two-step approach works for any discount structure, including stacked promotions where a second discount applies to the already-reduced price.

Can I calculate reverse percentages?

Yes β€” the 'X is what % of Y?' mode handles this directly. Enter the part value (X) and the total (Y). The calculator returns what percentage the part represents. If a product is now $168 after a 30% discount, you can verify the original price by entering 168 as X and working backward: 168 Γ· 0.70 = $240. This is also useful for determining completion rates, market share, or what fraction of a budget has been spent.

How do I work out a tip?

Enter the tip percentage (e.g. 15 or 20) and the bill total in the 'What is X% of Y?' mode. The result is the tip amount in dollars. For a $186 bill at 15%, the tip is $27.90, making the total $213.90. For split bills, divide the tip amount by the number of people before adding each person's share of the food cost. If four people split a $186 bill with a $27.90 tip, each person pays $53.48 ($46.50 food + $6.98 tip).

What happens if I enter zero as the denominator?

The calculator catches division by zero before computing and shows a clear error message instead of Infinity or NaN. In '% Change' mode, the original value cannot be zero because the formula divides by it β€” a move from $0 to $50 is mathematically undefined as a percentage. In 'X is what % of Y?' mode, Y cannot be zero for the same reason. This validation runs on every keystroke, so you'll see the error immediately rather than after clicking a button.

Why does the result update as I type instead of only after clicking Calculate?

The tool listens for the 'input' event on every field, triggering a recalculation on each keystroke. This gives immediate feedback β€” you type '20' in the percentage field and '150' in the value field, and '30' appears before your finger leaves the keyboard. The Calculate button still works if you prefer a deliberate action, but the auto-update is faster for quick checks. If any field is empty or contains non-numeric text, the result clears automatically to prevent showing a stale number.

How do I find what percentage one number is of another?

Use the 'X is what % of Y?' mode. Enter the first number as X (the part) and the second as Y (the whole). The result is the percentage. For example, 45 out of 180 on a test returns 25%. Your team's $3.2M revenue in a $28M market gives 11.4% market share. A completed project showing 847 out of 1,200 tasks done returns 70.6% β€” useful for status reports. This is the most versatile of the three modes because it answers 'how much of the total do I have?'

Can I use this calculator for compound percentage changes?

This tool handles single-step calculations. For compound changes β€” for example, a 10% price increase followed by a 15% discount β€” apply each change sequentially: calculate the first percentage, note the result, then use that as the input for the second. On a $200 item: 10% increase = $220, then 15% discount on $220 = $33 off, final price $187. The net effect is actually a βˆ’7% change overall, which the '% Change' mode confirms when you compare $200 to $187.

How is this different from Excel's percentage formulas?

Excel requires you to remember formula syntax (=A1*20%, =B1/A1*100, =(B1-A1)/ABS(A1)*100) and set up cells correctly. This calculator gives you three clearly labelled modes with no formula setup. For quick, one-off percentage calculations β€” a discount at the store, a tip, a test score β€” it's faster than opening a spreadsheet. For ongoing calculations with linked data, Excel is more powerful. Use whichever fits the task.

Why does a 50% decrease require a 100% increase to get back to the original?

This is the base-change problem that catches everyone. A $100 item at 50% off costs $50. To get back to $100 from $50, you need a $50 increase on a $50 base β€” which is 100%, not 50%. The '% Change' mode handles this correctly because it always divides by the current value, not the original. This asymmetry is why percentage changes are misleading without specifying the base: '50% off' sounds equal to '50% increase' but they aren't inverse operations.

percentagepercentmathcalculatorincreasedecreasediscount

More Tools You Might Like

Ο€Pi (Ο€) Explorer: The Infinite Geometric Constant
πŸ”’Kaprekar Constant Calculator
🏠Mortgage Amortization Calculator
βš–οΈBMI Calculator
πŸ“Word Counter
πŸ”‘JWT Debugger