Gross Profit Margin Calculator

Calculate gross profit margin from revenue and cost of goods sold. See GPM percentage, gross profit amount, and industry benchmarks.

$
$
40%
Gross Profit Margin
$200,000.00 gross profit
Gross Profit
$200,000.00
Revenue minus costs
Gross Margin
40%
COGS Ratio
60%
of revenue
Equivalent Markup
66.67%
on cost

Revenue Breakdown

COGS 60%
Gross Profit 40%

Industry Benchmarks

IndustryTypical GPM RangeYour GPM
Software / SaaS7085%Below
Technology Hardware3555%In Range
Restaurants5565%Below
Retail (Apparel)4565%Below
Retail (Grocery)2530%Above
Manufacturing2040%In Range
Construction1525%Above
Consulting / Services5070%Below

Margin at Different COGS Levels

COGS %COGSGross ProfitGPM
40%$200,000.00$300,000.0060%
50%$250,000.00$250,000.0050%
60%$300,000.00$200,000.0040%
65%$325,000.00$175,000.0035%
70%$350,000.00$150,000.0030%
75%$375,000.00$125,000.0025%
80%$400,000.00$100,000.0020%
90%$450,000.00$50,000.0010%
Planning notes, formulas, and examples

About the Gross Profit Margin Calculator

Gross profit margin is the most fundamental profitability metric in business. It tells you how much money remains after covering the direct costs of producing your goods or services, expressed as a percentage of revenue. Our Gross Profit Margin Calculator takes your revenue and cost of goods sold (COGS) and returns your gross profit in dollars and as a percentage.

Understanding your gross margin is critical because it determines how much room you have to cover operating expenses, pay for marketing, invest in growth, and ultimately generate net profit. A shrinking gross margin signals rising production costs or pricing pressure, while an expanding margin suggests improved efficiency or stronger pricing power.

Whether you're a small business owner tracking monthly financials, a product manager evaluating SKU-level profitability, or a student learning financial fundamentals, this calculator makes the math easier to inspect.

Use the result to compare scenarios, test assumptions, and revisit the model when pricing, volume, or financing inputs change.

When This Page Helps

Gross profit margin is the first number investors, lenders, and analysts look at when assessing a business. It reveals whether your core business model is economically viable before overhead and other expenses enter the picture. Tracking GPM over time helps you spot trends early — before they hit your bottom line.

How to Use the Inputs

  1. Enter your total revenue (net sales) for the period.
  2. Enter your cost of goods sold (COGS) — direct materials, direct labor, and manufacturing overhead.
  3. The calculator shows gross profit in dollars and as a percentage.
  4. Compare your GPM against industry benchmarks in the reference table.
  5. Use the scenario table to see how margin changes at different revenue/COGS levels.
Formula used
Gross Profit = Revenue − COGS Gross Profit Margin (%) = (Gross Profit / Revenue) × 100 Where: • Revenue = total net sales • COGS = cost of goods sold (direct costs only)

Example Calculation

Result: $200,000 gross profit, 40.0% gross profit margin

With $500,000 in revenue and $300,000 in COGS, gross profit is $200,000. Dividing by revenue: $200,000 / $500,000 = 0.40 or 40%. This means 40 cents of every revenue dollar remains after covering direct production costs.

Tips & Best Practices

  • Track GPM monthly to catch cost creep early — a 2% drop might not seem alarming but compounds quickly.
  • Gross margin varies dramatically by industry: software companies may see 80%+, while grocery stores operate at 25–30%.
  • If GPM is falling, investigate whether COGS increases are from materials, labor, or overhead.
  • Improving GPM by even 1–2 percentage points can significantly boost net profit.
  • Don't confuse gross margin with markup — a 50% markup produces a 33.3% margin, not 50%.
  • For service businesses, COGS typically includes direct labor and any materials consumed in delivering the service.

Why Gross Profit Margin Is the Most Important Metric

Gross profit margin sits at the top of the income statement waterfall. Every other profitability metric — operating margin, EBITDA margin, net margin — starts with gross profit and subtracts additional costs. If gross margin is weak, no amount of cost-cutting below the line will produce a healthy business. This is why investors and lenders evaluate GPM first.

Industry Benchmarks

Gross margins vary enormously by industry because of fundamentally different cost structures. A SaaS company with 82% gross margin has very low marginal costs (the software is already built). A grocery retailer with 28% margin operates in a low-margin, high-volume business. Neither number is inherently good or bad — context matters. Always benchmark against your specific industry and track your own trend line.

Improving Gross Margin

There are two paths to higher GPM: increase prices or reduce COGS. Price increases require strong value propositions and competitive positioning. COGS reductions come from supplier negotiations, production efficiency, automation, waste reduction, and economies of scale. The best businesses work on both simultaneously.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • It depends heavily on industry. Software/SaaS companies average 70–85%. Retail averages 25–50%. Manufacturing ranges from 20–40%. Restaurants typically see 55–65%. Compare against your specific industry and track trends over time rather than targeting a universal number.