Gross margin calculator
Calculate gross margin percentage, gross profit dollars, and markup equivalent from revenue and cost of goods sold.
What this calculator covers
Use this gross margin calculator to isolate what remains after direct product or service delivery cost is removed from revenue.
Gross margin is a core unit-economics measure because it stays focused on direct cost before overhead and tax structure change the picture.
Frequently asked questions
- What is the difference between gross margin and net margin?
- Gross margin measures profit after direct product or service delivery costs only. Net margin deducts operating expenses, interest, and taxes as well, so it is a lower, fuller picture of overall profitability.
- What counts as cost of goods sold (COGS)?
- COGS includes the direct costs tied to producing or delivering a product or service — materials, direct labor, and manufacturing overhead. It does not include sales, marketing, administrative overhead, or interest.
- What is a healthy gross margin percentage?
- It varies widely by industry. Software and SaaS businesses often target 70–80%, while retail and manufacturing businesses commonly run 20–50%. Compare against industry benchmarks rather than a single universal target.
- How does gross margin relate to markup?
- Margin is gross profit divided by revenue; markup is gross profit divided by cost. For the same product, markup will always be a higher percentage than margin because the denominator is smaller.
Tool
Run the calculation
Result
RESULT · GROSS MARGIN
â„–174
Primary result
40.00%
Gross profit of $34,000.00 on $85,000.00 in revenue works out to a gross margin of 40.00%.
- Revenue
- $85,000.00
- Cost of goods
- $51,000.00
- Gross profit
- $34,000.00
- Markup equivalent
- 66.67%
Step-by-step solution
- 1.Compute gross profit before operating expenses: $85,000.00 - $51,000.00 = $34,000.00.
- 2.Divide that gross profit by revenue to isolate the portion of each sales dollar left after direct cost.
- 3.Translate the ratio into a percent to get gross margin 40.00%.
Walkthrough
Visual walkthrough
Gross margin focuses only on revenue and direct product cost so the unit economics stay visible before overhead is layered in.
01
Strip direct costs out of revenue
$85,000.00 - $51,000.00 = $34,000.00
This isolates the gross profit pool available to cover operating expenses and eventual net profit.
02
Scale by revenue
$34,000.00 ÷ $85,000.00
Dividing by revenue answers what share of each top-line dollar remains after cost of goods.
03
Read the gross margin percent
Gross margin is the core pricing efficiency metric for comparing offers before overhead or tax structure is considered.
40.00% gross margin