Local-first · user-entered values only
Profit margin calculator
Calculate gross, operating or net margin without tax, import-duty, FX, benchmark or pricing assumptions.
Formulas
Gross margin: (revenue − COGS) ÷ revenue × 100.
Operating margin: (revenue − COGS − operating expenses) ÷ revenue × 100.
Net margin: (revenue − all entered expenses) ÷ revenue × 100.
Markup: (revenue − COGS) ÷ COGS × 100; N/A when COGS is zero.
Example: revenue 150 and COGS 100 gives gross profit 50, gross margin 33.33%, and markup 50%. Losses produce negative margins.