Money, pricing & model

How do I calculate gross margin?

Gross margin is revenue minus the cost of goods sold, divided by revenue: (Revenue - COGS) / Revenue x 100. Worked example: you sell 1,000 units at Rs 500, so revenue is Rs 5,00,000; materials, packaging and direct labour cost Rs 300 a unit, so COGS is Rs 3,00,000; gross profit is Rs 2,00,000 and gross margin is 40%. Per unit it is the same: (500 - 300) / 500 = 40%. In Excel, put revenue in B2 and COGS in C2, type =(B2-C2)/B2 and format the cell as a percentage. Use revenue after discounts and returns, and leave GST out of both lines, since it is collected for the government and is not your revenue. COGS covers only what it costs to make or deliver what you sold; rent, office salaries and marketing sit below gross profit. Do not confuse margin with markup: a Rs 300 item sold at Rs 500 is a 40% margin but a 67% markup. Subtract shipping, payment fees and ad spend per order to get contribution margin, the number that says whether each sale pays.

Part of Unit economics on eChai Explore.

Go deeper

5 resources, 5 link-checked.

📄 Article
✓ Link checked Free Beginner

This is the cleanest plain-language separation of the two margins we found, and it walks through both formulas with actual dollar numbers instead of jargon. It is written for operators who are not finance people, which is exactly where most early founders sit. Treat it as your starting point for getting the definitions straight before you decide which number to steer by.

Contribution Margin vs. Gross Margin: What's the Difference?

From Shopify by Shopify About 8 minute read

  • Gross margin subtracts the direct cost of producing the good or service, while contribution margin also subtracts the variable costs of each sale (sales commissions, shipping, transaction fees), so contribution margin is almost always the lower and more honest number.
  • The worked example makes it concrete: a product with 20 in net sales and 10 in variable costs has a 50 percent contribution margin, and the article shows the gross margin math on a separate case so you can see how the two diverge.
  • The higher your contribution margin, the more of each sale is left to cover fixed costs like payroll and rent, which is why founders watch it when pricing and deciding what to sell more of.
Open shopify.com →
📄 Article
✓ Link checked Free Beginner

This is the cleanest side-by-side we found: it defines both margins in plain language and then walks the exact same $600,000 sales figure through both formulas, so you see gross margin land at 46.7% and contribution margin at 73.3% on identical numbers. The punchline is the one founders miss: gross margin strips out all product costs (fixed and variable), while contribution margin isolates only the variable costs, which is what actually tells you whether one more sale earns money. Treat it as your starting point for the vocabulary, not the last word on your own P&L.

What is the difference between gross margin and contribution margin?

From AccountingCoach by Harold Averkamp (AccountingCoach) 5 min read

  • Gross margin subtracts cost of goods sold (fixed and variable product costs); contribution margin subtracts only the variable costs, so the two numbers can be far apart on the same sales.
  • Contribution margin is the number for break-even math and per-unit decisions, because it shows how much each sale contributes toward covering fixed costs and profit.
  • Same revenue, two very different percentages: healthy gross margin can hide a thin contribution margin once variable selling and delivery costs are counted in.
Open accountingcoach.com →
🎓 Course
✓ Link checked India Free Beginner

Zerodha Varsity's chapter on profitability ratios, worked on a real Indian company's results. It defines EBITDA as operating revenue minus operating expense and walks through EBITDA margin and PAT margin.

Financial Ratio Analysis (Varsity, Fundamental Analysis)

From zerodha.com by Karthik Rangappa, Zerodha Varsity 20 min read

  • EBITDA = operating revenues minus operating expenses (total expense less finance cost, depreciation and amortisation).
  • EBITDA margin = EBITDA divided by operating revenue.
  • Compare margins with a company's competitors, not across industries.
Open zerodha.com →
🎓 Course
✓ Link checked India Free Beginner

Varsity's line-by-line reading of an Indian company's profit and loss statement: revenue, other income, expenses and how they are presented in an annual report.

Understanding the P&L Statement (Part 1)

From zerodha.com by Karthik Rangappa, Zerodha Varsity 20 min read

  • Revenue from operations is separate from other income; look at operations first.
  • Expenses are grouped by nature: materials, employee costs, finance costs, depreciation.
  • Read the notes to the accounts for what sits inside each line.
Open zerodha.com →

Terms in this answer

People also ask

Also in D2C

The same ground, over in Money, pricing & unit economics, our D2C track.

Also in How Founders Use AI

How founders actually use AI for this, over in Finance & Accounting.

Also in GTM

The same ground, over in Close deals and price right, our GTM track.

Also in Wealth

The same ground, over in Founder money foundations, our Wealth track.

eChai Partner Brands The partnership →