Percentage Calculator - What Is X% of Y & More

Calculation

Calculate percentages: what is X% of Y, percent change, percent off discounts, reverse percentage, and more. Handles tax, tip, and markup math.

Select a calculation mode

Enter your values

View your result

Try other modes

This applies the percentage formulas to the numbers you entered. A gap between this and a receipt can come from rounding or from a jurisdiction's tax or tip rules, so check the receipt or the local rule before relying on it.

Formulas and sources

Each formula this calculator uses, where it comes from, and what it leaves out. "How it works" shows the same formula with your own numbers.

X% of Y

% of mode

Result = A × 0.01 × B
Result
the part
A
the percentage as typed (20 means 20%)
B
the whole

Source: Standard formula; no single publisher.

X is what % of Y

is % of mode

Result % = (A ÷ B) × 100
Result %
the percentage
A
the part
B
the whole, not zero

Source: Standard formula; no single publisher.

Percent change

% change mode

% Change = (New − Old) ÷ |Old| × 100
% Change
the change, as a percentage
New
the later value
Old
the starting value, not zero

The card gives the size of the change and says Increase or Decrease. For a positive Old, |Old| is Old, the usual formula. For a negative Old, dividing by its size keeps the word on the direction of the move: −50 to 25 is a 150% increase.

Source: Uses the formula in the US Bureau of Labor Statistics’ guide to percent changes [1] for a positive starting value. The rule for a negative one is CalcTrail’s own; no publisher.

Add X% to Y

add % mode

Result = Base × (1 + (A ÷ 100))
Result
the value with the percentage added
Base
the value
A
the percentage to add

Source: Standard formula; no single publisher.

Subtract X% from Y

minus % mode

Result = Base × (1 − (A ÷ 100))
Result
the value with the percentage taken off
Base
the value
A
the percentage to subtract; above 100 the result is negative

Source: Standard formula; no single publisher.

X% of Y%

% of % mode

Result % = (A × (B ÷ 100))
Result %
the combined percentage
A
the first percentage
B
the second percentage

50% of 20% is 10%.

Source: Standard formula; no single publisher.

Reverse percentage

reverse mode

Original = (A × 100) ÷ B
Original
the whole you are looking for
A
the known part
B
the percentage the part stands for, not zero

Source: Standard formula; no single publisher.

The question box

Every mode

It reads five forms: what is X% of Y, X is what % of Y, X is Y% of what, increase X by Y%, and decrease X by Y%. Each uses the formula above for that question. It does not read negative numbers, the word "percent", or "20% of 500" without "what is".

Source: CalcTrail’s own reading rules; no publisher.

Figures beside the result, and rounding

Every mode

The figures beside the result (the remaining amount, the difference, New ÷ Old and the like) come from the same two numbers. The card shows up to three decimals, and six significant digits below 0.001, so 0.1% of 0.2 shows 0.0002. "How it works" rounds to two decimals, four for % of %.

Source: CalcTrail’s own figures and display rules; no publisher.

Sources

  1. US Bureau of Labor Statistics. Calculating percent changes, Consumer Price Index fact sheet, Tables 1, 2 and 4. Last modified February 9, 2023.

What this calculator does not cover

  • Single-step percentage arithmetic only. It does not compound percentages over several periods (a savings or investment calculator does that) or convert percentages to fractions; the Fraction Calculator handles fractions.
  • A change in a figure that is itself a percentage, such as a rate going from 4% to 5%, is a rise of one percentage point. This tool does not label points: it answers 25%, because 5 is 25% above 4.
  • Markup and margin differ by their base. Add % is a markup on the value you enter; there is no margin mode.

Sources checked on .

Help

Quick Start Guide

  1. Select a calculation mode: Choose from 7 percentage modes, or skip straight to the natural-language question box below the fields for a plain-English question.
  2. Enter your values: Fill in the fields your chosen mode asks for.
  3. View your result: The result updates automatically as you type.
  4. Try other modes: Switch modes anytime to look at the same numbers a different way, for example percent-of against percent-change.
  5. Save a calculation: Use Save to History in the calculator header, then restore the calculation from the History panel later.
  6. Export or copy your result: Export as JSON, CSV or PDF, or copy a formatted summary.

Frequently Asked Questions

Convert the percentage to a decimal (divide by 100) and multiply by Y. Example: 20% of 50 = 0.20 × 50 = 10. That is how you find a percentage of any number, such as 15% of 80, which is 12.

Related Calculators

Last updated