Explore free tools
HomeCalculatorsGross margin calculator

Gross margin calculator

Gross margin is the percentage of revenue left after the direct cost of goods. It is the margin before advertising, overhead and tax.

Your numbers

Gross margin38.00%$3,800.00 gross profit on $10,000.00 revenue
  • Cost of goods sold
  • Gross profit
Gross profit
$3,800.00
Cost of goods as a share of revenue
62.00%
Markup on cost of goods
61.29%

How it is calculated

Gross margin = (revenue − cost of goods sold) ÷ revenue
Markup = gross profit ÷ cost of goods sold

Assumptions

  • Revenue and cost of goods sold cover the same period.

Costs included

  • Revenue and cost of goods sold you enter

Costs not included

  • Advertising
  • Overhead
  • Interest and tax

Data and sources

This calculator uses only the numbers you enter. It applies no marketplace fee table, so there is no fee data to verify here. The formulas follow the published methodology.

How to improve the result

  • Margin and markup differ: the same sale can be a 33% margin and a 50% markup.
  • Raising price lifts margin faster than the same percentage cut to cost.

Related tools