Profit Margin & Markup Calculator — Stop Confusing Margin and Markup

Calculate profit margin and markup percentage for pricing decisions

Reviewed for accuracy June 21, 2026 by Gary S.

The total cost to produce, procure, or deliver the product/service

Selling price
$100,000.00
Gross profit
$40,000.00
Profit margin
40.00%
Markup %
66.67%
Cost
$60,000.00

40.0% margin — strong gross profit position

40.0% gross margin ($40,000.00 profit on $100,000.00 price) is above the 30% threshold that allows for healthy overhead and growth investment. At this margin, a 50% margin would require pricing at $120,000.00 — a useful ceiling to test.

  • 40.0% margin: $40,000.00 profit on $60,000.00 cost — 66.67% markup
  • To reach 30% margin: price at $85,714.29 (currently $100,000.00)
  • A 10% cost reduction at current price ($100,000.00) improves margin by 6.0pp to 46.0%
Calculate break-even volume at this margin

Share on r/personalfinance, Twitter/X, or LinkedIn 📊

How to use Profit Margin & Markup Calculator

Free profit margin and markup calculator. Enter your cost and selling price — or work backwards from a target margin or markup — to see gross profit, margin %, and markup % in one step.

Profit margin and markup are two different ways to express the same gross profit, and confusing them is one of the most common pricing mistakes in small business. Margin is profit as a percentage of selling price. Markup is profit as a percentage of cost. A product with a $50 cost and a $75 selling price has a 33.3% profit margin and a 50% markup — the same dollar profit expressed two different ways. This calculator works in three modes: enter cost and selling price to see both figures, enter cost and a target margin to calculate the right price, or enter cost and a markup percentage to do the same. Use it to price consistently, compare pricing across product lines, and communicate clearly with suppliers and buyers who may use different conventions.

How to use this Profit Margin & Markup Calculator

  1. 1Choose your calculation mode from the dropdown: "Cost + Selling Price" to analyse an existing price; "Cost + Target Margin %" to find the selling price that achieves a specific margin; or "Cost + Markup %" to price using a markup on cost.
  2. 2Enter your cost — the total delivered cost to produce, procure, or provide the product or service.
  3. 3Enter the second input depending on your mode: selling price, target margin %, or markup %.
  4. 4The calculator shows selling price, gross profit in dollars, profit margin %, and markup % simultaneously so you can see all four numbers at once.

Margin vs markup formulas

Margin and markup both express the spread between cost and price, but divide by different denominators. This is why the same product can have a 33% margin and a 50% markup — they are both accurate, just measuring against different bases.

Margin = (Price − Cost) / Price Markup = (Price − Cost) / Cost
VariableMeaning
MarginGross profit as a percentage of selling price
MarkupGross profit as a percentage of cost
PriceSelling price per unit
CostTotal cost per unit to produce or procure

Margin vs markup example: $50 cost, $75 selling price

  1. 01Gross profit: $75 − $50 = $25.
  2. 02Profit margin: $25 / $75 = 33.3% (gross profit as % of selling price).
  3. 03Markup: $25 / $50 = 50.0% (gross profit as % of cost).
  4. 04Reverse check — using 33.3% margin: $50 / (1 − 0.333) = $75.00. ✓
  5. 05Reverse check — using 50% markup: $50 × (1 + 0.50) = $75.00. ✓

Result

The $75 price generates $25 of gross profit, which is 33.3% margin (priced as a share of revenue) and 50% markup (priced as a share of cost). These numbers always differ when gross profit > 0 — margin is always lower than the equivalent markup percentage.

What drives profit margin and markup decisions?

Margin vs markup convention

Retail and consumer businesses typically discuss margin (% of price). Manufacturing and wholesale often use markup (% of cost). If a supplier says "50% markup" and you interpret it as "50% margin," you will set prices too low. Always clarify which convention is being used.

Cost completeness

The most common mistake is using an incomplete cost figure. Cost should include all direct costs: materials, labour, shipping, customs duties, payment processing fees, and any cost specifically incurred to produce or deliver the item. Overhead allocation is a separate decision.

Industry benchmarks

Target margins vary widely by industry. Grocery retail runs 1–3% net margin on high volume. Software can run 70–80% gross margin. Manufacturing typically targets 20–40% gross margin. Your margin target should reflect your operating cost structure, not just the industry average.

Pricing from margin targets

If your business requires a 40% gross margin to cover overhead and profit, price using the margin formula: Price = Cost / (1 − 0.40). This is mathematically different from adding 40% to cost — a 40% markup yields only a 28.6% margin.

Tips and things to know

  • Margin is always lower than the equivalent markup for the same dollar profit. A 50% markup is a 33.3% margin — never mistake one for the other when setting prices or reading supplier sheets.
  • Use the "Cost + Target Margin" mode when you know what gross margin your P&L requires and need to work backwards to a selling price.
  • The break-even analysis tool is the natural complement to this one: once you know your margin per unit, plug it in as contribution margin to find how many units you need to sell to cover fixed costs.
  • Volume discounts change your cost, not your margin target. Recalculate selling price every time your cost structure changes — a 10% cost increase at a 33% margin requires a 15% price increase to hold the same margin.
  • Track gross margin over time as a percentage, not just gross profit in dollars. Growing revenue with a falling margin percentage is a warning sign that cost structure is deteriorating.

Profit Margin & Markup Calculator — bottom line

The margin-versus-markup confusion is responsible for systematic underpricing across an enormous number of small businesses, and the mistake is almost always in the same direction: a business targeting 30% profit adds 30% to cost, which actually produces a 23.1% margin — not 30%. At scale, this compounds: a business doing $500,000 in revenue at 23% margin instead of 30% leaves $35,000 in uncaptured gross profit on the table annually. The correct formula for pricing to a target margin is: Price = Cost ÷ (1 − Margin). For a 30% target margin on a $70 cost: $70 ÷ 0.70 = $100. Adding 30% to cost instead: $70 × 1.30 = $91 — a 9% error in selling price that directly reduces margin by the full 7 percentage points. The most important use case for this calculator is establishing a consistent pricing policy across an entire product or service line. Many businesses price instinctively or case-by-case, which produces inconsistent margins that make it impossible to understand which products are actually driving profitability. Calculating margin for every SKU or service offering and comparing them makes the outliers visible — products underpriced relative to cost, and high-velocity products that are priced correctly but have much lower contribution per unit than they appear. Second mistake: using an incomplete cost figure. Cost must include all direct costs: materials, direct labor, shipping, payment processing fees (typically 2.5–3%), and packaging. Excluding payment processing alone on a 30% target margin product reduces actual margin by 2.5–3 percentage points. Use the Break-Even Analysis Engine after establishing margin to determine required sales volume.

Official resources and further reading

Related tools you might need

Frequently asked questions

Margin is gross profit divided by selling price. Markup is gross profit divided by cost. Both express the same dollar spread between cost and price, but as a percentage of different denominators — which is why a 50% markup equals a 33.3% margin, not 50%.

From our guides

All guides →
Your pipeline
Cash Flow
Income
Capital
Wealth

Next logical step

Income optimized. Now run your biggest capital decision — mortgage vs. renting, down payment sizing, and total monthly PITI — with the real numbers before you commit.

⚖️

Mortgage Calculator

See your exact monthly payment, total interest over the loan life, and true loan cost — before you make an offer

Educational content only — not financial advice

The tools and calculators on Garypedia are provided solely for informational and educational purposes. They do not constitute financial, investment, tax, accounting, or legal advice of any kind. While reasonable care is taken to ensure the accuracy of formulas, figures, and data sources referenced, no warranty — express or implied — is made as to their completeness or suitability for any particular purpose. Garypedia, its operators, and contributors expressly disclaim all liability for any loss, damage, or adverse outcome — whether direct, indirect, or consequential — arising from reliance on any result produced by these tools. All outputs are estimates based on the inputs you provide; individual circumstances vary significantly. You should independently verify any figures and seek guidance from a suitably qualified and regulated financial, tax, or legal professional before making any financial decision.