Gross Profit Margin from Revenue and Cost of Goods Sold Calculator
Gross margin = (Revenue − COGS) / Revenue × 100.
Compute gross profit margin: (Revenue − COGS) / Revenue × 100 %. Indicates how much of each dollar of sales is left after paying for the direct costs of production. High-margin software businesses exceed 70 %; retailers often run 25–40 %; grocery chains < 25 %.
How to use this calculator
- Fill in the inputs above using the units you already have.
- Values update automatically as you type — no submit button needed.
- Hover any result row for the underlying formula and intermediate values.
Formula
GM = (Revenue − COGS) / Revenue × 100.
In depth
Compute gross profit margin: (Revenue − COGS) / Revenue × 100 %. Indicates how much of each dollar of sales is left after paying for the direct costs of production. High-margin software businesses exceed 70 %; retailers often run 25–40 %; grocery chains < 25 %.
Spot an issue or have a suggestion?
Our editors read every message. If the math looks off, tell us the inputs you used and what you expected.