How to Calculate Gross Margin: Formulas, Examples and Templates

Master the essential skill of calculating gross margin. This guide offers simple explanations, real-world examples, and a free template to help you track and improve your profitability.
April 30, 2025
Gross Margin
calculate gross margin hero

Gross margin is one of the most important indicators of your business’s financial health.
Knowing how to calculate it accurately can help you set better prices, control costs, and drive profitability.

Here’s a simple, step-by-step guide on how to do it.

What is Gross Margin?

Gross margin measures the percentage of revenue that remains after covering the direct costs of producing goods or services.

In short:
It shows how much profit you keep from each sale before paying overheads like salaries, rent, or marketing.

Gross Margin Formula

The formula for calculating gross margin is:

Gross Margin (%) = ((Revenue - Cost of Goods Sold) ÷ Revenue) × 100

Where:

  • Revenue = Total sales income
  • Cost of Goods Sold (COGS) = Direct costs of producing goods or services

Step-by-Step Example

Let’s walk through a practical example.

Example:

  • Revenue = £250,000
  • COGS = £150,000

Calculation:

Gross Profit = £250,000 - £150,000 = £100,000

Gross Margin (%) = (£100,000 ÷ £250,000) × 100 = 40%

Result:
You have a gross margin of 40%. This means for every £1 earned, you keep 40p after covering production costs.

Why Gross Margin Calculation Matters

  • Pricing Decisions: Know if your prices are high enough to cover costs and deliver a profit.
  • Cost Management: Identify if rising supplier costs are eating into profits.
  • Profitability Tracking: Monitor changes over time to improve financial performance.
  • Investor Readiness: Lenders and investors often check gross margin before backing a business.

Tip: Regularly calculating and reviewing your gross margin is critical — especially during periods of inflation or supply chain disruption.

Common Mistakes to Avoid

  • Ignoring Hidden Costs: Always accurately capture all direct production costs.
  • Mixing Gross Margin and Gross Profit: Remember gross margin is a percentage, gross profit is an absolute number.
  • Using Outdated Data: Base calculations on the latest figures for revenue and costs.

Frequently Asked Questions

Q: What’s the difference between gross margin and profit margin?
A: Gross margin looks only at direct costs. Profit margin (net margin) looks at all expenses including overheads.

Q: How often should I calculate gross margin?
A: Monthly is ideal for SMEs; quarterly is the minimum recommendation.

Q: What’s a good gross margin?
A: It depends on your industry. Retail averages 20–50%, while SaaS companies often have 70–90% gross margins.

Final Thoughts

Learning how to calculate gross margin is a basic but powerful skill for any business owner.

It allows you to:

  • Stay competitive with pricing
  • Improve operational efficiency
  • Maintain long-term profitability

Coming soon: How to improve your gross margin and boost business resilience — don’t miss it!

Continue building your financial skills with these essential guides:

Discover the latest blogs

Stay informed with the latest health and wellness insights from our experts.