Gross Profit Calculator

This gross profit calculator works out the profit left after the direct cost of what you sold. Enter revenue and the cost of goods sold, and it shows gross profit, gross margin and the markup on cost.

Total sales for the period.

Direct cost of what you sold.

Result

—

Formula

Gross profit = Revenue - Cost of goods sold (COGS) Gross margin = Gross profit / Revenue x 100 Markup on COGS = Gross profit / COGS x 100

Worked example

Here is the calculation step by step, using the default values in the calculator above:

  1. Revenue: $10,000
  2. Cost of goods sold: $6,000
  3. Gross profit: $10,000 - $6,000 = $4,000
  4. Gross margin: $4,000 / $10,000 x 100 = 40%
  5. Markup on COGS: $4,000 / $6,000 x 100 = 66.67%

Answer: $4,000.00 gross profit

How to use this calculator

  1. Enter total revenue.
  2. Enter the direct cost of the goods or services sold.
  3. Read gross profit, gross margin and markup on cost.

What the results mean

Gross profit is the money left to pay overheads — rent, salaries, marketing — and still leave a profit. Gross margin shows that as a share of revenue, which lets you compare periods or products of different sizes. A falling gross margin often means costs are rising faster than prices, and it is the first warning sign before net profit falls.

Practical uses

Frequently asked questions

How do you calculate gross profit?

Subtract the cost of goods sold from revenue. For $10,000 revenue and $6,000 cost of goods sold, gross profit is $4,000.

What is the difference between gross profit and net profit?

Gross profit subtracts only direct costs; net profit subtracts all expenses, including rent and salaries. Gross profit is always equal to or higher than net profit.

What counts as cost of goods sold?

The direct costs of producing what you sold: materials, direct labour and production costs. Rent and marketing are not COGS — they are overheads.

What is a good gross margin?

It varies by industry. Retail margins are often 25–50%; software margins can be 70–90%. Compare with your industry and your own history.

Can gross profit be negative?

Yes — if the direct cost of what you sold is higher than revenue, you lose money on every sale before overheads.

Related calculators

See all business calculators