Skip to content
GM Calculator

Gross Profit Margin Calculator

Last updated: August 31, 2026

Calculate your gross profit margin instantly — enter your revenue and cost of goods sold (COGS) to see your gross profit, gross margin percentage (also called GP margin), and how it compares to industry benchmarks. No sign-up required.

📊 GP Margin💰 GP Calculator📈 Industry Benchmarks🔄 3 Calculation Modes

Formula

GP Margin = (Revenue − COGS) ÷ Revenue × 100

60.00%

GP Margin

Gross Profit

$30,000.00

Revenue

$50,000.00

Revenue Breakdown

COGS vs Gross Profit

COGS$20,000.0040%
Gross Profit$30,000.0060%

Insight

Strong gross margin at 60.0%. You keep $0.60 of every dollar before overhead.

Share this calculator

GP Margin Benchmarks by Industry

SaaS / Software

Average: 70% — 85%

Good: 80%+

E-commerce

Average: 35% — 55%

Good: 50%+

Manufacturing

Average: 20% — 40%

Good: 35%+

Learn How It Works

What Is Gross Profit Margin?

Gross profit margin is the percentage of revenue left after subtracting the direct cost of producing your goods or services (COGS). It does not include overhead like rent, salaries, or marketing — those are subtracted later to get net margin.

Gross Profit Margin = (Revenue − COGS) ÷ Revenue × 100

Gross Profit Calculation Formula, Step by Step

  1. Subtract COGS from Revenue to get Gross Profit.
  2. Divide Gross Profit by Revenue.
  3. Multiply by 100 to get a percentage.

Example: Revenue = $50,000, COGS = $20,000.

Gross Profit = $50,000 − $20,000 = $30,000

GP Margin = $30,000 ÷ $50,000 × 100 = 60%

Gross Profit vs. Gross Margin — Are They the Same?

Not quite, though people use the terms interchangeably. Gross profit is a dollar amount — revenue minus COGS. Gross margin (also called GP margin) is that same figure expressed as a percentage of revenue. If your gross profit is $30,000 on $50,000 revenue, your gross margin is 60%. Most people searching for a “GP calculator” want the percentage, not just the raw dollar figure — which is why this calculator gives you both.

Gross Margin vs. Net Margin (GP vs NP)

Gross margin only accounts for COGS (materials, direct labor, manufacturing). Net margin subtracts everything — COGS plus rent, salaries, marketing, taxes, and overhead. A business can have a healthy 60% gross margin and still be unprofitable if overhead eats the rest. Always check both.

Gross Profit (GP)

GP = Revenue − COGS

Shows production efficiency — how much you keep from each sale before overhead.

Net Profit (NP)

NP = Revenue − All Expenses

The true bottom line — what's left after every cost is paid.

Margin vs. Markup — What's the Difference?

Margin and markup are calculated from the same numbers but answer different questions. Margin is profit divided by revenue (selling price) — it tells you what percentage of each sale is profit. Markup is profit divided by cost — it tells you how much you added on top of what something cost you to make. A $40 item that costs $20 has a 100% markup but only a 50% margin. They're never the same number except at very low percentages, so always check which one a report or supplier is quoting before comparing numbers.

Margin Formula

Margin = Profit ÷ Revenue × 100

Markup Formula

Markup = Profit ÷ Cost × 100

What's a Good Gross Profit Margin?

Average GP margin ranges by industry. Use these to evaluate your own margins.

IndustryTypical GP Margin
SaaS / Software70% — 85%
Professional Services50% — 80%
E-commerce35% — 55%
Retail (General)25% — 50%
Manufacturing20% — 40%
Food & Beverage30% — 60%

How to Improve Your Gross Profit Margin

  • Raise prices. Even a small increase flows straight to gross profit since COGS doesn't change.
  • Negotiate supplier costs. Better terms, bulk pricing, or new suppliers lower COGS directly.
  • Reduce production waste. Less scrap, spoilage, or rework means more of your material cost turns into sellable product.
  • Shift toward higher-margin products. If your product mix includes both low- and high-margin items, growing the high-margin side lifts your blended average.
  • Automate or streamline direct labor. Anything that cuts the labor cost baked into COGS improves margin without touching price.

How to Calculate Gross Profit Margin in Excel

Gross Profit formula in Excel:

=A2-B2

Where A2 = revenue, B2 = COGS

GP Margin % formula in Excel:

=(A2-B2)/A2

Format the cell as a percentage to display correctly

Frequently Asked Questions

How do I calculate gross profit margin?

Gross Profit Margin = (Revenue − COGS) ÷ Revenue × 100. Example: $100,000 revenue, $40,000 COGS → ($100,000 − $40,000) ÷ $100,000 × 100 = 60% gross margin.

What is the formula for GP margin?

GP Margin = (Revenue − COGS) ÷ Revenue × 100. 'GP' stands for gross profit, so GP margin is the same as gross profit margin — a percentage showing how much revenue remains after covering direct costs.

What is the difference between gross margin and gross profit?

Gross profit is a dollar amount — revenue minus COGS. Gross margin (also called GP margin) is that same figure expressed as a percentage of revenue. If your gross profit is $30,000 on $50,000 revenue, your gross margin is 60%.

Is GP the same as gross margin?

Yes — 'GP' is just shorthand for gross profit, and 'GP margin' means the same thing as gross profit margin or gross margin.

Is GP margin or markup?

GP margin refers to gross margin, not markup. It's calculated on revenue (selling price), not on cost — see the Margin vs. Markup section above for the distinction.

Is 30% a good gross margin?

It depends on the industry. For retail or food & beverage, 30% is reasonable. For SaaS or professional services, 30% would be considered low.

What does a 60% gross margin mean?

It means 60 cents of every revenue dollar remains after covering the direct cost of goods sold. The other 40 cents went to COGS. Whether 60% is strong depends on your industry — see the benchmark table above.

What is a good gross profit margin?

Depends on industry — SaaS averages 70–85%, professional services 50–80%, e-commerce 35–55%, retail 25–50%, manufacturing 20–40%. Always compare to your specific industry.

How do I calculate gross profit in Excel?

Use =Revenue-COGS for gross profit, and =(Revenue-COGS)/Revenue for gross margin as a decimal — format the cell as a percentage to display it correctly.

How do I calculate GP and NP?

GP (gross profit) is revenue minus COGS. NP (net profit) goes further, subtracting all other expenses too — rent, salaries, marketing, taxes. GP shows production efficiency; NP shows whether the business is actually profitable overall.

What does a 70% gross margin mean?

70 cents of every revenue dollar is gross profit. This is typical for SaaS, professional services, and digital products with low direct costs. It's considered excellent in most industries.

How do I increase my gross profit margin?

Raise prices, reduce COGS through better supplier terms or lower material costs, reduce production waste, shift toward higher-margin products, or automate direct labor.

What is a normal gross margin?

Most businesses fall between 25% and 60% gross margin. The 'normal' range varies significantly by industry — compare yours to the benchmarks above.

GP Calculator Pros & Cons

Pros

  • ✅ Instant GP margin, profit, and required revenue
  • ✅ 3 calculation modes in one tool
  • ✅ Visual gauge and breakdown charts
  • ✅ Industry benchmark comparison
  • ✅ Free forever — no sign-up required
  • ✅ Works offline after page load

Cons

  • ✗ No dedicated mobile app
  • ✗ Does not track expenses over time
Shahid

Reviewed by Shahid

Content Reviewer & Calculator Specialist

Content reviewer specializing in marketing, finance, health, and math calculators on GM Calculator.

✓ Content Reviewer✓ Calculator Accuracy Specialist