Markup vs. Margin: How to Price a Product
Learn the difference between markup and margin, calculate a price from your target margin, and see how sales fees change what you keep per order.
By Hexa Team2 min read
A product costs $18 and sells for $30. The difference is $12, but that difference can be expressed as either a 66.7% markup or a 40% margin. The numbers describe the same sale. What changes is the number you divide by.
Use the right denominator
- Markup: subtract the unit cost from the price, then divide by the unit cost. Here, $12 ÷ $18 is about 66.7%.
- Margin: subtract the unit cost from the price, then divide by the price. Here, $12 ÷ $30 is 40%.
The University of Maine Cooperative Extension pricing guide explains the distinction between calculating the percentage on cost and calculating it on the selling price. Label both columns if you use a pricing spreadsheet: “markup on cost” and “margin on price.”
Work backward from a target margin
Suppose your unit cost is $18 and your target margin before selling fees is 40%. You want the $18 cost to use up 60% of the price. Divide $18 by 0.60 and you get $30. If you add 40% to $18 instead, the result is $25.20. At that price, only $7.20 remains after unit cost, or about 28.6% of the selling price.
Before calculating, write down what you include in unit cost. If a batch of 12 items costs $192 in materials and direct labor, that is $16 per item. Add $2 of packaging to reach $18. Use the same cost definition when you compare prices across channels.
Recheck the price after fees
At $30, a 5% sales fee plus a fixed $0.50 fee costs $2.00. That leaves $10.00 after the $18 unit cost and both fees: about 33.3% of the price. To keep 40% after those fees, first add the fixed fee to your unit cost. Then divide by the share left after subtracting the target margin and the percentage fee from 100%: $18.50 ÷ 0.55 is about $33.64.
Try the Hexa handmade pricing calculator to compare prices using batch costs, packaging and selling fees. The amount left per sale is not necessarily your net profit. Check which expenses are already in your unit costs and use the break-even guide to see how many sales would cover the remaining fixed costs.
Frequently asked questions
Is a 40% markup the same as a 40% margin?
No. A 40% markup adds 40% to cost. A 40% margin means 40% of the selling price remains after the costs included in the calculation.