Accounting

Gross Profit Calculator

Gross profit and gross margin from revenue and cost of goods sold. The first test of whether the product economics work, before any overhead.

Revenue, and what the goods cost to deliver

The two lines at the top of the income statement

$

All sales/income for the period.

$

Cost of goods sold — the direct cost of the products or services you sold.

Gross Profit

$80,000

Revenue minus cost of goods sold, in money.

Formula verified 12 September 2026

Gross Margin

40.00%

Gross profit as a percent of revenue.

COGS-to-Revenue

60.0%

Cost of goods sold as a percent of revenue.

Report an issue

Educational estimate only — not accounting or tax advice. Read the full disclaimer ↓

Revenue, COGS and Gross Profit

Add your numbers to see the visual breakdown.

Estimates only — not financial, tax, or professional advice.

100% private — every number you enter is calculated in your browser and never sent to our servers.

What it calculates: Gross Profit, Gross Margin, COGS-to-Revenue.

Updated 5 June 2026 · Transparent assumptions

This page gives the money; the gross margin page gives the percentage

Gross profit and gross margin are the same calculation read two ways, and the site keeps them apart deliberately. This page leads with the currency figure — the $80,000 that has to cover everything else — because that is the number you budget against. If the percentage is what you are comparing across products, periods or competitors, the gross margin calculator leads with that instead and carries the margin-versus-markup arithmetic in more depth.

A 40% margin is what remains to pay for everything that is not the product itself

Revenue of $200,000 less $120,000 of cost of goods leaves $80,000 — a 40% gross margin, with cost of goods consuming the other 60%. That $80,000 is the entire budget for rent, salaries outside production, marketing, software, interest and profit. Nothing else is coming.

Reading it that way makes the number actionable. A business with $150,000 of overhead and a 40% margin needs $375,000 of revenue to break even. Lift the margin to 50% and break-even falls to $300,000. Gross margin is the multiplier on every sales dollar, which is why a point of margin is usually worth more than a point of revenue growth.

Move one cost across the line and the margin changes without the business changing

Cost of goods should hold costs that vary directly with what you sell: materials, the labour that makes or delivers the unit, inbound freight, manufacturing overhead, and for a reseller the purchase price plus landed cost. Salaries of people who would be paid whether or not you sold anything belong below the line, in operating expenses.

The boundary is genuinely contested for service and software businesses. Hosting and customer-support cost sit in cost of revenue for some SaaS companies and in operating expense for others, and gross margins of 70% and 85% can describe identical businesses reported differently. When comparing margins across companies, check what each includes before concluding anything.

A 40% margin is a 66.7% markup, and confusing them underprices consistently

Margin divides profit by the selling price; markup divides the same profit by the cost. Here $80,000 of profit on $200,000 of revenue is a 40% margin, while $80,000 on $120,000 of cost is a 66.7% markup. Both describe the same transaction.

The error is one-directional and expensive. A business wanting a 40% margin that applies a 40% markup to cost sells at $168,000 instead of $200,000, achieving a 28.6% margin — nearly a third less gross profit than intended, on every single sale. To hit a target margin, divide cost by one minus the margin rather than multiplying cost by it.

A high gross margin and a loss-making business are entirely compatible

Gross profit says nothing about overhead. A software business with a 90% gross margin and $2m of operating expenses against $1m of revenue is losing money heavily; a distributor at 12% with disciplined costs can be reliably profitable. Gross margin describes the unit economics, not the business.

It is also a single period. Seasonal businesses, companies carrying inventory at varying cost, and anything with long production cycles can show gross margins that swing sharply between periods for reasons that have nothing to do with pricing. Inventory accounting choices — FIFO against weighted average — move the figure too, which is another reason cross-company comparison needs care.

Sources & References

Figures on this page are checked against primary, authoritative sources. Links open in a new tab.

Related Calculators

Operating ProfitOperating profit and margin after COGS and operating expenses, with gross profit shown above it.
Profit MarginWork out gross, contribution, operating, and net margin, with target pricing, break-even, scenarios, and SKU comparison.
MarkupPrice from cost across nine modes — markup, target margin, reverse cost ceilings, and ecommerce landed cost after fees.
Break-EvenFind units and revenue break-even, contribution margin, target profit, and margin of safety, with sensitivity tables and a chart.

More in Business, or browse all calculators.

Business disclaimer

Results are estimates for planning and analysis based on the figures you enter. They are not accounting, tax, or financial advice — verify with your own records and a qualified professional before making decisions.

How we calculate · Found an error? email us

Authorship & verification

Written and maintained by , a business operator who builds spreadsheet-based calculators.

What's changed (2 updates)

Published 12 September 2026

  1. Published the calculator with its formula, worked example, assumptions, limitations and a bespoke guide, and added an automated formula test suite covering it.
  2. Property-tested that gross margin and the cost-of-goods ratio always sum to 100%, which is the identity the page is built on.

Add this calculator to your site

Responsive embed — and private: nothing your visitors type leaves their browser.