Gross Product Margin Calculator
Margin Calculator
Profit Margin Calculator
Margin and markup are two different ways of expressing the relationship between cost, revenue, and profit. Confusing them is a common and costly mistake in business. This calculator converts between margin and markup, calculates selling price from cost plus desired margin, and breaks down gross profit for any product or service.
Margin vs Markup
Margin is calculated as a percentage of the selling price. Markup is calculated as a percentage of the cost. A 50% markup does not equal a 50% margin. This distinction matters for pricing strategy and profitability targets.
Gross Profit = Revenue - Cost of Goods Sold Margin % = Gross Profit / Revenue × 100 Markup % = Gross Profit / Cost × 100 Convert markup to margin: Margin = Markup / (1 + Markup) Convert margin to markup: Markup = Margin / (1 - Margin)
Example: Cost $60, price $100. Profit = $40. Margin = 40% (of price). Markup = 66.7% (of cost).
Common Industry Margins
Gross margins vary dramatically by industry. Software has some of the highest gross margins because the cost of an additional software unit is near zero. Grocery retail has thin margins but high volume. Understanding your industry benchmarks helps you set competitive yet profitable prices.
| Industry | Typical Gross Margin |
|---|---|
| Software / SaaS | 70-90% |
| Retail (e-commerce) | 30-50% |
| Restaurants | 60-70% (food cost 30-40%) |
| Manufacturing | 25-40% |
| Grocery | 25-35% |
| Construction | 15-25% |
Frequently Asked Questions
What is a good gross margin?⌄
This depends entirely on your industry. A 20% gross margin might be excellent for a distributor but terrible for a software company. Compare your margin to industry benchmarks. More important than a specific number is whether your gross margin is sufficient to cover operating expenses (rent, salaries, marketing) and still generate net profit.
What is the difference between gross margin and net margin?⌄
Gross margin = (Revenue - Cost of Goods Sold) / Revenue. Net margin = Net Income / Revenue. Net margin includes all expenses: operating costs, interest, and taxes. A company might have a 60% gross margin but only a 10% net margin after accounting for all the costs of running the business.
How do I set a price to achieve a target margin?⌄
Rearrange the margin formula: Selling Price = Cost / (1 - Target Margin). For a 40% margin target with a $30 cost: Price = $30 / (1 - 0.40) = $30 / 0.60 = $50. This is different from marking up by 40%: $30 × 1.40 = $42, which yields only a 28.6% margin.
What is contribution margin?⌄
Contribution margin = Revenue - Variable Costs. It shows how much each sale contributes to covering fixed costs and generating profit. Contribution margin per unit helps determine how many units you need to sell to break even: Break-Even Units = Fixed Costs / Contribution Margin per Unit.