How to Calculate Percentages: Three Common Methods

Published on June 20, 2026 • Updated on September 8, 2026

Quick summary

Learn the three most common percentage calculations — X% of Y, X is what percent of Y, and percentage change — with formulas, examples and common mistakes.

Topic: Image tools

A percentage expresses a number as a fraction of 100. The three most common calculations are: what is X% of Y, X is what percent of Y, and the percentage change between two values. The NeatForge Percentage Calculator handles all three live in your browser, with color-coded results for increases and decreases.

Three Common Percentage Calculations

Most percentage questions fall into one of three patterns:

  1. What is X% of Y? — e.g. what is 20% of 80?
  2. X is what percent of Y? — e.g. 30 is what percent of 150?
  3. Percentage change — e.g. what is the percent increase from 80 to 100?

Formulas for Each Method

1. X% of Y

result = (X / 100) × Y

Example: 20% of 80 = (20 / 100) × 80 = 16.

2. X is what percent of Y

result = (X / Y) × 100

Example: 30 is what percent of 150 = (30 / 150) × 100 = 20%.

3. Percentage change

result = (new - old) / |old| × 100

Example: change from 80 to 100 = (100 - 80) / 80 × 100 = +25% (an increase). A negative result is a decrease.

Common Mistakes to Avoid

  • Division by zero — percentage change is undefined when the old value is zero. The calculator shows a dash instead of a number in that case.
  • Direction of change — (new - old) gives the correct sign. Swapping the order flips increase to decrease.
  • Confusing “of” with “off” — “20% of 80” is 16; “20% off 80” is also a 16-unit discount, but the final price is 64, not 16.
  • Using absolute value incorrectly — the denominator uses |old| so a negative old value still gives a meaningful percentage, but the sign of the result comes from the numerator.

Use Cases for a Percentage Calculator

  • Discounts and sales — compute the final price after a 20% discount, or the original price before tax.
  • Academic grades — find what percentage you scored on a test, or what mark you need on the final to hit a target grade.
  • Finance and investing — calculate the percentage gain or loss on a stock, or the interest rate on a loan.
  • Business metrics — compute month-over-month growth, conversion rates, or year-over-year revenue change.

How to Use the Percentage Calculator

  1. Open the Percentage Calculator.
  2. Pick the mode that matches your question (X% of Y, X is what % of Y, or % change).
  3. Type the two input values. The result updates instantly — no button to click.
  4. For percentage change, green means an increase and red means a decrease.

All inputs accept decimals and negative numbers, and results show up to 6 decimal places with trailing zeros trimmed.

Percentage points versus percentage change

A percentage point is the direct arithmetic difference between two percentages. If a conversion rate moves from 20% to 25%, it increased by 5 percentage points. The relative percentage change is 25%, because 5 is one quarter of the original 20. Use percentage points when reporting rates and percentage change when comparing relative growth.

For discounts, calculate the amount saved first and subtract it from the original price. A 20% discount on $80 saves $16, so the final price is $64. For a tax or markup, add the calculated amount instead. If several percentage changes happen in sequence, apply each change to the new value; adding the percentages together can produce the wrong result.

Worked examples: discounts, taxes, and growth

These three patterns cover most everyday percentage math.

Discounts: start from the original price, multiply by the discount rate, then subtract. A $120 jacket at 25% off saves (25 / 100) × 120 = $30, so you pay $90. For “20% off $80”, the discount is $16 and the final price is $64. To reverse-engineer a sale, divide the sale price by (1 − discount rate): a $72 item after 20% off was originally 72 / 0.8 = $90.

Taxes and tips: add instead of subtracting. A $50 meal with 8% tax costs 50 × 1.08 = $54. A 15% tip on the pre-tax $50 is (15 / 100) × 50 = $7.50, for a $61.50 total. When prices already include tax, extract the base by dividing by (1 + rate): $108 including 8% tax means a $100 base.

Increases and decreases over time: use percentage change with the older value as the reference. Revenue growing from $80,000 to $100,000 is (100,000 − 80,000) / 80,000 × 100 = +25%. A stock falling from $150 to $120 is (120 − 150) / 150 × 100 = −20%. To recover from a 20% drop you need a 25% gain, because the base shrank — a common reason sequential percentages cannot simply be added.

When stacking changes, apply each step to the new subtotal. A 10% raise followed by a 10% cut does not return to the original salary: $100 becomes $110, then $99.

FAQ

→ Open the free Percentage Calculator

Advertisement

Frequently asked questions

How do I calculate X percent of Y?

Convert X to a decimal by dividing it by 100, then multiply by Y. For example, 20% of 80 is (20 / 100) × 80 = 16.

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

Divide the first number by the reference number and multiply by 100. For example, 30 is (30 / 150) × 100 = 20% of 150.

How do I calculate percentage change?

Subtract the old value from the new value, divide by the absolute old value, and multiply by 100. A positive result means an increase and a negative result means a decrease.

Can I calculate percentages with decimals or negative numbers?

Yes. The calculator accepts decimal and negative inputs. Interpret the result in the context of the reference value, and remember that percentage change is undefined when the old value is zero.

What is the difference between a percentage increase and a percentage point increase?

A percentage increase compares relative change, while percentage points describe the direct difference between two percentages. Moving from 20% to 25% is a 5 percentage-point increase but a 25% relative increase.

Explore this topic

Image tools

Read more guides in this cluster and move between related tools faster.

View topic guides

Useful tools

Related Guides