Gross Profit Margin

Calculate gross profit margin from revenue and cost of goods sold

$
$

About Gross Profit Margin

Gross profit margin = (Revenue - COGS) / Revenue. It shows how efficiently a company produces goods. Higher margins mean more money available for operating expenses and profit.

About This Tool

Enter revenue and cost of goods sold (COGS); the tool returns gross profit (revenue − COGS) and gross profit margin as a percentage of revenue.

Use it when sizing a product line, comparing two SKUs, or sanity-checking that a price increase actually moved the margin in the direction you wanted. Gross margin is the cleanest read on whether the unit economics work — if it's negative, the rest of the P&L doesn't matter.

The calculator deliberately stops at gross margin. Operating expenses, taxes, and overhead are below gross margin on the income statement and live in different tools.

Gross profit = revenue − cost of goods sold. Gross margin = gross profit ÷ revenue, expressed as a percentage. The numerator strips away the direct cost of producing what you sold; the denominator is what customers paid. The ratio answers a simple question: of every dollar of revenue, how many cents are left after the direct cost of the goods? If that number is negative, you're losing money on every sale before you've even paid rent.

Worked example. A coffee shop sells $1,000 in lattes during a shift. Beans, milk, syrups, and cups consumed in those lattes cost $250. Gross profit = $750. Gross margin = 75%. The shop hasn't paid rent, payroll, or utilities yet — those come below gross margin on the income statement. But 75% is a healthy gross margin for the espresso category; a shop running at 50% gross would need to fix something fast. Comparison: a wholesale grocery distributor often runs at 8-15% gross margin and survives on volume. Software companies routinely run 70-90%. Industry averages matter for benchmarking; the absolute number means little out of context.

What counts as COGS. The direct, variable cost of the units sold: raw materials, direct labor when assignable per unit, packaging that goes out with the product, payment processing fees on the sale. What doesn't: salaries of people not making the product, rent, advertising, software subscriptions, depreciation. Those are operating expenses and live below gross margin in the income statement. The line between COGS and OpEx is a judgment call for some line items (especially for service businesses), and accountants in your industry have conventions worth following.

A contrarian opinion: gross margin tells you whether the unit economics work, but a healthy gross margin can still mask a broken business. A SaaS company with 85% gross margin and CAC payback of 36 months is in trouble despite the headline number. Similarly, a low-gross-margin business (groceries) with disciplined OpEx can be wildly profitable. Gross margin is a necessary check, not sufficient. Pair it with operating margin, contribution margin, and CAC payback before drawing conclusions.

The about text and FAQ on this page were drafted with AI assistance and reviewed by a member of the Coherence Daddy team before publishing. See our Content Policy for editorial standards.

Frequently Asked Questions