A gross profit calculator tells you how much money a business keeps after paying for the goods it sells, before rent, wages, and other running costs. Take a shop with $96,000 in revenue and $58,000 in cost of goods sold: it keeps $38,000 in gross profit, a 39.6% gross margin. That leaves about 40 cents of every sales dollar to cover everything else. If that number is thin, the pricing or the buying has to change first — no amount of marketing fixes it.
Gross Profit Calculator
Calculate gross profit and gross margin from net sales revenue and cost of goods sold.
Gross Profit
$0.00
Gross Profit = Net Sales Revenue − Cost of Goods Sold
What Is Gross Profit?
Gross profit is revenue minus the direct cost of producing or buying what you sold, known as cost of goods sold (COGS). For a shop, COGS is mostly the wholesale price of stock. For a maker, it includes raw materials and the labor that goes directly into each item. Rent, office salaries, advertising, and loan interest are not included — they come out later, when you work out net profit.
You need gross profit whenever you set prices, compare suppliers, or judge whether a product line is worth keeping. A product can sell well and still be a bad idea if its COGS eats almost all of the price. You do not need it for a service business with almost no direct costs per job, or for a one-off check of your bank balance — in those cases, total profit or cash flow is the more useful number.
How to Use This Gross Profit Calculator
- Enter your Net Sales Revenue — total sales income after returns and discounts, not the sticker price of everything you listed.
- Enter your Cost of Goods Sold — the direct cost of the goods behind those sales, including materials and wholesale stock.
- Optionally enter Units Sold if you want the gross profit per unit as well. Leave it blank to skip that figure.
- Click Calculate. The tool shows your gross profit (or gross loss, if COGS is higher than revenue), your gross margin as a percentage, your markup on COGS, and, when you entered units, your gross profit per unit.
- Click Reset to clear the fields and run another product or time period.
How the Calculation Works
The formula is simple:
Gross Profit = Net Sales Revenue − Cost of Goods Sold
Gross Margin = (Gross Profit ÷ Net Sales Revenue) × 100
Say a furniture maker brings in $120,000 of revenue in a quarter and spends $74,000 on timber, hardware, and workshop labor for those pieces. Gross profit is $120,000 − $74,000 = $46,000, and the gross margin is $46,000 ÷ $120,000 × 100 = 38.3%. The tool also gives markup on COGS: $46,000 ÷ $74,000 × 100 = 62.2%. It differs from margin because it is measured against cost, not sales. The calculator uses only the numbers you enter, with no tax rates, price tables, or other built-in figures, so there is nothing stale to correct for.
Example
A bakery sells $42,500 worth of cakes and pastries in a month. Flour, butter, eggs, sugar, packaging, and the bakers’ direct hours for those goods cost $24,650. Gross profit is $42,500 − $24,650 = $17,850. The gross margin is $17,850 ÷ $42,500 × 100 = 42.0%, so the bakery keeps 42 cents of every sales dollar before rent, utilities, and marketing. Its markup on COGS is $17,850 ÷ $24,650 × 100 = 72.4%.
The bakery sold 850 items that month, so gross profit per unit is $17,850 ÷ 850 = $21.00. Watch that per-unit figure when a supplier raises the price of butter: if COGS climbs by $2,000 next month with sales unchanged, gross profit falls to $15,850 and the margin drops to 37.3%.
Common Uses
- Pricing a product: check that the price leaves enough gross profit after COGS before you commit to a launch price.
- Comparing suppliers: run the same sales figure against two suppliers’ costs and see which one actually leaves more money behind.
- Dropping a weak product line: a line with a 10% gross margin may not be worth the shelf space, even if it sells steadily.
- Tracking a business over time: compare this quarter’s gross margin with last quarter’s to catch rising material costs early.
- Planning a sale or discount: see how far you can cut prices before the gross margin turns too thin to cover overheads.
One honest limit: gross profit says nothing about rent, wages, or tax. A business can have a healthy 50% gross margin and still lose money once overheads are paid, so always follow this up with a full profit calculation before making a big decision.
Frequently Asked Questions
What is the difference between gross profit and net profit?
Gross profit is revenue minus COGS only. Net profit goes further and subtracts rent, wages, marketing, interest, and tax as well. Gross profit shows whether the product itself makes money; net profit shows whether the whole business does.
What is a good gross margin?
It depends on the industry. Grocery stores often run on margins under 30%, while software and digital products can run above 80%, because their COGS is tiny. Compare your margin with similar businesses in your own trade, and watch whether your own margin is rising or falling over time rather than chasing one magic number.
Can gross profit be negative?
Yes. If COGS is higher than revenue — for example, you sold stock below what you paid for it, or a production run cost more than it earned — gross profit is negative, and the tool labels it a gross loss. That is a warning sign: the product is losing money on every sale before overheads are even counted.
What counts as cost of goods sold?
COGS is the direct cost of what you sold: wholesale stock, raw materials, packaging, and labor that goes directly into making each item. Rent, office salaries, advertising, and loan interest are not COGS; they are operating expenses and come out later.
How does this gross profit calculator work out markup?
Markup on COGS is gross profit divided by COGS, times 100. It is not the same as gross margin, which divides by revenue instead. In the furniture example above, the margin was 38.3% but the markup was 62.2% — same profit, different denominator, so do not mix the two up when quoting prices.
Should I use revenue before or after discounts and returns?
Use net sales revenue: sales after discounts, refunds, and returns. Using the full sticker price before returns overstates both gross profit and margin, and the figure will not match what actually landed in your accounts.
Related Calculators
- Profit Calculator — Work out total profit after all costs, not just COGS.
- Profit Margin Calculator — Turn a profit figure into a margin percentage.
- Revenue Calculator — Work out total sales revenue from price and units sold.
- Break-Even Calculator — Find how many units you must sell to cover your costs.
- ROI Calculator — Measure the return on an investment or a business expense.
- Markup Calculator — Set a selling price from cost and a target markup.
This calculator gives an estimate for education only, not financial, tax, or legal advice.
Last updated: December 2026