Gross Margin Calculator

Calculate gross profit margin percentage and markup

Results

Gross Profit -
Gross Margin -

What is Gross Margin?

Gross margin is the percentage of revenue retained after deducting the cost of goods sold (COGS). It shows how efficiently a company produces its products. A 40% margin means you keep $0.40 of every dollar in revenue after covering production costs. Gross margin varies dramatically by industry: SaaS companies often achieve 70-85%, software retail 60-80%, e-commerce typically 30-50%, restaurants 60-70%, and manufacturing 20-40%.

How to Calculate Gross Margin

Calculating gross margin requires only two inputs:

  1. Enter your Total Revenue ($) - your top-line sales revenue
  2. Enter your Cost of Goods Sold ($) - direct costs of producing your goods
  3. Results calculate gross profit and margin percentage instantly
  4. Use results to benchmark against industry standards

Gross Margin Formula

Gross Profit = Revenue - Cost of Goods Sold

Gross Margin = (Gross Profit ÷ Revenue) × 100%

Markup = ((Revenue - COGS) ÷ COGS) × 100%

Real-World Example

Example: A handmade jewelry business sells $5,000 in products with $1,500 in material and labor costs:

Gross Profit: $5,000 - $1,500 = $3,500

Gross Margin: ($3,500 ÷ $5,000) × 100% = 70%

Markup: ($3,500 ÷ $1,500) × 100% = 233%

Why Gross Margin Matters

Understanding gross margin helps you:

  • Set prices - Ensure margins support healthy profits
  • Negotiate costs - Know your floor for supplier negotiations
  • Compare industries - Benchmark against competitors
  • Plan growth - Calculate volume needed for target income

Frequently Asked Questions

What is a good gross margin by industry?

Industry benchmarks: SaaS 70-85%, Software retail 60-80%, E-commerce 30-50%, Restaurants 60-70%, Manufacturing 20-40%, Fashion 50-70%. Compare your margins against others in your specific sector for meaningful insights.

How do I convert gross margin to markup percentage?

To convert margin to markup: Markup = Margin ÷ (1 - Margin). Example: 40% margin = 40 ÷ 60 = 66.7% markup. Conversely: Margin = Markup ÷ (1 + Markup).

What's the difference between gross margin and net margin?

Gross margin excludes operating expenses (rent, salaries, marketing). Net margin subtracts ALL expenses plus taxes and interest. A healthy gross margin doesn't guarantee profitability if operating costs are too high.

How can I improve my gross margin?

Increase prices strategically, negotiate better supplier costs, reduce material waste, improve production efficiency, or shift product mix toward higher-margin items.

What is a healthy gross margin for ecommerce?

Ecommerce businesses typically target 40-60% gross margins. Pure arbitrage models (buying low, selling high) may see 20-30%, while private label brands with strong branding can achieve 50-70%.