Free business tool

Profit margin calculator: gross margin, net margin and markup

Enter revenue, the direct cost of what you sold and your operating expenses. You get gross and net profit, both margins and the markup on cost in one view.

Example values are filled in. Replace them with your own. Nothing you type leaves your browser.

Margin and markup are different things

  • Gross profit = revenue − direct costs
  • Gross margin = gross profit ÷ revenue
  • Net profit = gross profit − operating expenses
  • Net margin = net profit ÷ revenue
  • Markup = gross profit ÷ direct costs

A 50 percent markup is a 33 percent margin. Mixing the two up is one of the most common pricing mistakes, so check which one a supplier, a spreadsheet or a competitor means.

What is a good margin?

It depends on the industry. Software and consulting often have high gross margins, while retail and food run lower. The best benchmark is your own history: track the margin every month and investigate when it moves.

Frequently asked questions

What counts as cost of goods sold?

Direct costs of producing or delivering what you sold: materials, stock, direct labour, shipping to customers and payment processing in some businesses. Overheads such as rent usually sit in operating expenses.

Why is my net margin so much lower than my gross margin?

Operating expenses such as marketing, software, rent and salaries sit between the two. A wide gap points to overheads rather than pricing.

Is net profit the same as take-home pay?

No. Net profit is before tax and before any owner draws. Use the tax set-aside calculator to see what to put aside.

Keep your numbers in one place

Invoices, bills, budgets, cash accounts and reports in one workspace.

Try StayOrderly free