Advertisement

Margin & Profit Calculator

Calculate Gross Margin, Markup & Net Profit Instantly

Enter any two values to calculate the rest.
PROFIT MARGIN
?? Markup % is always HIGHER than Margin % for the same product. A 67% markup = 40% margin.
MARKUP RESULT
PROFIT & LOSS SUMMARY
Advertisement

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
eCommerce10—30%5—10%
SaaS60—80%20—30%
Retail20—40%2—5%
Restaurants60—70%3—9%
Manufacturing25—35%5—10%
BankingN/A20—25%
Pharmaceuticals60—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.

Advertisement

Frequently Asked Questions

Margin is your profit expressed as a percentage of the selling price. Markup is your profit expressed as a percentage of your cost. A 100% markup (buying for $50, selling for $100) results in a 50% profit margin.
It depends heavily on the industry. A 10% net profit margin is considered average across all sectors. A 20% margin is considered high, and 5% is low. Software companies often have margins over 20%, while grocery stores operate on 2% margins.
The formula is ((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.
Do not just add 30% to the cost—that's markup! To achieve a 30% margin, divide your cost by (1 - 0.30). If your item costs $70, divide $70 by 0.70. You must sell it for $100 to achieve a true 30% margin.
Gross profit only deducts the direct costs of creating the product (Cost of Goods Sold). Net profit deducts absolutely everything, including rent, marketing, software subscriptions, payroll, and taxes. Net profit is your true "bottom line."
Discounting destroys margins exponentially. If you have a 30% gross margin and you offer a 10% discount, your profit doesn't drop by 10%—it drops by 33%. You will have to sell significantly more volume to make the same amount of cash.
EBITDA stands for Earnings Before Interest, Taxes, Depreciation, and Amortization. The EBITDA margin tells investors how much operating cash a company generates relative to its revenue, ignoring accounting and financing factors.

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.