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
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%
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
- 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.
- 2Enter your cost — the total delivered cost to produce, procure, or provide the product or service.
- 3Enter the second input depending on your mode: selling price, target margin %, or markup %.
- 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.
| Variable | Meaning |
|---|---|
| Margin | Gross profit as a percentage of selling price |
| Markup | Gross profit as a percentage of cost |
| Price | Selling price per unit |
| Cost | Total cost per unit to produce or procure |
Margin vs markup example: $50 cost, $75 selling price
- 01Gross profit: $75 − $50 = $25.
- 02Profit margin: $25 / $75 = 33.3% (gross profit as % of selling price).
- 03Markup: $25 / $50 = 50.0% (gross profit as % of cost).
- 04Reverse check — using 33.3% margin: $50 / (1 − 0.333) = $75.00. ✓
- 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
SBA — Price Your Product or Service
U.S. Small Business Administration guidance on pricing strategies, understanding margins, and structuring prices for sustainable profitability.
IRS — Business Expenses
Official IRS guidance on deductible business expenses — essential context for determining true cost basis in margin calculations.
SEC — Financial Statements: A Step-by-Step Guide
SEC investor education resource on reading financial statements, including how gross margin and operating margin appear on the income statement.
Related tools you might need
Break-Even Analysis Engine
Find the exact sales volume needed to cover your fixed and variable costs
Monthly Expense & Burn Rate Calculator
Track your business monthly burn rate and runway at current spend
Contract Pricing Modeler
Price fixed-bid contract work based on your effective hourly rate target
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 →Average Income by Age: Where Do You Rank? (2026 Data)
Median individual income is $41,150 at ages 23–27, $52,000 at 28–32, $60,000 at 33–37, and peaks at $67,144 at 43–47 (Census CPS 2024). See the full table, top-25% and top-10% thresholds by age, and how to turn your percentile gap into a negotiation anchor.
How to Evaluate Equity Compensation: RSUs, Options, and What They're Really Worth
A $50,000 RSU grant at a flat stock price nets approximately $38,500 after withholding. Stock options require exercise decisions, strike price math, and AMT consideration. Here's the step-by-step framework for converting any equity offer into a comparable cash value.
Break-Even Point for a Small Business: Formula, Examples, and How to Lower It
The break-even point is Fixed Costs ÷ (Price − Variable Cost per Unit). At $8,000/month in fixed costs and a $20 contribution margin, you break even at 400 units. Here's the complete calculation with a worked example, industry benchmarks, and three ways to lower your break-even.
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.