Gross Margin Calculator

Find your gross margin and markup, and the price you need to hit a target margin.

Revenue
₹5 L
Cost of goods sold
₹3 L
Gross profit₹2 L
Gross margin40.0%
Markup66.7%
Cost of goods 60.00%Gross profit 40.00%
Price for a target margin
Cost per unit
₹600
Target gross margin
Selling price₹1,200
Profit per unit₹600
Markup100.0%
MarginPriceProfit per unitMarkup
20%₹750₹15025.0%
30%₹857₹25742.9%
40%₹1,000₹40066.7%
50%₹1,200₹600100.0%
60%₹1,500₹900150.0%
70%₹2,000₹1,400233.3%
80%₹3,000₹2,400400.0%

Formulas used

  • Gross profit = Revenue − Cost of goods sold
  • Gross margin = Gross profit ÷ Revenue
  • Markup = Gross profit ÷ Cost of goods sold
  • Price for a target margin = Cost ÷ (1 − margin)

Example

You sell ₹5 L of products that cost you ₹3 L to make. Gross profit is ₹2 L, gross margin 40% and markup 66.7%. To get a 50% margin on a product that costs ₹600, price it at ₹1,200.

Frequently asked questions

What is gross margin?

Gross margin = (Revenue − Cost of goods sold) ÷ Revenue. It shows how much of each sale is left to pay for running costs and profit.

What is the difference between margin and markup?

Margin is profit as a share of the selling price. Markup is profit as a share of the cost. Buying at ₹60 and selling at ₹100 is a 40% margin but a 66.7% markup.

How do I set a price for a target margin?

Price = Cost ÷ (1 − target margin). For a ₹60 cost and a 40% target margin, price = ₹60 ÷ 0.6 = ₹100.

What counts as cost of goods sold?

Only costs directly tied to each sale: materials, manufacturing, packaging, delivery, payment fees and, for software, hosting. Salaries for sales, marketing and admin are operating costs, not COGS.

Is my data saved or shared?

Your numbers are saved only in your own browser so they are there when you come back. Nothing is sent to Hire Arrive's servers.

More free finance tools
See all 84 founder tools →