Free Gross Margin Calculator

Gross margin measures how efficiently you turn revenue into profit before paying for anything else. It's the first line of any healthy P&L review.

Results

Revenue$50,000.00
COGS$20,000.00
Gross profit$30,000.00
Gross margin60.00%

What the Gross Margin Calculator does

Gross margin is a whole-business (or whole-period) percentage: total revenue minus total cost of goods sold, divided by total revenue. Unlike the Profit Margin Calculator's single-item check, gross margin is calculated across all sales in a period and is the figure that appears on an income statement immediately below revenue.

Methodology and formula

Gross Margin % = (Total Revenue − Cost of Goods Sold) / Total Revenue x 100.

Worked example

Inputs
Monthly revenue 85,000; cost of goods sold 34,000.
Result
Gross profit 51,000; gross margin 60%.

For every dollar sold across the whole month, 60 cents is left after direct production costs to cover rent, marketing, salaries and eventual net profit. A gross margin this size is healthy for most product businesses but would be considered weak for a SaaS company benchmarked at 70–85%.

When to use this tool

Use this tool for a period-level (monthly or annual) view of production efficiency across your whole revenue base. Use the Profit Margin Calculator for a single item or deal, and the Net Profit Margin Calculator to go further and see what's left after operating expenses, interest and tax.

About the Gross Margin Calculator

The gross margin formula

Gross Margin = (Revenue − COGS) / Revenue × 100. COGS includes anything directly tied to producing what you sold: raw materials, direct labour, packaging, per-order shipping. It excludes rent, marketing and salaries not tied to production.

Gross margin vs profit margin vs net margin

Profit margin (as used elsewhere on this site) usually checks a single sale. Gross margin is the same calculation applied to your whole revenue and cost of goods sold for a period — a business metric, not a per-item one. Net profit margin takes gross margin and subtracts every other expense, interest and tax, so it is always lower.

Why gross margin matters more than revenue

A business doing $1M in revenue at 15% gross margin has $150K to cover every other expense. A business doing $500K at 60% has $300K. Gross margin is the ceiling on everything you can afford — rent, marketing, salaries, profit.

Improving gross margin

Three levers: raise prices (highest impact), renegotiate supplier costs, or shift mix toward higher-margin products. Cutting production waste has smaller but compounding effects.

Frequently asked questions

What counts as COGS?

Anything you wouldn't spend if you didn't make the sale: materials, direct labour, per-unit shipping, payment processing fees.

Is gross margin the same as gross profit?

Gross profit is the dollar amount; gross margin is that amount as a percentage of revenue.

What's a healthy gross margin?

SaaS: 70–85%. Ecommerce: 40–60%. Restaurants: 60–70% on food. Compare to your industry, not a universal target.

Related Pricing Tools

Other free tools in the pricing & profitability silo.