HassleFreeTools

Percentage Calculator

Calculate X% of Y, what percent X is of Y, percentage increase or decrease, reverse percentages, adding or subtracting a percentage and percentage difference.

What is X% of Y?

–

Enter X and Y to see the result.

Formula: X × Y ÷ 100

X is what percent of Y?

–

Enter X and Y to see the result.

Formula: X ÷ Y × 100

Percentage change from X to Y

–

Enter X and Y to see the result.

Formula: (Y − X) ÷ |X| × 100

X is Y% of what number?

–

Enter X and Y to see the result.

Formula: X ÷ Y × 100

Add or subtract X% to or from Y

–

Enter X and Y to see the result.

Formula: Y + Y × X ÷ 100

Percentage difference between X and Y

–

Enter X and Y to see the result.

Formula: |X − Y| ÷ ((X + Y) ÷ 2) × 100

This compares the gap with the average of the two numbers, so the order does not matter: 80 and 100 differ by 22.22% either way. Percentage change measures from a starting value instead, so 80 to 100 is +25% but 100 to 80 is -20%.

Runs entirely in your browser. Your files and text are not uploaded.

How to use Percentage Calculator

  1. Step 1: Pick the calculation

    Find the card that matches your question, such as “What is X% of Y?” or “Percentage change from X to Y”.

  2. Step 2: Enter X and Y

    Type the two numbers. Decimals, negative numbers and commas between thousands all work.

  3. Step 3: Read or copy the answer

    The result, the working and the formula appear as you type. Press “Copy result” to copy the answer as a sentence.

The formulas

A percentage is a number out of 100, so 15% means 15 ÷ 100 = 0.15. Each card on this page uses one of these formulas:

Question Formula Example
What is X% of Y? X × Y ÷ 100 15% of 2,000 = 300
X is what percent of Y? X ÷ Y × 100 300 is 15% of 2,000
Percentage change from X to Y (Y − X) ÷ |X| × 100 80 to 100 = +25%
X is Y% of what number? X ÷ Y × 100 300 is 15% of 2,000
Add X% to Y Y + Y × X ÷ 100 2,000 plus 18% = 2,360
Subtract X% from Y Y − Y × X ÷ 100 2,499 minus 15% = 2,124.15
Percentage difference |X − Y| ÷ ((X + Y) ÷ 2) × 100 80 and 100 = 22.22%

Worked examples

Marks as a percentage. If you scored 437 out of 500, use "X is what percent of Y?": 437 ÷ 500 × 100 = 87.4%.

Price after a discount or tax. A 15% discount on ₹2,499 takes off 2,499 × 15 ÷ 100 = ₹374.85, leaving ₹2,124.15. Adding a tax of 18% to ₹2,000 adds ₹360, giving ₹2,360.

Finding the amount before a percentage was added. If ₹2,360 already includes 18% tax, the original amount is 2,360 ÷ 118 × 100 = ₹2,000. Use "X is Y% of what number?" with Y = 118. Taking 18% off ₹2,360 gives ₹1,935.20, which is wrong, because the tax was worked out on the smaller amount.

Salary or price rise. A salary that goes from ₹40,000 to ₹46,000 has risen by (46,000 − 40,000) ÷ 40,000 × 100 = 15%.

Percentage change or percentage difference?

Percentage change has a direction. It measures how far a value moved from its starting point, so 80 to 100 is an increase of 25%, while 100 to 80 is a decrease of 20%. Use it for prices, salaries, marks or anything that changes over time. When the starting value is negative, the calculator divides by its size, so a rise always shows as an increase.

Percentage difference has no direction. It compares the gap between two numbers with their average, so 80 and 100 differ by 22.22% whichever comes first. Use it to compare two measurements of the same kind, such as two quotes or two test results, when neither is the starting point.

Rounding and number formats

Percentages are shown with up to 2 decimal places and other results with up to 4. Very small results keep their first significant digits instead of rounding to 0. Numbers use Indian digit grouping (1,50,000). You can type commas between thousands in either style, but use a dot for decimals.

Your numbers are calculated in your browser and are not sent to our server.

Limitations

  • Results are rounded for display: percentages to 2 decimal places and other results to 4. Results with more than 15 digits before the decimal point are accurate to about 15 significant digits.
  • Numbers can have up to 15 digits and 12 decimal places. A comma is always read as a thousands separator, so 12,5 is not accepted as twelve and a half.
  • Percentage change from a negative starting value, and percentage difference between a negative and a positive number, are calculated but can be misleading. The calculator adds a note when this happens.
  • On iPhone and iPad the number keypad has no minus key. To enter a negative number, paste it in or use a keyboard with a minus key.

Frequently asked questions

How do I calculate a percentage of a number?

Multiply the number by the percentage and divide by 100. For example, 15% of 2,000 is 2,000 × 15 ÷ 100 = 300.

How do I work out a percentage increase or decrease?

Subtract the old value from the new value, divide by the old value and multiply by 100. From 80 to 100 the change is (100 − 80) ÷ 80 × 100 = 25%, an increase. A negative answer means a decrease.

What is the difference between percentage change and percentage difference?

Percentage change measures how much a value grew or shrank from a starting value, so the order matters: 80 to 100 is +25%, but 100 to 80 is −20%. Percentage difference compares two values with their average and has no direction, so 80 and 100 differ by 22.22% either way.

How do I find the price before tax or another percentage was added?

Use “X is Y% of what number?” with Y set to 100 plus the percentage. If ₹2,360 includes 18% tax, enter 2,360 and 118 to get ₹2,000. Subtracting 18% from ₹2,360 gives the wrong answer, because the tax was calculated on the original amount.

How do I calculate my percentage of marks?

Use “X is what percent of Y?”. Enter the marks you scored as X and the maximum marks as Y. For 437 out of 500, the result is 437 ÷ 500 × 100 = 87.4%.

Why does the calculator say it cannot divide by zero?

Some calculations divide by one of your numbers: the total, the starting value, the percentage or the average of the two numbers. When that number is 0 there is no meaningful answer, so the calculator tells you which number to change.

Add GST to a price or take it out of a GST-inclusive amount, with the CGST and SGST/UTGST or IGST split. Uses the GST 2.0 rates.

Work out the monthly EMI, total interest and total payment for a home, car or personal loan, with a full repayment schedule.

Find your exact age in years, months and days from your date of birth, plus your age in days, weeks and hours and the days to your next birthday.