How to use the Margin Calculator
- Choose a target-price or margin-check calculation.
- Enter the cost per unit.
- Enter the margin you want, or the selling price.
Formula
Price = cost ÷ (1 − margin%) Margin% = (price − cost) ÷ price × 100
Margin is profit as a share of the selling price. Dividing cost by (1 − margin) ensures the profit is the correct share of the final price.
Worked example: Cost $60, target margin 40%
- Price = 60 ÷ (1 − 0.40) = 60 ÷ 0.6 = $100
- Profit = $40, which is 40% of $100
- Equivalent markup = 40 ÷ 60 = 66.7%
Price at $100.00 to earn a 40% margin.
Margins and discounts
Discounts eat into margin quickly: on a 40% margin product, a 20% discount cuts the margin to 25%. Model price cuts with the Discount Calculator, and see the volume needed to cover costs with the Break-even Calculator.
Assumptions & limitations
- Margins must be below 100%.
- This is gross margin on direct cost. Overheads aren't included.
Frequently asked questions
Why isn't cost + 40% a 40% margin?
$60 + 40% = $84, and the $24 profit is only 28.6% of $84. Margin is calculated on price, so you divide by (1 − margin) instead.
What's a typical gross margin?
It varies by industry. Grocery often runs at 20–30%, apparel 50–60%, and software can exceed 80%.
How is this different from the Profit Margin Calculator?
This tool works on a single product price. The Profit Margin Calculator analyses whole-business totals, including operating and net margins.