3tej home
← Business & SaaS

What is Profit Margin / Markup?

A Profit Margin / Markup computes profit margin / markup from the inputs you provide. It applies the standard formula to the values you enter and returns the result instantly, without sending any data to a server. Enter cost and revenue to get gross profit, margin %, markup %, and cost-to-revenue ratio.

Profit Margin / Markup

Gross profit, margin %, and markup % from cost & revenue.

Inputs (any 2)

Gross Profit

₹20

Metrics

Margin % = profit / revenue. Markup % = profit / cost. They're different!

About this tool

The Profit Margin Calculator computes gross profit, margin percentage, and markup percentage from cost and selling price. Clarifies the common confusion between margin and markup.

About the margin and markup calculator

The profit margin calculator turns a cost and a selling price into the four numbers that pricing decisions actually run on: gross profit in rupees, profit margin as a percentage of revenue, markup as a percentage of cost, and the cost-to-revenue ratio. It is built for shopkeepers tagging a price label, SaaS founders sanity-checking a quote, ecommerce sellers reconciling a marketplace payout, and finance students learning the difference between two numbers that get casually mixed up in trade conversation.

Margin and markup describe the same currency profit from two different denominators. Margin uses revenue as the base. Markup uses cost as the base. They are never equal, and confusing them is the single most common pricing error: a vendor who quotes "I added 30 percent markup" is not selling at a 30 percent margin, they are selling at a 23.1 percent margin.

How it works

Gross profit       = Revenue - Cost
Profit margin %    = Gross profit / Revenue x 100
Markup %           = Gross profit / Cost x 100
Cost-to-revenue %  = Cost / Revenue x 100
Selling price for target margin = Cost / (1 - target margin)

The conversion identity between the two percentages is worth memorising: margin = markup / (1 + markup). So 25 percent markup is 20 percent margin, 50 percent markup is 33.3 percent margin, and 100 percent markup is 50 percent margin. Spreadsheets that drift between vendors' "markup" quotes and your own "margin" P&L lose money silently until someone reconciles the two.

Worked example: an ecommerce SKU

Suppose you sell a phone case on a marketplace. Landed cost (manufacturing plus inbound freight plus packaging) is 80 rupees per unit. You list it at 200 rupees. The marketplace takes a 10 percent commission and a 5 percent payment-gateway and logistics fee, so your effective revenue is 170 rupees per unit.

  1. Gross profit: 170 minus 80 equals 90 rupees per unit.
  2. Profit margin: 90 divided by 170 equals 52.9 percent.
  3. Markup: 90 divided by 80 equals 112.5 percent.
  4. Cost-to-revenue ratio: 80 divided by 170 equals 47.1 percent.
  5. Back-solve check: for a target margin of 60 percent on 80 rupee cost, the selling price needs to be 80 divided by 0.4, or 200 rupees of net revenue (235 rupees gross if the marketplace takes 15 percent).
Result: The SKU clears 90 rupees gross profit per unit at a 52.9 percent margin. To lift margin to 60 percent without changing cost, list at 235 rupees gross so net revenue lands at 200 rupees per unit.

Margin to markup conversion table

Print this and stick it next to your point-of-sale terminal. It is the lookup table every retail buyer eventually memorises.

Markup on costEquivalent marginIf cost is 100Selling price
10%9.1%100110
20%16.7%100120
25%20.0%100125
33.3%25.0%100133.33
50%33.3%100150
66.7%40.0%100166.67
100%50.0%100200
150%60.0%100250
233%70.0%100333

Common pitfalls

  • Treating markup as margin in pricing software. A bulk SKU upload at "30 percent margin" entered into a markup field gives you a 23 percent actual margin and quietly eats 7 points off every unit sold.
  • Forgetting marketplace fees. A 40 percent gross margin on a list price becomes a 28 percent margin once a 15 percent marketplace commission, payment-gateway fee, and reverse-logistics provision are deducted.
  • Ignoring GST or VAT. Margin should always be calculated on revenue net of indirect tax. Including GST in revenue inflates margin by 5 to 18 percentage points and overstates profitability.
  • Skipping cost of returns and damages. Apparel and footwear see 20 to 40 percent return rates online; building 6 to 12 percent loss into landed cost is industry practice.
  • Confusing gross margin with net margin. Gross margin ignores rent, payroll, marketing, and tax. A 60 percent gross margin shop can still operate at break-even net margin if fixed costs run too high.

Frequently asked questions

What is the difference between margin and markup?

Margin is profit divided by revenue (selling price). Markup is profit divided by cost. They describe the same currency profit from two different denominators. A 50 percent markup means you added half the cost on top of cost, which works out to a 33.3 percent margin. A 50 percent margin means cost is half of the selling price, which works out to a 100 percent markup. Retail and pricing strategy use margin; sales staff and trade catalogues quote markup.

How do I convert markup percentage into margin percentage?

Use margin = markup divided by (1 plus markup). A 25 percent markup converts to 20 percent margin. A 50 percent markup converts to 33.3 percent margin. A 100 percent markup converts to 50 percent margin. To go the other way, markup equals margin divided by (1 minus margin).

What is a healthy gross margin for an SMB or SaaS business?

Benchmarks vary by industry. Grocery retail runs 20 to 30 percent gross margin. Apparel and consumer goods sit around 40 to 55 percent. Software-as-a-service businesses tend to sit at 70 to 85 percent gross margin once they reach scale because incremental delivery cost is mostly hosting and payment fees. Net margin (after operating expenses) is always lower than gross margin and is the figure investors care about long term.

Does margin include tax, shipping, and payment fees?

Gross profit margin uses revenue net of GST or VAT (because tax is not income), and cost of goods sold (COGS) including direct production, inbound freight, and packaging. Shipping charged to and reimbursed by the customer is usually netted out of revenue and cost. Payment processor fees of 2 to 3 percent are subtracted from revenue before computing margin if you want a true take-home figure.

What selling price do I need for a target margin?

Use selling price = cost divided by (1 minus target margin). To hit a 40 percent margin on a 60 rupee cost: 60 divided by 0.6 equals 100 rupees. To hit a 60 percent margin on the same cost: 60 divided by 0.4 equals 150 rupees. This is the formula every pricing spreadsheet uses to back-solve from a margin goal.

Last updated 2026-05-28.

IT
India Tools Editorial
Calculators & explainers maintained by the India Tools team.