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.
This gross profit calculator gives you a single, focused number: how much money is left after subtracting the direct cost of producing what you sold from your revenue. Enter revenue and cost of goods sold (COGS), and it instantly returns gross profit, gross margin percentage, COGS as a percentage of revenue, and — if you add units sold — a full per-unit breakdown. It's built for the moment you just need a clean gross profit and gross margin figure, without wading through a full income statement.
Unlike a broader profitability tool, this calculator deliberately stays narrow: it only computes gross profit and gross margin from revenue and COGS. It doesn't factor in operating expenses, interest, or tax, so the number you get reflects pure product-level or service-level profitability — the same figure that sits at the top of every income statement, before rent, salaries, marketing, or tax start eating into it. If you need the fuller picture — operating margin, net margin, markup, and expense ratio — NeftCal's Profit Margin Calculator builds on this same starting point with those additional cost layers.
This tool suits founders and retailers who want a quick gross profit figure for a product line, e-commerce sellers checking whether a SKU is priced correctly after landed costs, manufacturers tracking gross margin across a production run, and finance students learning how gross profit differs from operating and net profit. Because it accepts an optional units-sold figure, it also works well for comparing per-unit profitability across products with very different volumes.
Gross profit is the first checkpoint in the income statement waterfall — if it's too thin, no amount of cost discipline further down the statement can rescue overall profitability. Tracking gross margin over time reveals whether rising supplier costs, material price increases, or heavier discounting are quietly eating into product-level profitability, often well before the change shows up in net profit. Comparing your gross margin against industry benchmarks also flags quickly whether your pricing or production-cost structure is out of step with competitors in the same space.
Gross profit measures product-level profitability before operating expenses, interest, or tax
Gross Margin % shows what share of every revenue dollar remains after covering the direct cost of producing what you sold. A 40% gross margin means 40 cents of every dollar of revenue is gross profit.
COGS includes only costs directly tied to production — materials, direct labor, manufacturing overhead. Rent, marketing, and admin salaries belong in operating expenses, not COGS, and leaving them out keeps gross margin meaningful.
Adding units sold divides revenue, COGS, and gross profit by that count, so you can compare profitability across products or pricing tiers with very different sales volumes on an apples-to-apples basis.
From revenue entry to a full gross profit breakdown in seconds
Input your total revenue or sales for the period you want to analyze — monthly, quarterly, or any period, as long as it matches your COGS figure.
Input the direct costs of producing what you sold — materials, direct labor, and manufacturing overhead. Leave out rent, marketing, and admin salaries.
Add the number of units sold if you want a per-unit breakdown of revenue, COGS, and gross profit — useful for comparing products with different volumes.
The calculator instantly returns gross profit, gross margin percentage, COGS percentage of revenue, and gross profit per unit if units were entered.
Check the detailed breakdown table for every metric, and compare your gross margin against the illustrative industry benchmarks shown beneath it.
Download a plain-text summary of your result, or adjust revenue, COGS, or units and recalculate to test different pricing or cost scenarios.
A realistic apparel-brand gross profit calculation, step by step
Suppose an apparel brand generates $150,000 in revenue for the quarter, with $90,000 in cost of goods sold (fabric, manufacturing, and packaging), across 3,000 units sold.
Explanation: This brand keeps $0.40 of gross profit for every dollar of revenue, and each garment sold contributes $20.00 toward covering operating expenses like rent, staff, and marketing before anything becomes net profit. Because COGS consumes 60% of revenue, a small rise in fabric or manufacturing cost would compress gross margin quickly — worth watching closely if suppliers signal a price increase.
Comparing to the calculator's defaults: the calculator's own default scenario ($100,000 revenue, $60,000 COGS, 1,000 units) also produces a 40.00% gross margin, but a different gross profit per unit ($40.00 versus $20.00 above) — proof that gross margin percentage depends only on the ratio between revenue and COGS, while gross profit per unit additionally depends on your specific price and cost per unit.
What your gross margin percentage generally signals, by industry
There's no single universal "good" gross margin — it depends heavily on industry cost structure — but these general bands are a useful starting point drawn from typical, illustrative ranges.
| Gross Margin | General Read | Typical Industry Context |
|---|---|---|
| Under 25% | Thin — high cost pressure, little room for error | Grocery, wholesale distribution, low-margin manufacturing |
| 25% – 50% | Moderate, typical for many product businesses | General retail, restaurants (food-cost basis), light manufacturing |
| Over 50% | Strong — substantial cushion above production cost | Branded consumer goods, specialty retail, services, software/SaaS |
For pricing decisions: a thin gross margin isn't automatically a problem if it's typical for your industry (grocery, for example) — but it does mean cost control and volume matter far more than for a high-margin business.
For cost diagnosis: if gross margin is shrinking period over period, check COGS % of revenue first — a rising COGS % almost always points to supplier price increases, inefficient production, or discounting that's cutting into the price without a matching cost reduction.
Context matters: always compare gross margin against your specific industry rather than a single universal benchmark — a 30% gross margin might be excellent for a grocer and alarming for a software company.
This calculator provides estimates for educational and informational purposes only. Results may vary depending on business conditions, accounting methods, taxes, market trends, and other factors. It should not be considered financial, legal, tax, accounting, or investment advice. Consult qualified professionals before making business decisions.
Where a focused gross profit and gross margin figure earns its keep
Verify a new product's selling price leaves enough gross margin above its direct production cost.
Check whether an individual product is genuinely profitable once landed cost and COGS are accounted for.
Track gross margin across production runs to catch rising material or labor costs early.
Recalculate each period to spot a gradually shrinking gross margin before it becomes a crisis.
Compare gross profit per unit across product lines with very different sales volumes.
Check gross margin on a food-cost basis against typical 60–70% restaurant benchmarks.
See exactly how much a proposed COGS increase would compress gross margin before agreeing to new terms.
Present a clean gross profit and gross margin figure alongside a fuller profit margin breakdown.
See gross profit computed step by step for finance or accounting coursework.
Run each product's revenue and COGS through the calculator to rank them by gross margin.
Recalculate on a fixed schedule to track how gross margin shifts as costs and pricing change.
What this gross profit calculator does well, and where it can't replace a full income statement
Three related profitability metrics, each stopping at a different set of costs
| Feature | Gross Profit | Operating Profit | Net Profit |
|---|---|---|---|
| Costs subtracted | COGS only | COGS + operating expenses | COGS + operating expenses + tax |
| What it shows | Product-level profitability | Core operational efficiency | Bottom-line profitability |
| Typically highest or lowest? | Highest of the three | Middle | Lowest of the three |
| Best NeftCal calculator | This Gross Profit Calculator | Profit Margin Calculator | Profit Margin Calculator |
This calculator deliberately stops at gross profit — it's the fastest way to check product-level profitability without entering operating expenses or a tax rate. When you need operating margin, net margin, markup percentage, and expense ratio in the same place, NeftCal's Profit Margin Calculator takes the same revenue and COGS inputs further, adding operating expenses and tax rate to compute the fuller picture.
Common questions about gross profit calculations
Official guidance to complement this calculator — not a substitute for licensed accounting advice
Explore other pricing & profitability tools