Learn more
Estimate gross margin from revenue and cost so you can review product or service pricing quickly.
Use this gross margin calculator to see how much of every sale remains after direct cost is removed. The calculator is designed to give a fast answer, but the quality of the answer still depends on accurate inputs and a clear idea of what decision you are trying to support.
- Enter Revenue and Cost using the same units you plan to compare or report.
- Read the main gross margin first, then use the supporting outputs to understand the trade-offs behind that result.
- Compare your numbers with the worked examples below if you want a quick reasonableness check.
Margin and markup answer different business questions, so the calculator shows both. That helps when pricing products, reviewing offers, or understanding how efficiently revenue turns into profit. On this page, the primary output is gross margin.
Scenario 1: $1,250 revenue with $780 cost. Inputs used: revenue: 1250, cost: 780. Example result: 37.60%. This sale profile produces a gross margin of 37.60%. Scenario 2: $4,800 revenue with $2,950 cost. Inputs used: revenue: 4800, cost: 2950. Example result: 38.54%. At this selling price and cost base, the gross margin comes to 38.54%.
Core formula: gross margin = (revenue - cost) / revenue * 100. The calculator measures profit in dollars first, then shows both gross margin on revenue and markup on cost.
- Margin answers how much of revenue becomes profit.
- Markup answers how much profit you earn relative to cost.
Use this calculator when pricing products, reviewing campaign profitability, or checking whether costs are crowding out profit. Related paths for follow-up analysis include profit margin calculator, gross profit calculator, markup calculator, and break even sales calculator.
Most bad outputs come from a few repeated input errors or interpretation mistakes. Use this short checklist before relying on the result.
- Confusing margin with markup.
- Leaving out costs that materially affect unit economics.
- Looking only at revenue growth without monitoring gross profit quality.