Skip to main content

Percentage Calculator

Calculate percent of a number, what percent X is of Y, and percentage change between two values.

Result
30
20% × 150 = 30
Result
30
20% × 150 = 30

20% of 150 equals 30.

  • 100% private

    All math runs in your browser. Nothing leaves your device.

  • Formula-verified

    Each calculator is unit-tested against authoritative sources.

  • Instant results

    Static-rendered pages. Sub-second loads on any device.

  • Works offline

    Visit once and it keeps working without an internet connection.

How to use the Percentage Calculator

  1. 1

    Choose the percent mode

    Pick "Percent of", "Is what percent of" or "Percent change" depending on the question. Each mode uses a different formula, so the mode you choose decides what your two inputs mean.

  2. 2

    Enter the first value (X)

    Type your first number. In "Percent of" this is the rate (e.g. 18 for 18%). In "Is what %" this is the part (e.g. 30). In "Percent change" this is the original value (e.g. 80).

  3. 3

    Enter the second value (Y)

    Type your second number. In "Percent of" this is the base (e.g. 54). In "Is what %" this is the whole (e.g. 200). In "Percent change" this is the new value (e.g. 96).

  4. 4

    Read the result and worked formula

    The headline shows the answer to your specific question. The worked formula directly below it walks through the calculation so you can verify and learn the pattern for next time.

  5. 5

    Copy or share the result

    Use the copy or share button to capture the answer for a chat, email, or note. The shareable URL preserves your inputs so anyone you send it to sees the exact same calculation.

What this calculator does

A percentage is a number expressed as a fraction of 100. The word literally means "per hundred" (Latin: per centum). So 25% = 25/100 = 0.25 = one quarter. Percentages let us compare quantities of different sizes on a common scale — a $50 discount means very different things on a $100 item vs a $5,000 item, but "50% off" vs "1% off" tells you the relative weight instantly. This calculator handles the three universal percent operations: percent-of (multiplication), is-what-percent (division − percentage) and percent-change (difference — original — 100). All three are mathematically simple, but mixing them up is the most common percent mistake. Always identify which question you are answering before you compute.

Formula

Percent of: X% × Y = result. Is what %: (X ÷ Y) × 100 = %. Percent change: ((Y - X) ÷ X) × 100 = %.
X
First input — depends on mode (rate, part or original value)
Y
Second input — depends on mode (base value or new value)
result
A scalar for "percent of", a percentage for the other two modes

"Percent of" multiplies a rate (as decimal) by a base value: 18% of 54 = 0.18 × 54 = 9.72. "Is what percent of" inverts: 30 out of 200 = 30/200 = 0.15 = 15%. Percent change measures direction and magnitude relative to the starting value: from 80 to 96 = (96−80)/80 = 0.20 = +20%. A positive percent change is an increase; a negative one is a decrease. The denominator is always the original (older) value.

Worked examples

Example: 18% tip on a $54 bill

Question: What is 18% of $54?

18% × $54 = 0.18 × 54 = $9.72

Your total bill is $54 + $9.72 = $63.72. If splitting between 3 people, each pays $63.72 — 3 = $21.24.

Example: $30 off a $200 jacket — what percent discount?

Question: $30 is what percent of $200?

(30 ÷ 200) × 100 = 0.15 — 100 = 15%

So the jacket is 15% off. To verify: 15% of $200 = 0.15 × $200 = $30 ?.

Example: stock went from $80 to $96 — % change?

Question: What is the percent change from $80 to $96?

((96 - 80) ÷ 80) × 100 = (16 ÷ 80) × 100 = 0.20 × 100 = +20%

The stock gained 20%. Note that if it then fell from $96 back to $80, the percent change would be ((80 - 96) ÷ 96) × 100 = −16.67%. A 20% gain followed by a 16.67% loss puts you back to where you started — percent gains and losses are asymmetric.

Common use cases

  • Tipping at restaurants and rideshares (15-20% of pre-tax bill)
  • Sales tax and VAT on purchases
  • Computing markups and markdowns for retail pricing
  • Grading: converting raw marks to a percentage score
  • Investment returns: percent gain or loss over a period
  • Statistics: probabilities, confidence intervals and percentile ranks
  • Discounts and coupons: figuring out what you actually pay after percent-off
  • Commission calculations for sales roles and freelance contracts
  • Body composition: body fat percent, macronutrient ratios
  • Cooking and chemistry: percent-by-weight solutions

What affects the result

  • Which value is the "base" — putting the wrong number in the denominator flips the answer
  • Order of operations when multiple percentages stack (e.g. "20% off then 10% off" − 30% off)
  • Whether the input is already a decimal (0.18) or a percentage (18)
  • Rounding at intermediate steps — round only at the very end for accuracy
  • Sign of percent change — a positive change is an increase, negative a decrease
  • Compounding — annualised percent returns differ from simple total percent returns

Tips

  • Use the "Rule of 10": 10% of any number is the number with the decimal moved one place left — great for quick mental tipping math
  • For "X% of Y", X% and Y are interchangeable: 8% of 50 = 50% of 8 = 4. Use whichever is easier to compute
  • To "add 15%": multiply by 1.15. To "remove 15%": multiply by 0.85. To "reverse a 15% addition": divide by 1.15
  • Stacked discounts are always less than their sum — verify with multiplication, not addition
  • When comparing rates of return, always use the same time period (annualised) for a fair comparison
  • For percent change, always identify "from what" and "to what" before plugging numbers in

Mistakes to avoid

  • Confusing 20% off then 10% off with 30% off — stacked discounts multiply: 0.80 × 0.90 = 0.72, so 28% off, not 30%
  • Using the new value as denominator in percent change instead of the original
  • Mixing percentage points with percent change (going from 10% to 12% is +2 percentage points OR +20% — they are different)
  • Treating a 50% loss followed by a 50% gain as break-even (it isn't — 100 → 50 − 75, a 25% net loss)
  • Forgetting to divide by 100 when converting "30%" to a multiplier (use 0.30, not 30)
  • Computing percent of a percent incorrectly — 20% of 50% = 0.20 × 0.50 = 0.10 = 10%, not 70%

Frequently asked questions

How do I calculate X% of a number?

Multiply the number by X/100 (or X as a decimal). 20% of 150 = 0.20 × 150 = 30. Quick trick: "X% of Y" equals "Y% of X" — so 20% of 150 is the same as 150% of 20 = 30. Use whichever direction is easier to do in your head.

What is the difference between percent change and percentage points?

They measure different things. If a tax rate goes from 10% to 12%: in percentage-point terms it rose by 2 points; in percent-change terms it rose by 20% ((12−10)/10). News headlines often mix these — be precise when it matters financially.

How do I reverse a percentage to find the original?

If a final price of $84 already includes a 20% markup, the original is 84 × 1.20 = $70. If $84 is what is left after a 20% discount, the original is 84 × 0.80 = $105. Always divide by the multiplier (1+rate or 1?rate), never subtract a percent of the final price.

Why don't stacked discounts add up?

Each discount applies to the already-reduced price. 20% off then 10% off = 0.80 × 0.90 = 0.72 = 28% off the original — not 30%. For three stacked discounts (e.g. 10/20/30), the combined rate is 1 ≈ 0.90 × 0.80 × 0.70 = 1 − 0.504 = 49.6% off — not 60%.

How do I calculate percent gain that recovers a loss?

It is always larger than the loss. If you lose 20%, you need 25% to recover (because 0.80 × 1.25 = 1.0). Formula: required gain = loss / (1 − loss). A 50% loss needs a 100% gain. A 90% loss needs a 900% gain. This is "asymmetric loss math" and is critical in investing.

How do I convert a fraction to a percentage?

Divide top by bottom, multiply by 100. 3/4 = 0.75 × 100 = 75%. Quick checks: 1/2 = 50%, 1/3 = 33.3%, 1/4 = 25%, 1/5 = 20%, 1/8 = 12.5%, 1/10 = 10%.