Calculate gross profit and gross margin from revenue and cost of goods sold, with an optional per-unit breakdown.
Ready to Calculate
Enter your revenue and COGS, then click Calculate to see results.
| Metric | Value |
|---|
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.
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.
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.
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.
Gross profit measures product-level profitability before operating expenses.
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.
COGS includes only costs directly tied to production — materials, direct labor, manufacturing overhead. Rent, marketing, and admin salaries belong in operating expenses, not COGS.
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.
Common questions about gross profit calculations
Explore other pricing & profitability tools