Margin Calculator: Profit Margin, Markup & Discount

Calculate gross margin, markup percentage, and discount impact. Compare your margins against industry averages for retail, SaaS, restaurants, and manufacturing.

Last Updated: March 2026

Calculate Margins

Total revenue or per-unit selling price
Cost of goods sold or per-unit cost
Your cost per unit or total cost
Desired markup percentage over cost
Price before discount
Discount percentage off original price
Enter revenue and cost to calculate profit margin, markup percentage, and see a visual breakdown of your margins.

Margin vs Markup — Conversion Table

Margin and markup are not the same. This table shows the exact conversion between the two — a common source of pricing errors.

Markup % Margin % Cost $40 → Price Profit Common Use

Industry Average Margins — Reference

Gross margins vary dramatically by industry. Use these benchmarks to see how your margins compare to typical businesses.

Margin Calculator: Key Insights

Margin vs Markup: The #1 Pricing Mistake

Confusing margin with markup is the most common pricing error in business. If you want a 50% margin but apply a 50% markup, you'll only achieve a 33.3% margin. The difference compounds — on $1M in revenue, that mistake costs you $166,700 in expected profit. Always clarify whether pricing targets are based on margin (percentage of selling price) or markup (percentage of cost) before setting prices.

Small Discounts Destroy Margins Disproportionately

A 10% discount does not reduce profit by 10%. If your margin is 40%, a 10% price cut eliminates 25% of your gross profit. A 20% discount wipes out 50% of profit. To maintain the same total profit after a 10% discount at 40% margin, you need to sell 33% more units. This is why successful businesses focus on value-based pricing rather than competing on discounts.

Gross Margin Is Only Half the Story

A 70% gross margin means nothing if operating expenses consume 65% of revenue, leaving only 5% net margin. SaaS companies often report 80%+ gross margins but spend heavily on sales and R&D, resulting in net margins of 10-25%. Restaurants with 65% gross margins frequently operate at 3-9% net margins due to labor, rent, and overhead. Always analyze both gross and net margins to understand true business profitability.

Frequently Asked Questions

Methodology

Gross margin is calculated as (Revenue − Cost) ÷ Revenue × 100. Markup is calculated as (Revenue − Cost) ÷ Cost × 100. Net margin subtracts all operating expenses, interest, and taxes from revenue. The discount calculator computes sale price as Original Price × (1 − Discount Rate).

Industry average margins are approximate values based on publicly reported financial data from major companies in each sector as of Q1 2026. Actual margins vary by company size, geography, and business model. All figures are for educational reference.

This calculator is for informational and educational purposes only. Not financial advice. Margins vary by business model, location, and scale. Always consult with a financial professional for business pricing decisions.