Percentage Calculator (what percent, percent of a number, percent change, discounts and original price)
Completely free, with no extra charges. You may freely use the output commercially.
About this tool
Answer everyday percentage questions such as "45 is what percent of 120?", "What is 15% of 8,000?", "Sales went from 800,000 to 920,000 — what is the percent increase?" and "What does 3,980 cost at 20% off?". Type a number and the answer appears immediately together with the formula, and ratios are also shown as a decimal and in the Japanese wari notation.
It also works out the combined discount of two discounts in a row (for example 20% off and then another 10% off at the checkout) and the original price from a sale price or a price that already includes a surcharge. Calculations are done with exact fractions and only rounded for display to the number of decimal places you choose, so floating-point errors never shift the answer. All processing happens entirely in your browser (no data is sent).
Display
Trailing zeros are dropped, and values that had to be rounded are marked with "≈". Ratios written as decimals (such as 0.375) are shown with two more places. Rounding only affects the display; the next calculation always uses the exact value. Choose "Whole number" to show amounts in whole currency units.
A is what percent of B?
What is X% of B?
If X% is A, what is the whole (100%)?
Percent increase or decrease (percent change, year over year)
Price after X% off or X% markup
Price table by discount rate
Find the original price from a discounted price
How to use it and how it calculates
Change the numbers in the section that matches your question and the answer updates on the spot. You can type numbers with thousands separators (1,980), full-width digits, a currency symbol or a "%" sign. Your inputs are saved in the page URL (after the #), so a bookmark or a shared link reopens the same calculation.
Finding the percentage, the part and the whole
The first three sections rearrange the same relationship, "part = whole × rate", depending on which value you need.
- What percent: A ÷ B × 100. 45 people out of 120 are 45 ÷ 120 × 100 = 37.5%, which is 0.375 as a decimal and 3 wari 7 bu 5 rin in Japanese notation.
- Percent of a number: B × X ÷ 100. 15% of 8,000 is 8,000 × 15 ÷ 100 = 1,200.
- The whole: A ÷ X × 100. If 30% is 36 people, the whole is 36 ÷ 30 × 100 = 120 people.
Percent change and percentage points
Percent change is (new − old) ÷ old × 100. From 800,000 to 920,000 is 120,000 ÷ 800,000 × 100 = a 15% increase, and the new value is 1.15 times (115% of) the old one. A year-over-year figure can be stated either as "115% of last year" or as "up 15%", so the same change can be reported with two different numbers.
When the values themselves are percentages — interest rates, tax rates, market share — their difference is given in percentage points. A tax rate that goes from 8% to 10% has risen by 2 percentage points, which is a 25% increase relative to the old rate. Tick the checkbox to show both side by side. If the starting value is negative (a loss, for example), the tool divides by its absolute value so that an improvement shows as positive. Changes that cross zero, such as a loss turning into a profit, are hard to express as a percentage, so look at the difference as well.
Discounts, markups and discounts in a row
The price after X% off is price × (100 − X) ÷ 100, and after an X% markup it is price × (100 + X) ÷ 100.
"20% off, then another 10% off at the checkout" is not 30% off in total. 0.8 × 0.9 = 0.72, so you pay 72% of the original price — a combined discount of 28%. Enter the extra discounts in "Then a further X% off" and the tool applies them in order and shows the combined rate. For the same reason, raising a price by 10% and then lowering it by 10% does not bring it back: 1.1 × 0.9 = 0.99, which is 1% cheaper than at the start. Worked examples of discounts in a row, the original price and percentage points are in "Is 20% off plus another 10% off really 30% off?".
About the Japanese wari notation
In Japan, ratios are often written in wari (割, tenths), bu (分, hundredths) and rin (厘, thousandths) instead of percentages. 1 wari is 10%, so a price tag saying 2割引 (ni-wari-biki) means 20% off, and 3割5分引 means 35% off. Batting averages are also read this way: .375 is "3 wari 7 bu 5 rin". This is why the first section shows the ratio in this notation and the discount section accepts "wari" as a unit — enter 3.5 for 3 wari 5 bu. The results keep the original Japanese characters (such as 3割7分5厘) so you can compare them with what is written on a Japanese price tag or document.
Working back to the original price
An item that costs 2,800 after 30% off originally cost 2,800 ÷ (1 − 0.3) = 4,000. Adding 30% to the sale price (2,800 × 1.3 = 3,640) is wrong, because the discount is a percentage of the original price, not of the sale price. Choose "markup" to find the original amount from a total that includes a fee or surcharge. Prices that include sales tax or VAT work the same way, but the tax itself may be rounded to the smallest currency unit, so the pre-tax price can differ by one unit.
Rounding and precision
Inputs can have up to 15 integer digits and 10 decimal places. Because the calculation is done with fractions, you will not see floating-point errors such as 0.1 + 0.2 = 0.30000000000000004 that spreadsheets and programs sometimes show. Results that do not divide exactly are rounded to the chosen number of places and marked with "≈". To calculate the aspect ratio of an image or screen, use the Aspect Ratio Calculator.