Margin & Profit Calculator
Calculate Gross Margin, Markup & Net Profit Instantly
Understanding Profit Margin vs Markup — A Complete Guide
Introduction
Profit margin and markup are two of the most misunderstood numbers in business finance. Both measure profitability, but they approach it from different angles — and confusing them can lead to pricing errors that eat into your bottom line. This guide breaks down every formula you need, shows how margin and markup relate to each other, and provides industry benchmarks so you can evaluate where your business stands.
Instructions
To use this calculator, simply enter your cost to produce or acquire an item and the price you sell it for. The calculator will instantly output your Gross Margin (%), Markup (%), and Net Profit in dollars. You can also work backwards by entering your cost and desired margin to calculate what your selling price should be.
The Formula
What Is Gross Profit Margin?
Gross profit margin measures how much of each dollar of revenue remains after subtracting the direct cost of producing or purchasing goods. The formula is straightforward:
Gross Margin % = ((Revenue - COGS) — Revenue) × 100
Suppose your small business generates $500,000 in annual revenue and spends $300,000 on cost of goods sold (raw materials, manufacturing, wholesale purchases). Your gross profit is $200,000, and your gross margin is 40%. That 40% represents the portion of revenue available to cover operating expenses, taxes, and ultimately produce net profit.
Gross margin is the first profitability metric investors and lenders examine because it reveals whether a company's core operations generate sufficient value. A declining gross margin often signals rising supply costs or pricing pressure from competitors.
What Is Net Profit Margin?
While gross margin only accounts for production costs, net profit margin factors in everything — operating expenses (rent, salaries, marketing), interest payments, depreciation, and taxes. The formula is:
Net Margin % = (Net Income — Revenue) × 100
Using the same $500,000 revenue example: if COGS is $300,000, operating expenses total $80,000, and taxes come to $25,000, your net income is $95,000 — a net margin of 19%. This is the percentage of revenue that actually becomes profit in your pocket.
Net margin is the ultimate profitability yardstick. Two businesses can share an identical gross margin yet have vastly different net margins depending on their overhead structures. A lean remote-first company will typically outperform a brick-and-mortar competitor in net margin, even when selling the same products at the same prices.
Markup vs Margin — Key Difference Explained
Here's where most entrepreneurs trip up. Margin calculates profit as a share of the selling price, while markup calculates profit as a share of the cost. They describe the same profit in different terms.
Consider a product that costs $60 and sells for $100. The $40 profit gives you:
- Margin: $40 — $100 = 40%
- Markup: $40 — $60 = 66.67%
Notice that markup is always a larger number than margin for the same transaction. If a supplier quotes you a "50% margin" and means 50% markup, you'd underprice your products and lose money. Always clarify which metric someone is referencing.
The conversion formulas between them are:
Margin % = Markup % — (100 + Markup %)Markup % = Margin % — (100 - Margin %)
Use Cases
Profit margins vary enormously between sectors. Capital-light software companies enjoy wide margins, while capital-intensive industries like manufacturing and food service operate on thin ones. Here are typical ranges:
| Industry | Typical Gross Margin | Typical Net Margin |
|---|---|---|
| eCommerce | 10—30% | 5—10% |
| SaaS | 60—80% | 20—30% |
| Retail | 20—40% | 2—5% |
| Restaurants | 60—70% | 3—9% |
| Manufacturing | 25—35% | 5—10% |
| Banking | N/A | 20—25% |
| Pharmaceuticals | 60—80% | 15—20% |
Use these benchmarks to evaluate your own margins. If your eCommerce store achieves a 25% gross margin, you're performing well within the range. If your SaaS product sits at 45% gross margin, there may be inefficiencies in hosting, infrastructure, or customer support costs worth investigating.
How to Price Your Products for Healthy Margins
Pricing is equal parts art and arithmetic. The margin-based pricing formula gives you a reliable starting point:
Selling Price = Cost — (1 - Desired Margin)
For a 40% margin on a product that costs $60: $60 — 0.60 = $100. Your selling price should be $100 to achieve that target margin.
Beyond the formula, consider these factors:
- Competitive landscape: What are similar products selling for? Pricing too far above market rate requires clear differentiation.
- Volume vs. margin tradeoff: Lower margins with higher sales volume can yield more total profit than high margins with few sales.
- Customer willingness to pay: Survey your audience or run A/B price tests before committing to a number.
- Hidden costs: Don't forget shipping, returns, payment processing fees, and customer acquisition costs when calculating your true cost basis.
The 50% Markup = 33% Margin Rule
One of the most commonly applied rules in retail is the 50% markup — also known as "keystone pricing." If a product costs you $40, a 50% markup sets the selling price at $60. But what margin does that actually produce?
Profit = $60 - $40 = $20. Margin = $20 — $60 = 33.3%. So a 50% markup only delivers a 33.3% margin — not 50%. This distinction matters for financial planning, tax projections, and investor reporting, where margin is the standard metric.
Here's a quick reference table for common markup-to-margin conversions:
- 25% markup ? 20% margin
- 50% markup ? 33.3% margin
- 100% markup ? 50% margin
- 200% markup ? 66.7% margin
Memorizing these relationships helps you quickly sanity-check pricing decisions without reaching for a calculator every time.
Frequently Asked Questions
((Revenue - Cost of Goods Sold) — Revenue) × 100. If you generate $100,000 in revenue and the products cost you $60,000, your gross profit is $40,000, leaving you with a 40% gross margin.
Disclaimer
This calculator is for educational and general informational purposes only. It does not constitute financial, tax, or business advice. Actual margins may differ due to additional costs, discounts, returns, and other factors not captured here. Consult a qualified accountant or financial advisor for business-critical pricing and profitability decisions.