Percentage Calculator
15% of 200 is 30.
Formula and source
result = P / 100 × XWikipedia · PercentageHow to calculate percentages
The calculator has five tabs. Basic finds P% of X, what percent X is of Y, the whole when X is P% of it, and X increased or decreased by P%. Change gives the percent change from A to B and the move needed to get back to A. Points separates percentage points from relative change. Reverse recovers an original value from a discounted price, a marked-up price or a share. Margin works out margin and markup from cost and price, or the price needed for a target margin or markup.
How to use the percentage calculator
- Pick the tab that matches the question: Basic, % change, Points, Reverse or Margin. Each opens with example values filled in.
- In Basic, choose one of the four questions under “What do you want to find?”. For “Increase or decrease by %”, also set Direction.
- Replace the example numbers. The result updates as you type. An empty field or text that is not a number is flagged when you leave the field, and the last valid result stays on screen, dimmed, until you fix it.
- “Formula and source” shows the formula in use. Copy puts the result sentence on the clipboard. Reset restores the example values of the current tab only; the other tabs keep what you typed.
Percentage formulas
P% of X = P ÷ 100 × X. X as a percent of Y = X ÷ Y × 100. Percent change from A to B = (B − A) ÷ A × 100. After a drop of d, the gain needed to recover is d ÷ (1 − d), so a 50% drop needs a 100% gain, not another 50%. The original price before P% off is B ÷ (1 − P ÷ 100), so 80 after 20% off was 100. Markup is profit ÷ cost and margin is profit ÷ price.
Notes & conventions
Results are rounded half-up to at most four decimal places, with trailing zeros trimmed. Inputs accept a leading $, percent signs, and thousands separators, all of which are stripped before calculating; a percent field is read as the number you type (15 means 15%). Divide-by-zero cases — a zero total, a zero base, a 100%-off reverse, or a target margin of 100% or more — show an inline error instead of a number.
Worked percentage examples
- Stacked discounts: 200 decreased by 20% is 160, and 160 decreased by 10% is 144. The % change tab gives 200 → 144 as −28%, not −30%, because the second discount applies to the reduced price.
- Price before sales tax: a total of 59.40 that includes 8% tax was 55 before tax (Reverse, “Is P% more”).
- Tip: 18% of 64.50 is 11.61. “Increase or decrease by %” with Increase gives the total, 76.11, and the same 11.61 as the net change.
- A 25% drop needs a 33.3333% rise: 120 → 90 is −25%, and the “To get back to the start” line shows an increase of 33.3333%.
- Pricing from a cost of 30: a 40% target margin needs a price of 50, while a 40% target markup needs 42. Selling at 42 is only a 28.5714% margin.
Why results can differ from other calculators
Rounding: results keep four decimals and a 5 in the fifth place rounds away from zero, so −0.00005 shows as −0.0001 and 2 ÷ 3 × 100 shows as 66.6667 where a two-decimal calculator shows 66.67. Negative bases: the formula (B − A) ÷ A is applied as written, so −50 → 50 gives −200% even though the value went up. A spreadsheet formula returns the same number without comment; here a warning appears beside it. Calculators that divide by |A| report +200% instead. Undefined cases: a start value of 0 has no percent change, so the % change tab shows an error; the Points tab still gives the point difference and marks the relative change as undefined; a markup on a cost of 0 is undefined while the margin is still shown. A price below cost is labelled Loss, with negative margin and markup: cost 50 and price 40 is a −25% margin and a −20% markup.
Common percentage mistakes
- Typing a percent as a decimal. The Percent field takes the number in front of the % sign: 0.15 means 0.15%, and 0.15% of 200 is 0.3, not 30.
- Using a comma as the decimal mark. Commas are removed as thousands separators, so 1.234,5 is read as 1.2345. Type 1234.5.
- Removing sales tax or a markup with “Is P% off”. That choice divides by 1 − P ÷ 100. A price that already includes an added percentage needs “Is P% more”, which divides by 1 + P ÷ 100.
- Adding percentages that apply one after another. 20% off followed by 10% off is 28% off.
- Entering a 100% target margin. Margin is profit ÷ price, so it stays below 100% for any cost above zero and the calculator rejects 100 or more. Markup has no upper limit: a 100% markup doubles the cost.
FAQ
How do I calculate a percentage of a number?
Divide the percentage by 100 and multiply by the number. 15% of 80 is 0.15 × 80 = 12. To add 15% to 80, multiply by 1.15 to get 92; to take 15% off, multiply by 0.85 to get 68.
How do I find what percent one number is of another?
Divide the part by the whole and multiply by 100. 18 out of 24 is 18 ÷ 24 × 100 = 75%. If the whole is 0 the result is undefined, and the calculator shows an error.
How do I calculate percent change or percentage increase?
Subtract the old value from the new value, divide by the old value and multiply by 100. From 50 to 65 is (65 − 50) ÷ 50 × 100 = +30%. From 65 back to 50 is −23.0769%, because the base is now 65.
What is the difference between a percentage point and a percent?
Going from 4% to 5% is a rise of one percentage point, but a 25% relative increase (1 ÷ 4). Use percentage points for the absolute gap between two rates, and percent change for how much one rate grew relative to the other. A drop from 50% to 40% is 10 percentage points, or a 20% relative decline.
How do I find the original price before a discount?
Divide, do not multiply. An item that costs 80 after 20% off has an original price of 80 ÷ (1 − 0.20) = 100, not 80 × 1.2 = 96. The Reverse tab does this division and also shows the common multiply mistake for contrast.
Is markup the same as margin?
No. Markup divides profit by cost; margin divides profit by price. For a cost of 40 and a price of 100 the same 60 profit is a 150% markup but a 60% margin.
Related tools
Related articles
- 4% to 5% Is +1 Point and +25% at the Same Time — the Percentage Trap Most Calculators Ship
A rate moving from 4% to 5% rose 1 percentage point and 25% in relative terms. Points vs percent change, loss recovery, reverse discounts, and markup vs margin.