📈 Gross Profit Calculator

Calculate gross profit and gross margin from revenue and cost of goods sold, with an optional per-unit breakdown.

Revenue & Cost Details
$
$
📈

Ready to Calculate

Enter your revenue and COGS, then click Calculate to see results.

Gross Profit Results
Gross Profit
revenue − COGS
Gross Margin %
of revenue
Gross Profit per Unit
COGS % of Revenue
cost share
Full Breakdown
MetricValue

Illustrative gross margin benchmarks by industry: Software/SaaS 70–90%, Retail 20–50%, Restaurants ~60–70% (food-cost basis), Manufacturing 25–35%. Actual healthy margins vary by business model and market.

Guide

About the Gross Profit Calculator

The Gross Profit Calculator computes gross profit and gross margin from revenue and cost of goods sold (COGS), giving you the cleanest possible read on how efficiently your core product or service is priced and produced, before rent, marketing, salaries, interest, or tax enter the picture. It's built for founders, finance teams, and retailers who want a quick, accurate gross profit and gross margin figure without digging through a full income statement.

How It Works

You enter total revenue and total cost of goods sold for a period. The calculator subtracts COGS from revenue to get gross profit, then divides gross profit by revenue to get gross margin percentage. If you also enter units sold, it divides revenue, COGS, and gross profit by that unit count to show per-unit figures — useful for comparing profitability across products or pricing tiers that have very different volumes. COGS as a percentage of revenue is shown alongside gross margin so you can see both sides of the same ratio.

Why It Matters

Gross profit is the first checkpoint in the income statement waterfall: if it's too thin, no amount of operating discipline downstream can rescue overall profitability. Tracking gross margin over time reveals whether rising material costs, supplier price increases, or discounting are eating into product-level profitability — often before it shows up in the net profit line. Comparing your gross margin against industry benchmarks also tells you quickly whether your pricing or cost structure is out of step with competitors.

Tips for Accurate Results

  • Include only direct production costs in COGS — materials, direct labor, and manufacturing overhead — and keep operating expenses like rent, admin salaries, and marketing out of it.
  • Use consistent time periods for revenue and COGS (both monthly, both quarterly, etc.) so the resulting margin isn't distorted by a mismatch in timing.
  • Compare gross margin against your own industry's typical range rather than a single universal target — software and manufacturing margins are naturally very different.
  • Watch the trend, not just the snapshot — a gradually shrinking gross margin often signals a pricing or supplier-cost problem worth investigating early.
Formula

How Gross Profit is Calculated

Gross profit measures product-level profitability before operating expenses.

Gross Profit Formula
Gross Profit = Revenue − Cost of Goods Sold (COGS)
📊

Gross Margin %

Gross Margin % = Gross Profit ÷ Revenue × 100. This shows what share of every sales dollar remains after covering the direct cost of producing what you sold.

🏭

Only Direct Costs Count

COGS includes only costs directly tied to production — materials, direct labor, manufacturing overhead. Rent, marketing, and admin salaries belong in operating expenses, not COGS.

📉

Watch the Trend

A single gross margin number matters less than its trend over time. A steadily declining gross margin usually signals rising input costs or unsustainable discounting.

FAQ

Frequently Asked Questions

Common questions about gross profit calculations

What is gross profit?
Gross profit is the money left over after subtracting the cost of goods sold (COGS) from revenue: Gross Profit = Revenue − COGS. It measures how efficiently a business produces and sells its core product or service before accounting for operating expenses, interest, or tax.
Gross profit vs net profit — what's the difference?
Gross profit only subtracts COGS from revenue. Net profit goes further, subtracting operating expenses, interest, and tax as well. Gross profit shows product-level profitability; net profit shows the actual bottom-line profitability of the entire business.
What's a good gross margin?
It varies widely by industry. As rough illustrative benchmarks: software/SaaS 70–90%, retail 20–50%, restaurants roughly 60–70% on a food-cost basis, and manufacturing 25–35%. Compare your gross margin to businesses in your own industry rather than a universal target.
Does gross profit include operating expenses?
No. Gross profit only accounts for COGS — the direct costs of producing what you sell (materials, direct labor, manufacturing overhead). Operating expenses like rent, marketing, administrative salaries, interest, and tax are subtracted later to arrive at operating income and net profit.
How is COGS different from operating expenses?
COGS covers costs directly tied to producing the goods or services sold — raw materials, direct labor, manufacturing overhead. Operating expenses (opex) are indirect costs of running the business regardless of production volume — rent, salaries not tied to production, marketing, and administrative costs. Misclassifying opex as COGS will overstate gross margin.

Related Calculators

Explore other pricing & profitability tools