📈 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

Last updated: August 2026 · Reviewed by the NeftCal editorial team

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.

Who Should Use This Calculator

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.

Why It Matters for Financial Planning

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.

Common Scenarios

  • Checking whether a new product's price covers its direct production cost with enough gross margin to spare
  • Tracking gross margin trend month over month to catch rising material or supplier costs early
  • Comparing gross profit per unit across product lines with different sales volumes
  • Benchmarking gross margin against typical ranges for your industry before setting a pricing strategy
  • Feeding a known gross margin into NeftCal's Break-Even Calculator or Profit Margin Calculator for a fuller financial picture

Tips for Accurate Results

  • Include only direct production costs in COGS — materials, direct labor, and manufacturing overhead — and keep operating expenses like rent and marketing out of it
  • Use consistent time periods for revenue and COGS (both monthly, both quarterly) so the resulting margin isn't distorted by a timing mismatch
  • Enter units sold whenever you want a per-unit view — it's the fastest way to compare profitability across products or pricing tiers
  • Compare your gross margin against your own industry's typical range rather than a single universal target
Formula

How Gross Profit is Calculated

Gross profit measures product-level profitability before operating expenses, interest, or tax

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

Gross Margin %
Gross Margin % = Gross Profit ÷ Revenue × 100

COGS % of Revenue
COGS % = COGS ÷ Revenue × 100

Per-Unit Breakdown (optional)
Revenue per Unit = Revenue ÷ Units Sold
COGS per Unit = COGS ÷ Units Sold
Gross Profit per Unit = Gross Profit ÷ Units Sold
📊

Gross Margin %

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.

🏭

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, and leaving them out keeps gross margin meaningful.

🔢

Per-Unit View

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.

⚙️ Why This Formula Works

Revenue represents everything a sale brings in; COGS represents only the direct cost of producing what was sold. Subtracting one from the other isolates the profitability of the core product or service itself, before any spending on overhead, growth, or financing enters the picture. Dividing that gross profit figure by revenue converts it into a percentage that's comparable across different revenue scales — a $40,000 gross profit on $100,000 revenue and a $4,000 gross profit on $10,000 revenue both represent the same 40% gross margin.

🎯 When to Use This Formula

  • Checking whether a product's selling price leaves enough room above production cost
  • Tracking product-level profitability separately from overhead and tax effects
  • Comparing gross margin across products, periods, or competitors on a like-for-like basis
  • Getting a quick figure before running a fuller operating and net margin analysis

📋 Assumptions

  • Revenue and COGS are entered as totals for the same time period
  • COGS contains only direct production costs, not operating expenses
  • Units sold, when entered, is a whole count for that same period
  • No tax, interest, or non-operating items are factored into this figure

⚠️ Limitations of the Formula

  • Doesn't account for operating expenses, so a healthy gross margin can still mask an unprofitable business overall
  • Doesn't separate fixed and variable components within COGS
  • A single-period snapshot — doesn't show trend without repeated calculations
  • Depends entirely on correctly classifying costs as COGS versus operating expenses
Walkthrough

Step-by-Step: How to Use the Gross Profit Calculator

From revenue entry to a full gross profit breakdown in seconds

Enter your revenue

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.

Enter your cost of goods sold (COGS)

Input the direct costs of producing what you sold — materials, direct labor, and manufacturing overhead. Leave out rent, marketing, and admin salaries.

Optionally enter units sold

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.

Click Calculate

The calculator instantly returns gross profit, gross margin percentage, COGS percentage of revenue, and gross profit per unit if units were entered.

Review the full breakdown table

Check the detailed breakdown table for every metric, and compare your gross margin against the illustrative industry benchmarks shown beneath it.

Export or recalculate

Download a plain-text summary of your result, or adjust revenue, COGS, or units and recalculate to test different pricing or cost scenarios.

Example

Worked Example

A realistic apparel-brand gross profit calculation, step by step

Scenario

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.

Revenue$150,000
COGS$90,000
Units Sold3,000
PeriodQuarterly
Step 1 — Gross profit: Gross Profit = $150,000 − $90,000 = $60,000.00.
Step 2 — Gross margin %: Gross Margin % = $60,000 ÷ $150,000 × 100 = 40.00%.
Step 3 — COGS % of revenue: COGS % = $90,000 ÷ $150,000 × 100 = 60.00%.
Step 4 — Per-unit breakdown: Revenue per unit = $150,000 ÷ 3,000 = $50.00. COGS per unit = $90,000 ÷ 3,000 = $30.00. Gross Profit per unit = $60,000 ÷ 3,000 = $20.00.
Gross Profit
$60,000.00
Gross Margin %
40.00%
Gross Profit per Unit
$20.00

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.

Interpretation

Understanding Your Results

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 MarginGeneral ReadTypical Industry Context
Under 25%Thin — high cost pressure, little room for errorGrocery, wholesale distribution, low-margin manufacturing
25% – 50%Moderate, typical for many product businessesGeneral retail, restaurants (food-cost basis), light manufacturing
Over 50%Strong — substantial cushion above production costBranded 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.

Use Cases

Practical Use Cases for the Gross Profit Calculator

Where a focused gross profit and gross margin figure earns its keep

🏷️

Product pricing checks

Verify a new product's selling price leaves enough gross margin above its direct production cost.

🛒

E-commerce SKU profitability

Check whether an individual product is genuinely profitable once landed cost and COGS are accounted for.

🏭

Manufacturing cost tracking

Track gross margin across production runs to catch rising material or labor costs early.

📉

Margin trend monitoring

Recalculate each period to spot a gradually shrinking gross margin before it becomes a crisis.

🔢

Per-unit profitability comparison

Compare gross profit per unit across product lines with very different sales volumes.

🍽️

Restaurant food-cost analysis

Check gross margin on a food-cost basis against typical 60–70% restaurant benchmarks.

🧾

Supplier negotiation prep

See exactly how much a proposed COGS increase would compress gross margin before agreeing to new terms.

📊

Investor and lender conversations

Present a clean gross profit and gross margin figure alongside a fuller profit margin breakdown.

🎓

Learning income-statement basics

See gross profit computed step by step for finance or accounting coursework.

🧮

Break-even prep

Get a gross margin percentage ready to plug into NeftCal's Break-Even Calculator.

📦

Multi-product comparison

Run each product's revenue and COGS through the calculator to rank them by gross margin.

📆

Monthly or quarterly reviews

Recalculate on a fixed schedule to track how gross margin shifts as costs and pricing change.

Pros & Cons

Advantages and Limitations

What this gross profit calculator does well, and where it can't replace a full income statement

✅ Advantages

  • Free, instant, and requires no signup or personal information
  • Runs entirely in your browser — your revenue and cost figures are never sent to a server
  • Focused purely on gross profit and gross margin, with no unrelated inputs to fill in
  • Optional per-unit breakdown for comparing products at different volumes
  • Shows COGS % of revenue alongside gross margin for a two-sided view of the same ratio
  • Full breakdown table plus illustrative industry benchmarks for context
  • Downloadable plain-text summary of your results
  • Works for a whole business, a single product line, or a per-unit price check
  • Fast, mobile-friendly, and requires no spreadsheet setup
  • Simple enough for quick pricing checks, but accurate enough for real planning
  • Clear separation from operating expenses keeps the figure easy to interpret
  • Pairs directly with NeftCal's Profit Margin Calculator for a fuller breakdown when needed

⚠️ Limitations

  • Doesn't include operating expenses, so it can't tell you whether the business as a whole is profitable
  • Doesn't account for interest, tax, or depreciation
  • Doesn't separate fixed and variable costs within COGS — use the Break-Even Calculator for that split
  • A single-period snapshot — trend analysis requires recalculating each period
  • Relies entirely on accurate COGS classification, which some businesses find tricky
  • Doesn't benchmark automatically against your specific industry
  • Not a substitute for a licensed accountant or a full income statement
Reference

Gross Profit vs. Operating Profit vs. Net Profit Compared

Three related profitability metrics, each stopping at a different set of costs

FeatureGross ProfitOperating ProfitNet Profit
Costs subtractedCOGS onlyCOGS + operating expensesCOGS + operating expenses + tax
What it showsProduct-level profitabilityCore operational efficiencyBottom-line profitability
Typically highest or lowest?Highest of the threeMiddleLowest of the three
Best NeftCal calculatorThis Gross Profit CalculatorProfit Margin CalculatorProfit 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 Mistakes and Expert Tips

❌ Common Mistakes

  • Including operating expenses like rent, marketing, or admin salaries inside COGS, which understates gross margin
  • Mixing revenue and COGS from different time periods, which distorts the resulting margin
  • Treating gross margin as the whole profitability picture instead of just the first checkpoint
  • Comparing gross margin against a universal target instead of your specific industry
  • Forgetting to enter units sold when a per-unit comparison across products is needed
  • Ignoring a shrinking gross margin trend until it shows up in net profit much later

💡 Expert Tips & Best Practices

  • Recalculate gross margin every reporting period, not just once at launch
  • Watch COGS % of revenue alongside gross margin — a rising COGS % is often the earliest warning sign
  • Use the per-unit breakdown to spot which products are quietly dragging down blended gross margin
  • Pair this calculator with NeftCal's Profit Margin Calculator to see operating and net margin on top of gross margin
  • Feed your gross margin into NeftCal's Break-Even Calculator to find the exact revenue needed to cover fixed costs
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 operating expenses, interest, or tax are taken into account. It's typically the first profitability figure reported on an income statement, sitting above operating profit and net profit.
How do you calculate gross profit?
Subtract cost of goods sold from revenue: Gross Profit = Revenue − COGS. For example, $150,000 in revenue minus $90,000 in COGS gives $60,000 in gross profit. To express it as a percentage, divide gross profit by revenue and multiply by 100 to get gross margin — in this example, $60,000 ÷ $150,000 × 100 = 40.00%. This calculator performs both steps automatically once you enter revenue and COGS.
What is gross margin percentage?
Gross margin percentage is gross profit expressed as a share of revenue: Gross Margin % = Gross Profit ÷ Revenue × 100. It shows how many cents of every revenue dollar remain after covering direct production costs. A 40% gross margin means $0.40 of every $1.00 in sales is gross profit, available to cover operating expenses, taxes, and ultimately profit. Unlike the dollar figure, gross margin percentage stays comparable across businesses of very different sizes.
What's a good gross margin?
It varies widely by industry. As rough illustrative benchmarks: grocery, wholesale, and low-margin manufacturing often run under 25%; general retail, restaurants (on a food-cost basis), and light manufacturing typically land between 25% and 50%; and branded goods, specialty retail, services, and software/SaaS frequently exceed 50%. Compare your gross margin to businesses in your own industry rather than a single universal target, since cost structures differ enormously between sectors.
Gross profit vs net profit — what's the difference?
Gross profit only subtracts COGS from revenue. Net profit goes much further, subtracting operating expenses (rent, salaries, marketing), interest, and tax as well. Gross profit shows product-level profitability — how efficiently you produce and sell — while net profit shows the actual bottom-line profitability of the entire business after every cost is accounted for. A business can have a strong gross profit and still post a net loss if operating expenses are too high.
Does gross profit include operating expenses?
No. Gross profit only accounts for COGS — the direct costs of producing what you sell, such as materials, direct labor, and manufacturing overhead. Operating expenses like rent, marketing, administrative salaries, interest, and tax are subtracted later, after gross profit, to arrive at operating profit and then net profit. Keeping operating expenses out of this calculation is what makes gross margin a clean measure of production-level efficiency.
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 an operating expense as COGS will overstate gross margin, while misclassifying a COGS item as opex will understate it, so accurate categorization matters.
What is gross profit per unit and why does it matter?
Gross profit per unit is your total gross profit divided by units sold — this calculator computes it automatically when you enter a units-sold figure. It shows how much profit each individual sale contributes before operating expenses, which is useful for comparing profitability across products or pricing tiers that sell at very different volumes. A product with a lower gross margin percentage can still have a higher gross profit per unit than a higher-margin, lower-priced item.
What does COGS % of revenue tell me?
COGS % of Revenue = COGS ÷ Revenue × 100, and it's the mirror image of gross margin — the two figures always add up to 100%. A rising COGS % over time, even with stable revenue, is often the earliest sign that supplier prices, materials, or production costs are creeping up and compressing your gross margin before it becomes obvious in the bottom line.
Gross profit vs contribution margin — are they the same?
They're related but not identical. Gross profit subtracts all of COGS, which can include some fixed manufacturing overhead, from revenue. Contribution margin subtracts only variable costs from revenue, excluding any fixed costs entirely. In simple businesses the two numbers are often close, but in manufacturing settings with significant fixed factory overhead inside COGS, they can diverge. Use NeftCal's Contribution Margin Calculator when you specifically need the fixed-vs-variable split.
Gross profit vs markup — what's the difference?
Gross profit is a dollar amount (Revenue − COGS); gross margin and markup are both percentages, but calculated on different bases. Gross margin divides gross profit by revenue; markup divides gross profit by COGS. Because revenue is always larger than COGS in a profitable sale, markup percentage is always numerically higher than gross margin percentage for the same transaction — a distinction worth knowing before setting prices.
Can I use this calculator without entering units sold?
Yes. Units sold is optional. Leave it blank or at zero and the calculator still returns gross profit, gross margin percentage, and COGS % of revenue — it simply skips the per-unit breakdown (revenue, COGS, and gross profit per unit), which only appears once you enter a units-sold figure greater than zero.
How often should I recalculate gross profit?
Recalculate at least every reporting period — monthly or quarterly for most small businesses — and any time COGS or pricing changes meaningfully. Gross margin can erode gradually as supplier costs creep up, so periodic recalculation catches a shrinking margin early, before it compounds into a much bigger pricing or cost problem down the line.
Is this gross profit calculator free and does it store my data?
Yes, it's completely free with no signup required. All calculations run locally in your browser using JavaScript — the revenue, COGS, and units-sold figures you enter are never transmitted to or stored on a server, so you can test real business numbers without any privacy concerns.
Why does my gross margin look different from my net margin?
Gross margin only reflects COGS, while net margin also subtracts operating expenses, interest, and tax. A business can have a strong 50% gross margin and still show a thin single-digit net margin if operating expenses or tax are high. If you want to see both figures side by side, NeftCal's Profit Margin Calculator computes gross, operating, and net margin together from the same revenue and cost inputs.
Learn More

Authoritative External Resources

Official guidance to complement this calculator — not a substitute for licensed accounting advice

Related Calculators

Explore other pricing & profitability tools