Gross Profit Calculator

Calculate gross profit, gross margin, and markup from revenue and cost of goods sold — and see exactly where the money goes.

The First Checkpoint on the Income Statement

Gross profit is what's left of revenue after subtracting the direct cost of producing what you sold — materials, direct labor, manufacturing overhead, or wholesale cost, depending on the business. It's the first, and often most revealing, profitability checkpoint on an income statement, calculated well before rent, salaries, marketing, or any other operating expense enters the picture.

It's easy to conflate gross profit with "the money a business actually keeps," but that's not quite right — gross profit still has to cover every other cost of running the business before anything becomes net profit. What gross profit actually tells you is something narrower and arguably more useful: how efficiently the core product or service itself is priced relative to what it costs to deliver.

At a glance:
• Gross profit = revenue − cost of goods sold (COGS)
• Gross margin expresses that profit as a percentage of revenue
• Markup expresses that same profit as a percentage of cost instead — a very different number from margin
• Operating expenses (rent, salaries, marketing) come out after gross profit, not before

Gross Profit Calculator

Revenue-to-Profit Waterfall

Gross Profit

$32,000

revenue − COGS

Gross Margin

40.0%

profit ÷ revenue

Markup

66.7%

profit ÷ COGS

Cost Ratio

60.0%

COGS ÷ revenue

Margin vs. Markup — The Mix-Up That Costs Real Money

Core formulas:

gross profit = revenue − COGS
gross margin = (gross profit ÷ revenue) × 100
markup = (gross profit ÷ COGS) × 100

Why These Two Percentages Are Never Equal

Margin and markup measure the same dollar amount of profit against two different denominators — margin compares it to revenue, markup compares it to cost. Because revenue is always larger than cost (assuming any profit exists at all), markup will always be a bigger percentage than margin on the exact same numbers. Confusing the two is one of the most common, costly pricing mistakes a business can make.

Worked Example

Given: $80,000 revenue, $48,000 COGS

Step 1: Gross profit → $80,000 − $48,000 = $32,000
Step 2: Gross margin → $32,000 ÷ $80,000 = 0.40 → 40% margin
Step 3: Markup → $32,000 ÷ $48,000 ≈ 0.667 → 66.7% markup

Notice a 40% margin and a 66.7% markup describe the exact same $32,000 of profit — pricing a product at "40% markup" when you actually meant "40% margin" would leave real money on the table.

Typical Gross Margins by Industry

Gross margin varies enormously by business model — a software company and a grocery store are playing an entirely different game, and comparing their margins directly is rarely useful.

General Reference Ranges

Industry Typical Gross Margin Why
Software / SaaS 70–90% Near-zero cost to serve an extra customer
Restaurants 60–70% Food cost is the main COGS driver
Retail 25–50% Wholesale cost of goods resold
Manufacturing 20–35% Materials and direct labor heavy

These are broad, widely cited ballpark ranges — actual margins vary significantly by company size, region, and specific business model.

Where Gross Profit Actually Drives Decisions

Pricing New Products: Setting a price starts with knowing the direct cost to produce or acquire an item, then deciding on a target margin — gross profit math is the foundation almost every pricing decision builds on.

Comparing Product Lines: A business selling multiple products often finds that revenue leaders and gross-profit leaders aren't the same items — a high-volume, low-margin product can generate less actual profit than a lower-volume, higher-margin one.

Lender & Investor Due Diligence: Banks and investors look closely at gross margin trends over time, since a shrinking margin can signal rising input costs, pricing pressure, or competitive erosion well before it shows up in the bottom line.

Restaurant Food Cost Management: Restaurants track food cost percentage (a close cousin of COGS ratio) meal by meal, since even small ingredient price increases can quietly erode margin across thousands of orders.

Inventory & Supplier Negotiation: Businesses with high COGS relative to revenue often focus heavily on supplier negotiations and inventory efficiency, since even modest reductions in cost of goods flow straight through to gross profit.

Break-Even Analysis: Gross margin feeds directly into calculating how much revenue a business needs to cover its fixed operating costs, since it determines how many cents of every sales dollar are actually available to pay for overhead.

Getting the Numbers Right

✓ Never say "markup" when you mean "margin," or vice versa: A 50% markup and a 50% margin represent very different profit amounts on the same cost — always confirm which one a conversation is actually referring to.

✓ Be consistent about what counts as COGS: Direct materials and direct labor almost always belong in COGS; rent, marketing, and administrative salaries almost always don't — mixing the two distorts gross margin and makes it harder to compare periods.

✓ Gross profit isn't the same as cash in the bank: Operating expenses, taxes, interest, and debt payments all still come out of gross profit before anything becomes actual net income or cash flow.

✓ Track the trend, not just one snapshot: A single month's gross margin can be noisy — watching the trend over several periods reveals whether pricing power or cost pressure is actually shifting.

✓ To hit a target margin, use the margin formula backward: If you know your cost and want a specific margin, the correct selling price is cost ÷ (1 − target margin), not cost × (1 + target margin), which actually calculates a markup instead.

✓ Compare against your own history first: Industry benchmarks are useful for orientation, but your own prior-period gross margin is usually the most meaningful comparison for spotting a real change.

An Idea as Old as Double-Entry Bookkeeping

Luca Pacioli and the Birth of Modern Accounting: The Italian mathematician and Franciscan friar Luca Pacioli published a detailed description of double-entry bookkeeping in 1494, laying much of the conceptual groundwork that later formal accounting statements, including the modern income statement, would build on.

Separating "Cost of the Goods" From "Cost of Running the Business": The distinction between direct production costs and broader operating expenses developed gradually as businesses grew more complex, eventually formalizing into the layered income statement structure — gross profit, operating profit, net profit — used almost universally today.

The Matching Principle: Modern accounting standards rely on the matching principle, which requires that the cost of producing a good be recorded in the same period as the revenue it generated — the accounting rule that makes a clean, period-by-period gross profit calculation possible at all.

Standardized for Comparability: As financial reporting became more regulated through the 20th century, gross profit's position as the first major line below revenue became a standardized convention, letting analysts compare profitability across companies using a consistent framework.

Frequently Asked Questions

Q: What's the difference between gross profit and net profit?

Gross profit only subtracts the direct cost of producing what was sold. Net profit subtracts everything else too — rent, salaries, marketing, interest, and taxes — making it a much more complete (and usually much smaller) profitability figure.

Q: Why are margin and markup different numbers for the same profit?

Margin divides profit by revenue; markup divides the same profit by cost. Since revenue is always larger than cost when a profit exists, markup will always show a higher percentage than margin on identical dollar figures.

Q: What typically counts as cost of goods sold?

Direct materials, direct labor tied to production, and manufacturing overhead directly tied to what was sold. Costs like office rent, marketing, and administrative salaries are usually classified as operating expenses instead, not COGS.

Q: Can gross profit be negative?

Yes — if the cost of producing something exceeds what it sold for, gross profit turns negative, meaning the business is losing money on the product itself before any operating expenses are even considered.

Q: Why do investors care more about gross margin percentage than the dollar amount?

The percentage reveals underlying efficiency and pricing power independent of company size, letting a small business be compared fairly against a much larger one, or letting the same business be tracked consistently as it scales.

Q: How is gross profit different from contribution margin?

Gross profit typically follows formal accounting COGS classifications. Contribution margin is an internal management metric that subtracts only variable costs, which can be defined more flexibly than the accounting rules governing COGS.