Your privacy choices

We use essential storage to remember your settings. With your permission, Google AdSense may use cookies to serve and measure ads. Privacy Policy.

Gross margin

Measure gross profit as a share of revenue and compare it with markup.

Built and maintained by The NumberPrism Editorial TeamEditorial policy

Your details

Results update as you type. The formula and assumptions are explained below the calculator.

Gross margin

40.00%

Gross profit$20,000.00
COGS share of revenue60.00%
Markup on cost66.7%
Gross profit per unit$40.00

Estimate only. Gross margin excludes operating expenses, so it is not net profit; taxes, fees and discount policy can change the result.

Share calculator

Use this tool

Embed

How to calculate gross margin

Subtract COGS from revenue, then divide by revenue.

1

Enter revenue

Use net revenue after returns and discounts.

2

Add COGS

Include product cost, freight-in and direct production costs.

3

Compare with markup

Use margin for profitability and markup for pricing on cost.

What does this tool do?

Gross margin shows how much of each revenue dollar remains after the direct cost of goods. It is the first profitability check on a product or business and is often confused with markup, which is calculated on cost instead.

The Formula

Gross margin = (Revenue − COGS) ÷ Revenue × 100

Frequently Asked Questions

How is gross margin different from markup?

Gross margin divides profit by revenue. Markup divides the same profit by cost, so markup is always the larger percentage for a profitable product.

What is a good gross margin?

It varies by industry: software and services often exceed 70%, while retail and distribution can run in the 20% to 40% range. Compare with direct competitors and your fixed cost base.