Profitability · Free calculator
Profit Margin Calculator (Gross, Net & Markup)
Enter revenue and costs for a product, a project or a whole period. You get gross margin, net margin and markup side by side, because they are easy to mix up.
Your result
- Gross profit
- $4,000.00
- Net margin
- 20%
- Net profit
- $2,000.00
- Markup on cost
- 66.67%
- Price needed for 50% gross margin
- $12,000.00
Estimate for information only, not financial, tax or legal advice.
How this calculator works
- Gross profit = revenue − cost of goods sold. Gross margin divides that by revenue.
- Net profit also subtracts operating expenses. Net margin = net profit ÷ revenue.
- Markup divides gross profit by cost instead of revenue, which is why a 50% markup is only a 33% margin.
Formulas
Gross margin % = (Revenue − COGS) ÷ Revenue × 100Net margin % = (Revenue − COGS − Opex) ÷ Revenue × 100Markup % = (Revenue − COGS) ÷ COGS × 100Price for target margin = COGS ÷ (1 − Target margin)
For information only, not financial, legal or tax advice. Results are estimates based on the numbers you enter. Last reviewed .
Frequently asked questions
What is the difference between margin and markup?
Margin is profit as a share of the selling price; markup is profit as a share of cost. The same $50 profit on a $100 cost is a 50% markup but a 33.3% margin on the $150 price.
What is a good profit margin for a small business?
It varies widely by industry. Services and software usually run higher gross margins than retail or food. Compare against businesses like yours rather than a single benchmark.
Should I include my own salary in operating expenses?
If you want net margin to reflect the true health of the business, yes: include a fair salary for the work you do.