Example 1
150 and 90 -> 40.0% margin.
Enter selling price and cost. The calculator computes margin: (price − cost) / price × 100. At 100 and 70 the result is 30% margin and about 42.9% markup. That is not the same: a 25% markup on 80 makes a 100 price, and then margin is only 20%.
Enter a value. The result shows up here.
Markup on the same cost: markup percent. Price for a target margin: price from margin. Cash per unit: gross profit.
Margin says how much of the price is left after cost. You subtract cost from price, divide by price, and multiply by one hundred. At 100 and 70 you keep 30 from every 100, so 30%. At 150 and 90 you keep 60 of 150, so 40%. When price equals cost, margin is zero: you sell at cost. When cost is higher, margin goes negative and you see a loss per unit, not a form error.
People mix this up with markup, because both look like “a profit percent.” Markup divides the same gap by cost, not by price. A 25% markup on 80 lifts the price to 100. On that 100 you keep 20, so margin is 20%, not 25%. To hold a 25% margin at a cost of 80, the price has to be about 106.67. That is already a 33% markup. Another pair: 100 and 70 is 30% margin, but about 43% markup.
Price must be greater than zero, because you divide by it. Cost zero at a positive price is 100% margin: the whole price is profit. Negative amounts will not run. Quantity does not change the percent on one unit. If you enter 10 at 100 and 70, you see 1000 revenue, 700 cost, and 300 profit, and margin stays 30%.
Optional VAT treats the entered price as gross. Net is price divided by (1 plus VAT/100). The calculator then also reports margin on that net against cost, which we take as net. 123 at 23% VAT is 100 net. If cost is 70, margin on gross and margin on net are two different percents, both on the page.
The percent is a ratio. Optional money rows use the same currency you entered for price and cost. 100 and 70 stay 100 and 70 whether you label them dollars, euros, or zloty. A comma and a period in 99.90 mean the same amount. Skip thousand spaces.
The markup page next door computes the other fraction from the same pair. Price from margin goes the other way: you know cost and want 30% of the future price, not a percent from two ready amounts. Gross profit leaves the cash gap and does not divide.
Article hook: the pair 100 and 70 is 30% margin and about 42.9% markup. Someone saying “I give 30%” may mean markup — then price from 70 would be 91, not 100.
margin % = (price − cost) / price × 100
markup % = (price − cost) / cost × 100 (when cost > 0)
At 100 and 70: margin 30%, markup ≈ 42.9%. Both appear in the result panel.
The calculator divides profit by price. 100 and 70 give 30% margin. 123 at 23% VAT is 100 net, and net margin is then a second percent.
150 and 90 -> 40.0% margin.
100 and 70 -> 30.0% of price.
200 and 100 -> 50.0% margin.
80 and 80 -> 0.0%, price = cost.
120 and 90 -> 25.0% margin.
50 and 40 -> 20.0% of price.
250 and 200 -> 20.0% margin.
Margin = (price − cost) / price × 100. At 100 and 70 the result is 30%.
Markup = (price − cost) / cost × 100. At 100 and 70 that is about 42.9%. Both percents appear side by side.
Margin divides by price; markup divides by cost. 25% markup on 80 yields price 100 and only 20% margin.
Margin is 100%. Markup has no denominator — the result shows a dash.
Percent per unit does not change. Quantity scales revenue, cost, and batch profit.
Price is treated as gross. Net = price / (1 + VAT/100), then margin on net versus cost.
Margin = (price − cost) / price × 100. At 100 and 70: 30 / 100 = 30%. At 150 and 90: 40%. At 200 and 100: 50%.
Margin divides profit by price; markup divides by cost. At 100 and 70, margin is 30% and markup is about 42.9%. A 25% markup on 80 makes a 100 price and only a 20% margin.
No. Here you enter a ready price and cost. Price from a target margin lives on the price-from-margin page (price = cost / (1 − margin/100)).
The markup page treats markup as the main path. Here the primary result is margin on price; markup appears beside it for comparison.
No. It is gross margin on a unit sale. Income tax and fixed costs are outside this page — break-even is separate.
Margin is (price − cost) over price. This is arithmetic, not a valuation.
Page updated in 2026.