Percentage Calculator
Pick the question you want to answer, type two numbers and get the result with the formula used.
Result
70
Formula
20 ÷ 100 × 350 = 70
Six percentage questions in one place
Most percentage problems are one of a handful of questions in disguise: how much is a discount, what share of a total does something represent, how much did a metric grow, what was the price before tax. Each one uses a slightly different formula, and mixing them up is the usual source of wrong answers. This calculator gives each question its own mode, shows the formula with your numbers filled in, and handles the awkward cases (division by zero, a change from zero) with a clear message instead of a meaningless result.
How to use it
- Choose a mode button. Each one loads a small example so you can see how the sentence reads.
- Replace the numbers in the sentence. You can type thousands separators (
1,250), decimals and negative numbers; a trailing%is ignored. - In Increase / decrease and Original value, use the drop-down to choose increase or decrease.
- Read the Result and the Formula line, then click Copy result if you need the number elsewhere.
The modes and their formulas
| Mode | Formula | Example |
|---|---|---|
| P% of Y | Y × P ÷ 100 | 20% of 350 = 70 |
| X is what % of Y | X ÷ Y × 100 | 70 of 350 = 20% |
| % change | (B − A) ÷ |A| × 100 | 200 → 250 = +25% |
| Increase / decrease | Y × (1 ± P ÷ 100) | 80 + 15% = 92 |
| X is P% of what? | X ÷ (P ÷ 100) | 45 is 30% of 150 |
| Original value | X ÷ (1 ± P ÷ 100) | 121 after +21% ← 100 |
Percentage change divides by the absolute value of the starting number, so going from −50 to −25 is reported as +50% (the value went up). A change starting at zero has no defined percentage, and the tool says so instead of showing "Infinity".
Worked example: a price with VAT
An invoice shows 121.00 including 21% VAT. Pick Original value, type 121, choose 21 and increase. The result is 100, with the formula121 ÷ (1 + 21 ÷ 100) = 100. A common mistake is to take 21% of 121 (25.41) and subtract it, which gives 95.59, the wrong net price. The same mode answers "this jacket costs 68 after a 20% discount, what was the label price?": 68 ÷ 0.8 = 85.
Limitations
Results are computed with standard double-precision floating point and shown with up to six decimals, after rounding away binary noise such as 0.30000000000000004. That is more than enough for prices and statistics, but for accounting you should still round to cents with your own rounding rule (for example round-half-even). The calculator does one step at a time; for compound growth over many periods, apply the increase repeatedly or use a dedicated compound-interest formula.
Tips and common mistakes
- Percent vs percentage points: from 4% to 5% is +1 point, but +25% in relative terms.
- Successive changes don't add up: +10% then +10% is +21%, not +20%.
- Choose the right base: "A is 25% more than B" does not mean "B is 25% less than A" (it is 20% less).
Need other quick calculations? Try the unit converter or the aspect ratio calculator.
Frequently Asked Questions
How do I calculate what percentage X is of Y?
Divide X by Y and multiply by 100. For example, 25 out of 200 is 25 ÷ 200 × 100 = 12.5%.
How do I calculate percentage change?
Subtract the old value from the new value, divide by the old value and multiply by 100. Going from 200 to 250 is (250 − 200) ÷ 200 × 100 = +25%; a negative result is a decrease.
Why does a 20% increase followed by a 20% decrease not return the original number?
Because the second percentage is taken from a different base. 100 increased by 20% is 120, and 20% of 120 is 24, so decreasing gives 96, not 100.
How do I find the price before tax or before a discount?
Divide the final amount by (1 + rate) for a tax or increase, or by (1 − rate) for a discount. A price of 121 including 21% VAT was 121 ÷ 1.21 = 100 before tax; use the Original value mode.
What is the difference between percent and percentage points?
Percentage points are the plain difference between two percentages, while percent change is relative. An interest rate going from 4% to 5% is a rise of 1 percentage point but a 25% increase.
Is anything I type sent to a server?
No. All calculations run in your browser with JavaScript; nothing is stored or uploaded.
Related tools
- Unit ConverterConvert between units of length, weight, temperature, speed, and area. Instant bidirectional conversion with common unit presets.
- Aspect Ratio CalculatorCalculate and simplify aspect ratios from width and height. Scale dimensions while locking ratio. Common ratios reference table.
- CSS Specificity CalculatorCalculate the specificity of any CSS selector. Breaks down IDs, classes, attributes, pseudo-classes, elements, and pseudo-elements. Compare two selectors.
- Color Opacity CalculatorPick a HEX color and an opacity level to get the equivalent rgba(), 8-digit hex (#RRGGBBAA), and CSS custom property. Live color swatch.
All Calculators tools · Found a bug or a wrong result? Report it.