Explore 57,792+ Free Online Tools — Everything in One Place

How to Calculate Profit Margins (Gross, Operating and Net)

Business · Published 2026-10-23 · Updated 2026-11-15 · 7 min read · By Tool Magic Lab Editorial Team

Illustration of a price being split into cost and profit with a margin percentage gauge

Profit margin answers a deceptively simple question: of each unit of revenue, how much do we keep? The complications are which profit you mean and the neighbouring concept — markup — that sounds similar and is not. This guide defines all three margins, carries one example through each, and ends with the pricing formula sellers actually need.

The three margins

**Gross margin** = (revenue − cost of goods sold) ÷ revenue. It measures production/pricing efficiency before overheads: the product business's core number. **Operating margin** = (revenue − COGS − operating expenses) ÷ revenue, where operating expenses are rent, salaries, marketing, software — the cost of running the shop, not making the goods. **Net margin** = net profit ÷ revenue, after everything including interest and tax: the bottom line as a share of sales. Each step down answers a different question — can the product pay for itself, can the operation pay for itself, does anything survive to the end.

One example, three margins

A shop sells a jacket for 100. The jacket and its direct costs (materials, making, inbound shipping) total 55. Operating expenses allocated per jacket — rent, staff, ads — total 30. Interest and tax take 5.

Same jacket, three true answers. Quoting 'our margin is 45%' in a conversation about survival is how businesses feel healthy while the net line starves. The Profit Margin Calculator (/business/profit-margin-calculator) computes the gross level directly from price and cost; layer your overheads honestly for the others.

Margin vs markup — the expensive confusion

Markup divides profit by cost; margin divides profit by price. The jacket: markup = 45 ÷ 55 = 81.8%; margin = 45%. Because price is always the bigger number, margin is always the smaller percentage — so pricing by a target markup while believing it is your margin underprices everything. Conversions worth memorising: a 50% markup is a 33.3% margin; a 100% markup is a 50% margin; and to hit a target margin m on price, set price = cost ÷ (1 − m). For a 40% margin on a 55-cost jacket: 55 ÷ 0.6 = 91.67.

Margins in marketplace selling

For marketplace sellers, COGS must include the platform's cut or the margin is fiction. Etsy, Amazon and eBay fees, payment processing and shipping subsidies all belong in the per-unit cost before the margin means anything — which is why dedicated fee calculators (our Etsy, Amazon FBA and eBay tools) feed the margin calculation rather than sitting beside it. A '60% margin' product that nets 8% after fees is an 8% product.

What is a good margin?

There is no universal number — grocery retail survives on low single digits at enormous volume; software enjoys gross margins above 70% because its COGS is small. Judge your margin against your own trend and your model's needs: does the net margin fund growth, absorb a bad quarter and pay you? If not, the levers are price, direct cost, or mix — in that order of usual feasibility.

Frequently asked questions

**Can margin exceed 100%?** Gross and net margin cannot — profit cannot exceed revenue. Markup can and does, which is one more tell for which number you are looking at.

**Should discounts be calculated on margin or price?** Model them on margin: a discount comes straight off price while costs hold, so its margin impact is always larger than the headline percentage suggests.

**How do I raise margin without raising prices?** Reduce direct costs (supplier terms, shipping, fees, returns) or shift mix toward higher-margin products. Overhead cuts improve operating margin, not gross.

Written by the Tool Magic Lab Editorial Team. Tool Magic Lab content is produced with AI assistance and editorially reviewed for accuracy — see our AI Usage Disclosure and Editorial Policy.

#profit margin#business

Related articles