Margin Calculator
Calculate gross profit margin, markup percentage, selling price, or cost. Supports reverse calculation from any known variable. Includes VAT, unit quantity, and a full margin comparison table.
🔗 Related Tools
Profit Margin Guide: Gross, Operating, and Net Margins
Profit margin is one of the most important metrics in business — it tells you what percentage of revenue is kept as profit after accounting for various costs. There are three key types, each revealing a different layer of business performance.
Gross vs. Operating vs. Net Margin
Gross Margin = (Revenue − Cost of Goods Sold) / Revenue. This measures production efficiency. A 60% gross margin means for every $1 in revenue, $0.60 remains after direct costs. Software companies often have 70–80% gross margins; grocery retailers run 25–30%.
Operating Margin accounts for gross profit minus operating expenses (rent, salaries, marketing). A healthy operating margin for most businesses is 10–20%. Tech giants like Google and Apple operate at 25–30%; thin-margin industries like airlines and grocery chains operate at 2–5%.
Net Profit Margin is the bottom line — revenue minus all expenses including taxes and interest. This is what's left for shareholders. Net margins vary dramatically by industry: pharmaceuticals (18–25%), software (20–30%), restaurants (3–9%), automotive (2–6%).
Markup vs. Margin: A Critical Distinction
These are often confused. Markup is calculated on cost: a 50% markup on a $10 item = $15 selling price. Margin is calculated on revenue: that same $15 item has a 33.3% margin ($5 profit / $15 revenue). A 50% markup ≠ 50% margin. Use this calculator to convert between markup and margin instantly.
Gross Margin vs Markup: Key Differences
These two metrics are often confused but calculate differently and tell different stories. Gross margin is profit as a percentage of selling price: Margin = (Price − Cost) ÷ Price. A product costing $60 and selling for $100 has a 40% margin. Markup is profit as a percentage of cost: Markup = (Price − Cost) ÷ Cost. The same product has a 66.7% markup. Why it matters: if you set prices using markup and communicate to investors using margin, you'll consistently misstate your profitability. Industry convention varies — retail typically uses margin; wholesale and manufacturing often use markup. To convert: Margin = Markup ÷ (1 + Markup); Markup = Margin ÷ (1 − Margin).
Gross Margin Benchmarks by Industry
Gross margin norms vary significantly by sector. Software/SaaS: 70–85% (code has near-zero marginal cost). Financial services: 50–70%. Healthcare: 30–50%. Retail (apparel): 40–60%. Retail (grocery): 20–30%. Restaurants: 60–70% (food cost); net margin after labor and overhead is typically only 3–9%. Manufacturing: 20–40%. Construction: 15–25%. If your gross margin is significantly below your industry benchmark, you're either underpricing or your cost structure is uncompetitive. Gross margin alone doesn't tell the full profitability story — a business with 60% gross margin but 70% of revenue going to salaries and overhead may still be unprofitable.
Using Margin Analysis to Set Prices
The break-even analysis connects margin to fixed costs: Break-even units = Fixed Costs ÷ Contribution Margin per Unit. If your fixed monthly costs are $50,000 and each unit contributes $25 in margin (price $100 − variable cost $75), you need to sell 2,000 units/month to break even. This analysis is critical for pricing decisions: a 5% price increase with no change in cost increases margin by much more than 5% (it falls directly to the bottom line). For example, a product at $100 with $70 cost has a $30 margin; raising price to $105 increases margin to $35 — a 16.7% margin increase from a 5% price increase.
