CalcNow

Margin & Markup Calculator

Calculate profit margin, markup percentage, and required selling price for your business.

No data sent to server
Input
$
$
Results

Profit Margin

40.00%

Markup66.67%
Profit$40.00

What Margin and Markup Actually Are

Margin and markup are the two ways to express the same dollar of profit as a percentage. Margin divides profit by the selling price; markup divides the same profit by the cost. They are arithmetically related but not interchangeable, and confusing them is one of the most common pricing mistakes the U.S. Small Business Administration sees in early-stage businesses. The SBA's financial guidance for small business owners explicitly distinguishes the two because pricing a product at "50% margin" and pricing it at "50% markup" produce different selling prices for the same cost.

For a $60 cost and $100 selling price the profit is $40. As a margin, that's 40% of the $100 selling price. As a markup, it's 66.7% of the $60 cost. Same $40, two different percentages — and which one you quote depends on whether you're looking up at the customer-facing price or down at your supplier cost. Internal Revenue Service Schedule C and the IRS small-business resources use cost-based language (cost of goods sold, gross profit) which often pushes business owners toward markup thinking; banks, investors, and finance reports lean on margin because it normalizes across different cost structures.

The Formula

The two formulas share a numerator (profit) and differ only in the denominator. Memorize the denominator and the rest follows.

Margin: (Revenue − Cost) ÷ Revenue × 100%

Markup: (Revenue − Cost) ÷ Cost × 100%

Price from margin: Cost ÷ (1 − Margin%/100)

Price from markup: Cost × (1 + Markup%/100)

Convert margin → markup: Markup = Margin ÷ (1 − Margin)

A useful set of pairs to memorize: 20% margin = 25% markup. 33.3% margin = 50% markup. 50% margin = 100% markup. 60% margin = 150% markup. The gap widens non-linearly as margin increases, which is the source of most pricing arithmetic errors. Margin is mathematically capped at 100% (you can't make more profit than revenue); markup has no upper bound.

How to Calculate Step-by-Step

  1. Identify the cost. For a single product this is unit cost; for a service business it's direct labor and materials per delivered unit.
  2. Identify revenue per unit — the actual selling price after promotional discounts, not the list price.
  3. Compute profit per unit (revenue − cost). Negative means you're losing money on each sale.
  4. For margin, divide profit by revenue. For markup, divide profit by cost. Multiply by 100 in either case.
  5. If targeting a margin, divide cost by (1 − target margin) to find the required price. If targeting a markup, multiply cost by (1 + target markup) instead.

Worked Examples

Example 1 — Apparel store

Buy a t-shirt wholesale for $12, sell for $30. Profit = $18. Margin = 18/30 = 60%. Markup = 18/12 = 150%. The retailer would tell investors "60% gross margin" and tell suppliers "we mark up 2.5x."

Example 2 — Restaurant menu pricing

A pasta dish has $4.50 in food cost; the restaurant targets a 70% gross margin on food (the industry-typical target). Required price = 4.50 ÷ (1 − 0.70) = $15.00. That represents a markup of 233%. Restaurants often quote "food cost percentage" — the inverse, 30% in this case.

Example 3 — SaaS business

A SaaS plan sells for $50/month with $7 in cloud-hosting + support cost. Gross margin = 43/50 = 86%. This is in the typical SaaS range; well-run public SaaS companies report 70–90% gross margins. The same product expressed as markup is 614% — a number SaaS companies almost never quote because it sounds absurd to external audiences.

Industry-Typical Margins (Gross)

What a "healthy" margin looks like depends entirely on the industry. SBA and IRS Schedule C data suggest these rough benchmarks for gross margin (revenue minus cost of goods sold, before operating expenses):

IndustryTypical gross marginEquivalent markup
Grocery / supermarket20–25%25–33%
General retail (apparel)25–35%33–54%
Restaurants (food)60–70%150–233%
Restaurants (alcohol)75–80%300–400%
Construction15–25%18–33%
Software / SaaS70–90%233–900%
E-commerce / DTC35–50%54–100%
Professional services50–70%100–233%

Net margins (after operating expenses, taxes, interest) are far lower in every industry — most U.S. small businesses run 5–15% net even with healthy gross margins, per IRS Statistics of Income Schedule C aggregates.

Gross vs Operating vs Net Margin

"Margin" alone is ambiguous — there are three layers, each subtracting more from revenue. Gross margin = (Revenue − COGS) ÷ Revenue. It captures pricing power and unit economics. Operating margin = Gross profit minus operating expenses (rent, salaries, marketing) divided by revenue. It captures whether the business model works at scale. Net margin = Operating profit minus interest, taxes, and one-offs, divided by revenue. It's the bottom-line headline number on financial statements. A SaaS company can show 85% gross margin, 15% operating margin, and 8% net margin all on the same income statement — each tells a different story. When comparing businesses or judging your own pricing, always specify which layer.

Common Misconceptions

  • "Margin and markup are the same thing." They are arithmetically linked but never equal except at 0%. A 50% markup is a 33.3% margin, not 50% margin.
  • "100% margin means I doubled my money." No. 100% margin would mean zero cost — which is unattainable. Doubling money is 50% margin / 100% markup.
  • "Higher gross margin always means more profitable." Not after fixed costs. A high-gross-margin SaaS company can still be unprofitable at the net line if customer-acquisition costs swamp operating profit.
  • "Restaurants are low-margin businesses." Food gross margins are typically 60–70% — high. Net margins are 3–9% because labor, rent, and food waste eat the gross. The two figures aren't in conflict; they describe different layers.
  • "Set markup at 100% and call it a day." 100% markup is only 50% margin, which after operating costs may not leave enough net profit. Build prices off a target net margin, not a habitual markup.
  • "Margin can be negative but not over 100%." The first part is correct (you can sell at a loss). The second part is also correct — margin caps at 100% by definition.

Frequently Asked Questions

Is margin or markup the better metric?

For external comparison and financial reporting, margin is standard — it normalizes across companies. For internal pricing from a known cost, markup is faster to apply (multiply cost by a fixed factor). Use both: set price by markup, report results by margin.

What's a good gross margin?

Industry-dependent. 20–35% is normal for grocery and general retail; 60–70% is normal for restaurant food; 70–90% is normal for SaaS. Compare your numbers to the relevant SBA or industry benchmark, not a generic target.

Can margin exceed 100%?

No. By definition, profit can't exceed revenue, so margin is capped at 100%. Markup, on the other hand, has no upper bound — a 500% markup is mathematically valid (and common in luxury categories).

Why does the calculator show N/A in From Margin mode?

Because a 100% target margin would require an infinite selling price (cost ÷ 0). The calculator returns N/A whenever the math diverges — typically at margin = 100% or when revenue/cost is zero.

How do I price for a target net margin instead of gross?

Estimate operating expenses per unit (allocated rent, salaries, marketing) and add them to cost before applying the margin formula. The selling price you compute that way will deliver the target net margin, not gross.

Is my data stored?

No. CalcNow runs every calculation entirely in your browser. Cost and revenue values are not sent to a server, logged, or saved.

References

  • U.S. Small Business Administration. Calculate Your Startup Costs and Pricing Your Products, SBA Learning Center.
  • Internal Revenue Service. Schedule C (Form 1040): Profit or Loss From Business and Statistics of Income (SOI) sole-proprietorship aggregates.
  • National Restaurant Association. Restaurant Operations Report, food and beverage cost benchmarks.
  • Damodaran A. Margins by Sector (US), NYU Stern annual cross-industry margin database.
  • Garrison RH, Noreen EW, Brewer PC. Managerial Accounting. McGraw-Hill — chapter on cost-volume-profit and pricing.

CalcNow Finance Team

A small team of contributors who research, build, and review the finance and business calculators on CalcNow. We are not licensed financial advisors and CalcNow does not provide individualized financial advice.

Coverage: Mortgages, personal & auto loans, compound interest, ROI, salary structures, business margins, rent-vs-buy analysis

Editorial standard: Every finance article is cross-checked against primary public sources — CFPB, IRS, Federal Reserve (FRED), FHFA, SEC investor.gov, and peer-reviewed finance journals — before publication. We update articles when the underlying rates, brackets, or rules change.