Skip to content
Businesspricing

Gross Margin Calculator

Gross margin after direct costs only. The line that matters is what counts as COGS: put overhead in it and you are computing operating margin under a different name.

Also called: gross profit calculator, gross margin percentage.

Gross margin
60%

60% gross margin. ₹60,000 of gross profit on ₹1,00,000 of revenue.

Gross profit
₹60,000
Method and background

How this is calculated

Revenue minus the cost of goods sold, over revenue. COGS is direct cost. Materials, the labour that touched the product, payment processing. Rent, salaries and marketing sit below the line, which is why gross margin is higher than every margin beneath it.

gross_margin = (revenue - cogs) / revenue * 100
R
Revenue (currency)
COGS
Cost of goods sold: direct costs only (currency)

Frequently asked questions

What is the difference between margin and markup?
Margin is the profit as a share of the selling price; markup is the profit as a share of the cost. A 50% markup is a 33.3% margin, and confusing the two is one of the most expensive arithmetic errors in small business pricing.
What counts as cost of goods sold?
The costs that vary directly with each unit sold: materials, direct labour, payment processing, shipping. Rent, salaries and software are operating costs and belong below the gross margin line, not in it.