%BUSINESS
Gross Margin Calculator
Calculate gross profit and gross margin from revenue and cost of goods sold.
Enter your values
Your inputs stay in this browser.ⓘ
Privacy-friendly: your inputs are processed locally in your browser.
Formula
Gross profit = revenue − COGS. Gross margin = gross profit ÷ revenue × 100.
Gross profit = revenue − COGS. Gross margin = gross profit ÷ revenue × 100.
How it works
1
Enter revenue.
2
Enter COGS.
3
Review gross profit and gross margin.
Important notes
Gross margin excludes operating expenses such as general overhead unless you include them in COGS.