How do you calculate a percentage?
To find X% of a number, multiply it by X then divide by 100: 15% of 80 is 12. To find what percentage a value is of a total, divide it by the total then multiply by 100: 12 out of 80 is 15%.
Seven calculations on one page
- X% of a number.
- The percentage one value represents of a total.
- The percentage increase or decrease between two values.
- The price after several successive discounts or increases.
- The original value before a discount or an increase.
- VAT, from net to gross and from gross to net.
- The profit, the markup and the margin.
Precision and rounding
Calculations are made with exact fractions, even on large numbers or long decimals. Only the display is rounded, to the number of decimal places chosen; a very small result keeps its first digits instead of showing zero. For VAT, the tax shown is the difference between the rounded gross and net amounts: the three figures always add up correctly.
Frequently asked questions
Do two discounts of 20% then 10% make 30%?
No. The second discount applies to the price already reduced: $100 becomes $80, then $72. The total discount is 28%. Likewise, a 10% increase followed by a 10% decrease leaves $99 from $100.
How do you find a price before a discount?
Divide the sale price by 1 minus the rate. After a 25% discount, an item at $60 was originally 60 ÷ 0.75, which is $80. Adding 25% to $60 would give $75, which is wrong.
What is the difference between markup and margin?
Markup measures the profit against the purchase price excl. VAT; margin measures it against the selling price excl. VAT. Bought for $60 and sold for $100, a product makes $40 profit: a markup of about 66.67%, and a margin of 40%.
Which VAT rates are offered?
The usual rates of the United Kingdom, Ireland, Canada, Australia, New Zealand, India, Singapore, South Africa and the United Arab Emirates, as of November 2026. They can change and depend on the product: check the rate for yours, or enter another rate. In the United States, sales tax varies by state and city: enter the rate that applies.
Is what I enter sent anywhere?
No. Everything is calculated in your browser. It only keeps in memory the number of decimal places, the direction and the VAT rate you chose, never your amounts.