Gross margin %
The share of each sale left after direct costs.
Find gross profit, gross margin and markup, or the price that hits a target margin
This tool is completely free — no credits required. All processing happens in your browser.
Gross margin
62.5%
Margin and markup are easy to mix up, and the difference matters: a 50% markup is only a 33% margin. This calculator shows gross profit, margin and markup together, and works in reverse so you can find the price that delivers the margin you need.
Three related formulas, all built on gross profit.
Gross profit = revenue − cost of goods sold. $100 of revenue with $60 of COGS leaves $40.
Gross margin = gross profit ÷ revenue. $40 ÷ $100 is a 40% margin.
Markup = gross profit ÷ COGS. $40 ÷ $60 is a 66.67% markup on cost.
Price = COGS ÷ (1 − target margin). To earn a 40% margin on a $60 cost, charge $100.
The share of each sale left after direct costs.
How much above cost you are charging, for teams that price on cost-plus.
Enter a cost and a margin to get the price or revenue you need.
Both figures side by side, so nobody confuses one for the other.
Anyone who sells something that costs money to make or deliver.
Track gross margin as hosting, API and support costs grow.
Convert supplier markups into the margin you actually earn.
Price products to cover cost of goods, shipping and fees.
Check the margin on projects after direct labor and subcontractors.
Include costs that rise with each sale. Rent, salaries for sales and general admin are operating expenses, not COGS.
Doubling cost is a 100% markup but a 50% margin. Use margin when comparing with industry figures.
Card processing fees scale with revenue, so many businesses count them in COGS.
A slipping gross margin is an early warning that costs are rising faster than prices.
Subtract cost of goods sold from revenue to get gross profit, then divide gross profit by revenue. $84,000 of revenue with $31,500 of COGS is a 62.5% gross margin.
Margin divides profit by the selling price; markup divides profit by the cost. The same $40 profit on a $60 cost and $100 price is a 40% margin and a 66.67% markup.
Direct costs of delivering what you sell: materials, manufacturing, hosting and third-party services for software, payment processing, and labor directly tied to delivery.
Only if a product costs nothing to deliver, which is rare. The reverse calculation needs a target below 100% because no price gives a 100% margin on a real cost.
It depends on the industry. Software often runs 70% or higher, while retail and manufacturing are commonly much lower. Compare with businesses like yours.
No. Everything is calculated in your browser and nothing you enter is stored or sent to a server.