Gross Profit Margin Calculator

Gross profit and gross margin from revenue and cost of goods sold

$
Sales after returns and discounts
$
Direct costs of the products sold: materials, direct labor, inbound freight
%
Gross profit margin—
Gross profit—
Average markup on cost—
COGS as % of revenue—
To reach the target margin—
🎰 15 Global Lotteries + 12 Smart Number Pickers
Powerball · Mega Millions · EuroMillions · UK Lotto — Zodiac, Birthday, Dream, AI & more

Gross margin formula

Gross profit = Revenue − Cost of goods sold, and gross margin = Gross profit ÷ Revenue × 100. With $250,000 of sales and $160,000 of COGS, gross profit is $90,000 and the gross margin is 36%: 36 cents of every sales dollar is left after paying for the products.

The same numbers give an average markup of 90,000 ÷ 160,000 = 56.25% on cost — markup and margin describe the same profit from different starting points.

Hitting a target margin

To reach 40% with the same $160,000 of COGS, revenue must be 160,000 ÷ (1 − 0.40) = $266,666.67. Alternatively, at $250,000 of sales, COGS would need to fall to $150,000.

Gross margin vs. net margin

Gross margin only subtracts the direct cost of the goods. Rent, marketing, salaries of non-production staff, interest and taxes come out later, so net profit margin is always lower. A healthy gross margin is necessary, but it has to be large enough to cover all of those operating costs.

What goes into COGS?

For a product business: purchase cost or raw materials, direct labor, manufacturing overhead, and freight to bring goods in. Shipping to customers, advertising and office costs are operating expenses. Putting costs in the wrong bucket makes margins incomparable between periods.

Price a single product with the markup vs. margin calculator, or find your break-even point.

FAQ

How do you calculate gross profit margin?
Subtract cost of goods sold from revenue, divide by revenue and multiply by 100.
What is the gross margin on $250,000 of sales with $160,000 COGS?
36%, with $90,000 of gross profit.
What is a good gross profit margin?
It depends heavily on the industry — software and retail differ widely. Compare with your own history and similar businesses.
Is gross margin the same as markup?
No. Margin divides profit by revenue; markup divides it by cost. A 36% margin equals a 56.25% markup.
Does gross margin include operating expenses?
No. Rent, salaries, marketing and other overheads are subtracted later to get operating and net margins.

Bookmarks