Three questions hiding behind one word
Per cent means per hundred. A percentage is a fraction with 100 fixed as the denominator, which is the only reason 15% and 0.15 and 15/100 are the same thing written three ways. Everything on this page is that one idea moved around.
What makes percentages slippery is that the word covers three different questions, and people rarely say which one they mean. The arithmetic for each is a single line:
What is X% of Y → Y × X ÷ 100
X is what percent of Y → X ÷ Y × 100
Change from A to B → (B − A) ÷ A × 100
The mistakes are almost never in the multiplication. They are in picking the wrong line, or in dividing by the wrong number. Ask what percent 45 is of 180 and the answer is 25%; divide the other way round and you get 400%, which is a correct answer to the question nobody asked. The two numbers are the same, the sum is the same length, and only the order tells them apart.
That is why every answer here is printed with its formula and the numbers already substituted into it. A bare 36 cannot be checked. A line reading 240 × 15 ÷ 100 = 36 can be checked by eye in a second, and if it is answering the wrong question you will see that immediately too.
Which of the five panels you want
- % of: you know the rate and the total, you want the part. Sales tax on a price, a 15% deposit, 30% of a monthly budget, the commission on a sale.
- What %: you know the part and the total, you want the rate. A test score, a completion rate, what share one line item is of an invoice.
- Change: you have a before and an after, and you want the movement between them with its direction. Last month against this month, a price rise, a headcount cut. The answer is signed, so an increase is positive and a decrease is negative.
- Discount: a price and a percent off, returning what you pay and what you keep. It is the % of calculation with the subtraction already done, because the number you actually want at the till is the one after the deduction.
- Tip: a bill, a tip rate and a number of people. It returns the tip, the total, and the share each person owes when there is more than one of you.
If you cannot tell whether you want % of or What %, look at what you are missing. Missing a plain number means the first; missing a rate means the second.
How to work out a percentage increase or decrease
- Open the Change panel. Two boxes: A is where you started, B is where you ended up. Getting them the wrong way round is the only real hazard here.
- Type the earlier figure into From (A). This is the number the percentage is measured against, and it is what makes the answer asymmetric.
- Type the later figure into To (B). The answer updates as you type, so there is nothing to submit.
- Read the sign. A positive result in green is an increase, a negative result in red is a decrease, and 0% means the two numbers match.
- Check the second line, Difference. It is the plain subtraction, and it is often the number your reader actually wants: three more sales is clearer than a 1.4% rise.
- Read the formula under each line to confirm which number ended up on the bottom. If A and B are swapped, the formula shows it before the answer reaches anyone else.
- Swap the two boxes and run it again to see the asymmetry for yourself. From 50 to 80 is a 60% rise; from 80 back to 50 is a 37.5% fall. Same two numbers, same gap, different base.
How to use the discount and tip shortcuts
- For a sale price, open Discount, enter the ticket price and the percent off. The preset chips cover the usual signs in a shop window, and the box still takes anything in between.
- Read both lines. Final price is what you pay, You save is what the sign was shouting about. They are different numbers and shops quote whichever is larger.
- For a stacked offer, such as 20% off and then a further 10%, run it twice: put the first final price into the price box and apply the second discount to it. The combined result is 28% off, not 30%.
- For a restaurant bill, open Tip and enter the bill before the tip. Pick a preset or type your own rate.
- Set Split between to the number of people. Leave it at 1 and the per person line disappears, because it would only repeat the total.
- Round the per person figure up when you hand over money. Two decimal places will not always divide cleanly into three or seven shares, and the leftover fraction has to land on somebody.
- If the bill already includes a service charge, check before adding a tip on top. Applying a percentage to a number that already contains one is the commonest double charge in this whole area.
Percentage points, and other ways the base moves
A percentage is meaningless without the number it was taken from, and most percentage arguments are really arguments about that base.
Points versus percent
When the thing that changed is itself a percentage, there are two honest answers. A rate moving from 4% to 5% has gone up by one percentage point, and by 25% in relative terms. Headlines pick whichever sounds better. Say "points" when you mean the arithmetic difference, and reserve "percent" for the relative change.
Percentages do not add up
Two discounts of 20% and 10% make 28%, not 30%, because the second is taken from the reduced price. A 10% rise followed by a 10% fall leaves you at 99, not 100. Percentages multiply, and the order of multiplication does not matter, which is why a tax applied before a discount gives the same total as one applied after.
Reversing a percentage
To recover the original price from a total that already includes 20% tax, divide by 1.2 rather than subtracting 20%. Subtracting takes 20% of the larger number and leaves you short. The same trick recovers a pre discount price: divide the sale price by 0.8 for 20% off.
Getting the answer out of the page
- The copy button on a line puts that figure alone on the clipboard, formatted the way it appears. Paste it into a message, a cell or a form.
- Copy with the formula takes every line of the current answer with its working, one per line. This is the one to use when somebody else has to trust the number, because it shows what was divided by what.
- Pasting into a spreadsheet: the thousands separators are for reading, and some spreadsheets will treat a comma as a column break on paste. If a figure lands split across two cells, retype it without the separator or paste into a cell already formatted as text.
- On a phone, tap the copy button rather than trying to select the digits: the result font is large and text selection tends to grab the label with it.
- Keeping a record: screenshot the panel rather than the answer alone. A percentage without its two inputs is not checkable a week later, including by you.
Nothing you type is written into the address bar, so copying the URL shares the calculator and not your figures. Whoever opens it sees the sample numbers.
The same sums elsewhere
Nothing here needs a special tool, and it is worth knowing how to reproduce it where your data already lives.
Spreadsheet, X% of Y → =B1*A1/100
Spreadsheet, percent change → =(B1-A1)/A1
JavaScript → (b - a) / Math.abs(a) * 100
- Spreadsheets: Excel, Google Sheets and LibreOffice Calc all store a percentage as the underlying decimal and only display the sign. Format a cell as a percentage and typing 25 may become 2,500%, because the cell was told that what you type is already a proportion. Type 25% or 0.25 instead.
- The percent key on a pocket calculator is not standardised. On many models 200 + 10 % gives 220, because the key silently takes 10% of the first number and adds it. On others the same sequence gives 200.1. If a physical calculator disagrees with this page, that key is usually why.
- Phone calculators: the iOS and Android built in calculators both have a percent key that divides by 100, so 15% becomes 0.15 and you then multiply. The behaviour inside an addition differs between them and between versions, which is exactly the ambiguity above.
- In code: binary floating point means 0.1 + 0.2 does not equal 0.3, so round at the point of display rather than comparing percentage results for exact equality. For money, work in whole minor units, such as cents, and divide only when printing.
- Local number formats: much of Europe writes 1.234,56 where the United States writes 1,234.56, and some locales put a space before the percent sign. This page reads and writes the English convention, and accepts pasted commas and spaces as separators rather than as decimal points.
What this page will not do
- It does not know your currency. There is no symbol anywhere and no exchange rate. The arithmetic is identical in dollars, euros, pounds or yen; read the output in whatever you typed in.
- It does not add tax. A discount is applied to the price you entered, nothing more. Whether tax comes before or after the discount depends on where you are, and the two orders can give different totals when rounding lands between them.
- Divide by zero has no answer. Asking what percent a number is of 0, or the change starting from 0, returns a plain message rather than a number. That is the mathematics, not a limitation of the page.
- Rounding is a display choice. Percentages are shown to four decimals and the discount and tip figures to two. The sum runs at full precision, so a long repeating result is rounded once, at the end.
- Negative bases are handled by a convention. A change from a negative starting number is divided by its absolute value, so the sign always follows the direction the number moved. The strict textbook formula divides by the signed value and flips the sign in that case. For positive starting numbers, which is nearly always, the two agree exactly.
A last one that is not arithmetic at all: a percentage on its own invites a wrong reading. A 200% increase in a figure that was 3 is still a small number, and "half of respondents" means something different when there were 12 of them. Quote the base alongside the rate and most percentage arguments end before they start.
Frequently asked questions
How do I calculate a percentage of a number?
Multiply the number by the percentage and divide by 100. For 15% of 240, that is 240 times 15, which is 3,600, divided by 100, which is 36. The divide by 100 step is what the percent sign means: per cent is per hundred, so 15% is just another way of writing 0.15. That is why multiplying by 0.15 gives the same answer, and why a calculator with no percent key still does the job.
How do I work out what percent one number is of another?
Divide the part by the whole and multiply by 100. If you scored 45 out of 180, that is 45 divided by 180, which is 0.25, times 100, which is 25%. The order matters and reversing it is the most common mistake: 180 divided by 45 gives 400%, which is the answer to a different question, namely how many times bigger 180 is than 45.
How do I calculate a percentage increase or decrease?
Subtract the starting number from the ending number, divide by the starting number and multiply by 100. From 50 to 80 the difference is 30, and 30 divided by 50 is 0.6, so it is a 60% increase. A negative answer means a decrease. The starting number always goes on the bottom, which is why a rise from 50 to 80 is 60% but a fall from 80 back to 50 is only 37.5%.
What is the difference between percent and percentage points?
A rate that moves from 4% to 5% has risen by one percentage point, but by 25% in relative terms, because 1 divided by 4 is 0.25. Both statements are true and they are not interchangeable. Interest rates, unemployment figures, market share and poll results are all quoted as percentages already, so a change in them should be given in points unless you say plainly that you mean the relative change.
Why does a 50% loss need a 100% gain to break even?
Because the two percentages are taken from different starting numbers. A 100 that loses 50% is at 50, and getting from 50 back to 100 is a gain of 50 on a base of 50, which is 100%. The same asymmetry means a 20% drop needs a 25% rise, and an 80% drop needs a 400% rise. Whenever a percentage is quoted, the number it was taken from matters as much as the percentage itself.
Is 20% off and then 10% off the same as 30% off?
No, it is 28% off. The second discount is taken from the already reduced price, not the original one, so on a 100 item the first cut leaves 80 and the second takes 8 rather than 10, landing at 72. Stacked percentages always multiply rather than add: 0.8 times 0.9 is 0.72. Run the discount shortcut twice, feeding the first final price into the second calculation, to see it.
How much should I tip?
It depends entirely on the country. In the United States and Canada, 15% to 20% at a sit down restaurant is the usual range at the time of writing, and staff are often paid on the assumption that it arrives. In much of Europe service is included and rounding up is enough, and in Japan and South Korea tipping is not customary and can be refused. The preset buttons are a convenience, not a recommendation.
Why does the calculator refuse to divide by zero?
Because there is no answer, not because the page is being fussy. Asking what percent 5 is of 0 is asking how many times 0 fits into 5, and no number of zeros ever adds up to 5. The same applies to a percentage change from 0: any move away from 0 is infinite in percentage terms. When that comes up, report the plain difference instead and say what the starting number was.
How are the answers rounded?
Percentages are shown to four decimal places and money style answers in the discount and tip shortcuts to two, which is where a real bill stops. The arithmetic itself runs at full precision and only the display is rounded, so the number you copy is the rounded one you can see. If a split leaves a fraction of a unit, add it to one share rather than expecting the parts to total exactly.
Can I use negative numbers?
Yes, in the three main calculators. A percentage change from a negative starting number divides by its absolute value, so a move from -50 to -25 is reported as a 50% increase, which matches the direction the number actually moved. The discount and tip shortcuts reject negative prices and bills, and a discount above 100% is refused because it would mean the shop paying you to leave with the item.
Sources
- The arithmetic is elementary and printed in full in the formula boxes above. Nothing is fetched, looked up or inferred, so every answer can be reproduced with a pencil.
- The distinction between a percentage and a percentage point, and the advice to state which you mean, follows the usage guidance published by national metrology institutes alongside the SI, where the percent sign is defined as the number 0.01.
- Spreadsheet percentage formatting behaviour is documented by Microsoft for Excel and by Google for Sheets in their own help pages for formatting numbers as percentages.
- Tipping ranges are described as customary practice at the time of writing, not as a rule. They vary by country, by venue and over time, and no figure on this page is a recommendation.
More tools
For a percentage applied over and over, the compound interest calculator does the repeated multiplication and shows what it adds up to. To change the units rather than the proportion, the unit converter handles length, weight, temperature and the rest.
Related tools
- Compound Interest Calculator
Enter a starting amount, annual rate, years and a monthly contribution to see the final ba…
- Unit Converter
Convert length, weight, temperature, area, volume and speed between metric, US customary a…
- Number Base Converter
Convert numbers between binary, octal, decimal and hexadecimal, including large integers a…
Privacy: every calculation runs in your browser. The numbers you type are never sent anywhere, never stored, and never written into the URL, so a copied link carries the calculator and not your figures. Pressing a copy button sends an anonymous event recording only that a copy happened on this tool and which panel it came from, never the values.
