Independent business-finance guides, tools and research Sign inCreate account DirectoryNewsletter

Calculator · Any country · formula version 1.0

Gross Profit Margin Calculator

Work out the share of revenue left after the direct costs of making or delivering what you sell.

Your numbers

Values shown are examples. Replace them with your own.

$

Total sales for the period you are measuring.

$

Direct costs only, defined the same way each period.

Reset

Your result appears here.
Enter your numbers and press Calculate. Nothing is stored.

How it works

Formula. Gross profit margin = (Revenue − Cost of goods sold) ÷ Revenue × 100

Worked example

$80,000 of sales and $48,000 of cost of goods sold give $32,000 of gross profit, a 40% margin.

Assumptions

  • Cost of goods sold includes only the direct costs you count in cost of sales.
  • Revenue and costs cover the same period.

What it does not include

  • Operating expenses, interest and tax are not deducted.

Rounding and limits

Results rounded to 2 decimal places for display; calculation uses full precision. This is an illustrative estimate, not a loan offer, an eligibility decision, a tax filing calculation or regulated financial advice.

Sources and review

Formula version 1.0, effective 18 November 2026, next review 18 May 2027.