Microeconomics

Gross Margin Calculator

Enter revenue and cost of goods sold to find your gross margin, the share of each sales dollar left after the direct cost of what you sold.

  • Free
  • No sign-up

Revenue & COGS

$
$

Enter revenue and cost of goods sold to see gross margin.

Worked example

With these example inputs:

  • Revenue$1,000
  • Cost of goods sold$600

Gross margin: 40.0%

  • Gross profit$400.00
  • Markup66.67%

Add this calculator to your site

Free to embed. Copy the snippet below, it drops the live calculator straight into any page.

Frequently asked questions

What is gross margin?

Gross margin is revenue minus the cost of goods sold, divided by revenue, as a percentage. It shows profitability before operating expenses like rent and salaries.

How is gross margin different from markup?

Margin measures profit against the selling price, while markup measures it against cost. The same dollar profit gives a lower margin percentage than markup.