Percentage Calculator

What is X% of Y, X as a percent of Y, and more.

Enter details

X% of Y

30

X is what % of Y
13.3333%
Y is what % of X
750%
Y increased by X%
180
Y decreased by X%
120

How x% of y changes with

Value X: 10 → 1530 → 45

The dot is your current value. The graph updates as you type.

Percentage Calculator Guide: Formula & Worked Example

Short answer

What is X% of Y, X as a percent of Y, and more. In the fixed example below, x% of y is 30. Your answer depends on the inputs and assumptions you choose.

Formula

Result = Percentage Calculator calculation using value x, value y

The inputs are value x, value y. Use the input scale shown beside each field and keep time periods and units consistent. Only round the final result for display.

Worked example

Value X
20
Value Y
150
  • X% of Y: 30
  • X is what % of Y: 13.3333%
  • Y is what % of X: 750%
  • Y increased by X%: 180
  • Y decreased by X%: 120

Understanding the result

What is X% of Y, X as a percent of Y, and more. Start with the base example, then replace each value with the figure that matches your situation.

Value X

The example uses 20 for value x. This is an illustration, not a recommended value. Keep the unit and time period shown by the field.

Value Y

The example uses 150 for value y. This is an illustration, not a recommended value. Keep the unit and time period shown by the field.

What the comparison means

The comparison changes only value x, keeping every other example input fixed. This isolates that input's effect on the primary result. It does not predict future outcomes.

Check units, date boundaries and rounding before using the answer in a report or a practical measurement.

Percentage formulas at a glance

| Question | Formula | Example | |---|---|---| | What is X% of Y? | (X ÷ 100) × Y | 20% of 150 = 30 | | X is what percent of Y? | (X ÷ Y) × 100 | 30 is 20% of 150 | | Percentage change from A to B | ((B − A) ÷ A) × 100 | 80 → 100 = +25% | | Increase Y by X% | Y × (1 + X ÷ 100) | 150 + 20% = 180 | | Decrease Y by X% | Y × (1 − X ÷ 100) | 150 − 20% = 120 | | Find the original before a % increase | New ÷ (1 + X ÷ 100) | 180 after +20% → 150 |

People also ask

How do I calculate a percentage in my head?

Find 10% by moving the decimal one place left, then scale. 10% of 240 is 24, so 5% is 12 and 15% is 36. For 1%, move the decimal two places: 1% of 240 is 2.4.

Why doesn't a 50% drop followed by a 50% rise get me back to the start?

Each percentage is applied to a different base. 100 falls 50% to 50, and 50 rising 50% is only 75. To recover a 50% loss you need a 100% gain.

What is the difference between percent and percentage points?

If an interest rate goes from 4% to 5%, it rose by 1 percentage point but by 25 percent of its original value. News and finance often mix these up.

How do I reverse a discount or sales tax?

Divide, don't subtract. A price of 92 after a 20% discount was 92 ÷ 0.8 = 115, not 92 + 20% = 110.4.

Real-life uses

  • Shopping: compare "30% off" with "buy 2 get 1 free" (that is 33.3% off per item).
  • Salary: a raise from 50,000 to 54,000 is (4,000 ÷ 50,000) × 100 = 8%.
  • Grades: 42 correct out of 60 is 70%.
  • Investing: a portfolio moving from 12,000 to 13,500 returned 12.5%.

Comparison

ScenarioInputResult
Lower inputValue X: 16X% of Y: 24
Base exampleValue X: 20X% of Y: 30
Higher inputValue X: 24X% of Y: 36

Common mistakes

  • Using the wrong units for value x.
  • Comparing results while changing more than one input at a time.
  • Check units, date boundaries and rounding before using the answer in a report or a practical measurement.

Checklist

  • Confirm value x.
  • Confirm value y.
  • Check the result against your source or provider.

Calculators Percentage Editorial Team

Calculator guides from the Calculators Percentage team. These introductory examples are educational, not professional advice.

Last reviewed:

Check units, date boundaries and rounding before using the answer in a report or a practical measurement.

Frequently Asked Questions

How do I calculate a percentage of a number?

Multiply the number by the percentage and divide by 100. For example, 20% of 150 = 150 × 20 ÷ 100 = 30.

How do I find what percent one number is of another?

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

How do I use the Percentage Calculator?

Enter Value X, Value Y, then press Calculate. Your results appear instantly and update every time you change a value and calculate again.

How accurate are the results?

Results are calculated with full precision and rounded for display. For critical work, double-check the rounding you need.

Is this calculator free?

Yes. The Percentage Calculator and all other math calculators on Calculators Percentage are free, with no sign-up required.

Sources & references

Formulas are tested against hand-checked answers. How we check our calculators.

Estimates only. Confirm final figures, terms and fees with your bank, provider or a qualified professional.

Last updated: January 15, 2026