← All blog posts

How to use the Percentage Calculator — step by step

WhiteUI · A plain-English guide to the Percentage Calculator

The Percentage Calculator answers three kinds of percentage question, and each one takes the same three steps: pick a mode, type in two numbers, and read the answer. Nothing is stored, nothing is signed up for, and the maths runs in your browser.

The three steps

  • Step 1 — Pick a mode. The three choices are “X% of Y”, “X is what % of Y”, and “% change from X to Y”. Pick the one that matches your question: a discount is “X% of Y”, an exam score is “X is what % of Y”, and a price rise is “% change”.
  • Step 2 — Enter two numbers. Type them in the boxes or drag the sliders. The first box takes the percentage or the part, and the second takes the whole number — the labels on the page say which is which for the mode you picked.
  • Step 3 — Read the answer. The big number updates as you type. Underneath it, a short line shows the working, so you can see exactly what was calculated.

Change either number and the answer updates at once, so you can try a few values without starting over.

Worked example

A shirt costs Rs 1,500 and the shop offers 20% off. Pick “X% of Y”, enter 20 and 1,500, and the calculator shows Rs 300 — that is the discount. Take it off the price and you pay Rs 1,200.

20% of Rs 1,500 = 20 ÷ 100 × 1,500 = Rs 300 off
Price to pay = Rs 1,500 − Rs 300 = Rs 1,200

At a glance

20% off Rs 1,500Rs 300 offRs 1,200 to payThe purple part is the discount.

Twenty percent of Rs 1,500 is Rs 300 off, so you pay Rs 1,200.

The mistake to avoid

Picking the wrong mode. If you enter 20 and 1,500 in “X is what % of Y”, the calculator answers 1.33% — that is 20 as a share of 1,500, which is a different question from 20% of 1,500. If the answer looks far too small, check the mode label before doubting the maths.

Which mode for which question?

Most wrong answers on this calculator come from picking the wrong mode, not from wrong arithmetic, so it is worth learning to tell the three apart by the shape of the question. If the question has a percentage and a number — “what is 18% of this bill?” — it is “X% of Y”. A shop bill of ₹4,500 with 18% GST is the usual Indian example: 18 ÷ 100 × 4,500 = ₹810 of tax, so the total to pay is ₹5,310. If the question has two numbers and asks for the share — “35 out of 280 is what percent?” — it is “X is what % of Y”: 35 ÷ 280 × 100 = 12.5%. If the question compares a before and an after — “the price went from ₹850 to ₹1,020, how much did it rise?” — it is “% change”: (1,020 − 850) ÷ 850 × 100 = 20%. Read the question once and ask which of those three shapes it is before you type anything. If the answer looks far too big or far too small, the mode is the first thing to check — the calculator did what you asked, and the question you asked was a different one.

What to check before you trust the answer

Four quick checks take a few seconds and catch almost every error. First, look at the mode label at the top of the calculator and make sure it matches the question you meant to ask. Second, check which number is the whole: in “72 out of 90”, 90 is the whole, and 72 ÷ 90 × 100 = 80% — swap them and you get 125%, which cannot be a share of something smaller than itself. Third, do not type the % sign: enter 20, not 20%, because the tool adds the sign to the answer. Fourth, give the answer a sense check before you use it. A discount must be smaller than the price, a share of a number must be smaller than the number when the percentage is under 100, and a percentage change that is positive means the number went up. If any of those is backwards, re-read the two numbers you typed — a mistyped digit is far more likely than a broken calculator.

Frequently asked questions

Which mode should I pick?

“X% of Y” for a share of a number, like a discount. “X is what % of Y” for one number as a share of another, like marks out of a total. “% change” for a rise or fall between two numbers.

Do I need to type the % sign?

No. Type 20, not 20%. The tool adds the sign to the answer.

What if I enter a decimal?

It works the same way. 12.5% of 640 is 80 — type decimals exactly as they are.

Does the calculator store my numbers?

No. Everything runs in your browser and nothing is sent anywhere.

More guides on the Percentage Calculator

Try it yourself

Work out a percentage of a number, one number as a share of another, or a percentage change — free, in your browser.

Open the Percentage Calculator