TL;DR: Profit margin = (Revenue − Costs) ÷ Revenue × 100. Gross margin excludes operating costs. Net margin includes everything. A 50% markup equals only 33.3% margin. In 2026, e-commerce businesses need 40%+ gross margin to absorb fulfillment inflation and CAC costs.

📖 Complete 2026 Guide

The Complete Margin Calculator Guide (2026)

Everything you need to understand, calculate, and improve your profit margins — in plain English, with real numbers.

📋 Reviewed By

Written by Marcus R., Lead Financial Analyst, and reviewed by Dana L., Business Data Researcher. Last updated: May 2026. Benchmarks sourced from NYU Stern Damodaran 2026 datasets. Report a Data Error.

What Is a Profit Margin?

Profit margin is the percentage of revenue remaining after you subtract costs. It answers the most fundamental business question: out of every dollar that comes in, how many cents do I actually keep?

There are three types of margin that matter for most businesses:

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

The Markup Trap — The Most Expensive Pricing Mistake

Markup and margin measure the same profit from different angles — and confusing them is the most common and expensive pricing mistake in small business.

Markup divides profit by cost. Margin divides profit by selling price. Because the denominator is different, the percentages are never the same.

Key Rule: 50% Markup ≠ 50% Margin
50% markup on $60 item → sell at $90 → Margin = $30/$90 = 33.3%
To hit 50% margin → need 100% markup → sell at $120

On $500,000 in annual revenue, the difference between a 50% markup and a 50% margin is $83,500 in annual profit. Use our Markup Calculator to verify every price before you set it.

2026 Industry Margin Benchmarks

Your margin doesn't exist in a vacuum. A 20% gross margin is excellent in grocery and catastrophic in software. Compare your number to your industry before drawing conclusions.

IndustryGross MarginNet Margin2026 Signal
Software / SaaS60–80%10–25%✅ Strong floor
Professional Services50–70%15–25%✅ Healthy
Specialty Retail40–60%5–12%✅ Solid
General Retail20–40%2–5%🟡 Watch OpEx
E-commerce (2026)35–50%+1–5%⚠️ CAC inflation compressing margins
Manufacturing20–40%5–10%🟡 Automation-sensitive
Restaurants60–70% (food)3–9%🟡 Location and labor critical
Grocery15–25%1–3%⚠️ Pure volume play

Source: NYU Stern Damodaran industry averages, updated Q1 2026. Full benchmark table →

The 2026 E-commerce Margin Problem

E-commerce margins face a unique pressure in 2026 that most margin calculators fail to account for: the combination of fulfillment cost inflation, rising Customer Acquisition Costs (CAC), and return rates has compressed what used to be a "healthy" gross margin threshold.

The old rule of thumb was 30% gross margin for e-commerce viability. In 2026, the floor has moved to 40%+ gross margin for a business to remain profitable at the net level after accounting for:

Use our Ecommerce Margin Calculator to see your true margin after all these costs.

💡 The Hidden Cost Most Business Owners Miss

Most margin calculations stop at COGS and selling price. But merchant processing fees (2.9% + $0.30 on most platforms), return handling, and the amortized cost of customer acquisition mean your "real" margin is 5-15 points lower than your basic calculation shows. Always calculate margin on the money that actually lands in your bank account — not just revenue minus product cost.

Last Verified: May 2026 | Verified by: TheMarginCalculator.com Research Team | Report a Data Error

All Margin Calculators

Frequently Asked Questions