Skip to content
toolgrid

No tool found. Try another word.

Gross Margin Calculator

Calculate gross profit and gross margin from revenue and cost of goods sold, with the cost ratio and markup.

Gross margin
—
Gross profit
—
Cost of goods ratio
—
Markup
—

Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.

How to use the Gross Margin Calculator

  1. 1 Enter the revenue (net sales) for a period.
  2. 2 Enter the cost of goods sold for the same period.
  3. 3 Read the gross profit and gross margin.

About the Gross Margin Calculator

Gross profit = revenue − cost of goods sold (COGS). The gross margin is that profit as a percentage of revenue: gross profit ÷ revenue × 100. It shows how much of each sale is left to pay operating costs and make a profit.

COGS are the direct costs of what you sold: purchase price or materials, direct production labour and inbound shipping. Rent, marketing and office salaries are operating expenses and belong in the net margin instead.

Gross margins differ a lot by industry: software often has 70–90%, retail 25–50% and food service lower. Compare with your own history and with businesses like yours rather than with a general rule.

Frequently asked questions

What is a good gross margin?

It depends on the industry. What matters is that it covers your operating expenses with room for profit.

What belongs in cost of goods sold?

The direct costs of the products or services sold: materials, purchase price, direct labour and freight in.

What is the difference with net margin?

Net margin subtracts all costs, including operating expenses, interest and tax. Gross margin only subtracts the cost of goods.

Why is my markup higher than my margin?

Markup divides by the cost, margin by the revenue, which is the larger number.