Skip to content
Calculator Tools
Business Calculators

Gross Margin Calculator

Gross margin percentage and gross profit from revenue and cost of goods sold (COGS).

Enter values

Results update as you type.

Result

Gross margin

38%

Gross profit
$190,000.00

About the Gross Margin Calculator

Gross margin percentage and gross profit from revenue and cost of goods sold (COGS).

Also known as: gross profit margin, gm calculator, gross margin percentage.

How to use this calculator

  1. Enter revenue, cost of goods sold.
  2. The result updates instantly as you type — press Calculate (or Enter) at any time.
  3. Review the breakdown shown under the main result.
  4. Use Copy result or Share to save the answer or send a link with your inputs.

Formula

Gross margin = (revenue − COGS) ÷ revenue

Worked example

Using the values pre-filled in the calculator above:

  • Revenue = 500,000
  • Cost of goods sold = 310,000

the calculator returns:

  • Gross margin: 38%
  • Gross profit: 190,000