⚡SwiftKit
← All Tools☕ Support
%Math & Retail Finance

Percentage & Margin Calculator

Instant reactive calculations for everyday percentages, increases, discounts, and retail profit margins.

Formula 1

What is X% of Y?

%
Result18
Formula 2

X is what % of Y?

Result12.5%
Formula 3

% Change from X to Y

Difference+50%

Everyday percentage questions, worked out

Which card to use depends on what you know. Type the numbers in the right boxes and the answer appears straight away. These are real results from the calculator.

How much is 20% off an $85 item?

What to enter: Formula 1: X = 20, Y = 85

Answer: 17 (so the sale price is 85 − 17 = 68)

What is a 10% tip on $64.50?

What to enter: Formula 1: X = 10, Y = 64.5

Answer: 6.45

What is 7.5% of $2,000?

What to enter: Formula 1: X = 7.5, Y = 2000

Answer: 150

You scored 42 out of 56. What percent is that?

What to enter: Formula 2: X = 42, Y = 56

Answer: 75%

$18 of a $240 budget is what percent?

What to enter: Formula 2: X = 18, Y = 240

Answer: 7.5%

1 part in 3 is what percent?

What to enter: Formula 2: X = 1, Y = 3

Answer: 33.33%

A price rises from 50 to 75.

What to enter: Formula 3: X = 50, Y = 75

Answer: +50%

A price falls from 80 to 60.

What to enter: Formula 3: X = 80, Y = 60

Answer: -25%

Quick rule: Formula 1 when you know the percentage and the whole, Formula 2 when you know the part and the whole, and Formula 3 when you have an old and a new value. For adding tax or splitting a bill, the sales tax calculator and tip calculator do the whole job.

Margin versus markup

Both measure profit, but against different bases. Gross margin is profit divided by the selling price. Markup is profit divided by the cost. Mixing them up is one of the most common pricing mistakes, because a 50% markup is only a 33.3% margin.

Cost $25, price $100

Margin 75.0% · Markup 300.0% · Profit $75.00

Cost $40, price $100

Margin 60.0% · Markup 150.0% · Profit $60.00

Cost $50, price $100

Margin 50.0% · Markup 100.0% · Profit $50.00

Cost $70, price $100

Margin 30.0% · Markup 42.9% · Profit $30.00

Cost $80, price $100

Margin 20.0% · Markup 25.0% · Profit $20.00

Cost $65.50, price $89.99

Margin 27.2% · Markup 37.4% · Profit $24.49

Four percentage traps

Percent versus percentage points

Example: A rate goes from 10% to 12%. That is 2 percentage points, but Formula 3 (10 to 12) shows +20%: the rate itself rose by a fifth.

Up then down does not cancel

Example: Add 20% to 100 and you get 120. Taking 20% off 120 gives 96, not 100. To get back to 100 you need Formula 3 from 120 to 100: -16.67%.

Finding the original price

Example: After 20% off, a price is $68. The original is 68 ÷ 0.80 = $85, not 68 plus 20%. Check: 20% of 85 is 17, and 85 − 17 = 68.

A price that already includes tax

Example: $110 including 10% tax contains $10 of tax (110 ÷ 11), not $11. Formula 1 (10% of 110) gives 11, which would be the wrong amount here.

Knowledge Base

Frequently Asked Questions

How do I calculate a percentage of a number?▼

Divide the percentage by 100 and multiply by the number. 15% of 120 is 0.15 × 120 = 18. Use the first card and the answer updates as you type.

How do I calculate percentage increase or decrease?▼

Subtract the old value from the new one, divide by the old value and multiply by 100. From 50 to 75 is +50%, and from 80 to 60 is −25%. The third card does this for you.

What is the difference between margin and markup?▼

Margin is profit divided by the selling price. Markup is profit divided by cost. A product costing $40 and selling for $100 has a 60% margin but a 150% markup.

Why does it say Undefined?▼

Some questions have no answer: a number cannot be expressed as a percentage of 0, and a percentage change from 0 would be infinite. The calculator says so instead of showing a misleading 0%.

What is the difference between a percent and a percentage point?▼

A percentage point is a simple subtraction between two percentages. A percent change compares them. If an interest rate rises from 10% to 12%, it has gone up by 2 percentage points, and by 20% in relative terms (2 ÷ 10). Use Formula 3 with the two rates as X and Y to see the relative change.

How do I find the original price before a discount?▼

Divide the sale price by 1 minus the discount. If an item costs $68 after 20% off, the original price is 68 ÷ 0.80 = $85. Adding 20% to $68 would give the wrong answer, because the 20% was taken off the bigger original number, not the smaller sale price.

Why is margin always lower than markup?▼

They share the same profit but divide by different things: margin by the selling price, markup by the cost. Because the price is bigger than the cost, margin is the smaller percentage. A 100% markup (selling at double the cost) is a 50% margin. The table on this page shows more pairs.

How do I set a price for a target margin or markup?▼

For a target margin, divide the cost by 1 minus the margin: a cost of $40 with a 60% margin gives 40 ÷ 0.40 = $100. For a target markup, multiply the cost by 1 plus the markup: $40 with a 150% markup gives 40 × 2.5 = $100. Type the price into the Profit Margin & Markup tab to confirm.

Can a percentage be more than 100%?▼

Yes. 150 is 150% of 100, and a price that triples has risen by 200%. A percentage of a whole above 100% just means the part is bigger than the whole you are comparing it with.