What is the gross margin calculator — profit margin & markup?
In short
Gross margin = (revenue − COGS) ÷ revenue × 100. A business with $500K revenue and $300K COGS has a $200K gross profit and 40% gross margin. SaaS companies average 70%+; retail averages 25–35%.
Calculates gross profit, gross margin percentage, markup percentage, and COGS ratio from revenue and cost of goods sold.
How to use this calculator
- 1Enter total revenue (net sales).
- 2Enter total cost of goods sold (COGS) — direct costs of producing/purchasing what you sell.
The formula
- R
- — Revenue
- C
- — COGS
Worked example
The scenario
$500,000 revenue, $300,000 COGS.
The result
Gross profit: $200,000. Gross margin: 40%. Markup: 66.7%. COGS ratio: 60%.
Common use cases
- Track gross margin trends over time.
- Compare gross margin to industry benchmarks.
- Evaluate pricing and cost control decisions.
- Model impact of price increase or COGS reduction on profit.
Limitations & assumptions
- Gross margin only covers direct costs — operating expenses (salaries, rent, marketing) reduce this to operating margin.
- COGS definition varies by business — ensure consistency for meaningful comparisons.
- High gross margin doesn't guarantee profitability if operating expenses are high.
- Industries have very different gross margin norms — compare within industry.
Frequently asked questions
Disclaimer: KalkWise calculators are provided for general informational and educational purposes only and do not constitute financial, investment, tax, or legal advice. Results are estimates based on the figures you enter and the assumptions described above. Actual outcomes will vary. Consult a qualified professional before making financial decisions.