Profit Margin Calculator (Margin, Markup, Break-Even)
Last updated: 2026-10-07
Margin = profit ÷ price; markup = profit ÷ cost. Enter a cost and any one of price, margin, markup or profit to solve the rest; switch tabs to compare several products with a sales-weighted blended margin, check gross, operating and net margin for the whole business with break-even revenue, or see how much extra volume a discount needs.
All-in: product, labor, shipping in
For break-even units
Break-even: 125 units ($12,500 in sales) to cover $5,000 of fixed costs. A 40% margin is a 67% markup — markup is always the bigger number for the same price.
Margin ↔ markup conversion
| Margin | 10% | 15% | 20% | 25% | 30% | 33⅓% | 40% | 50% | 60% | 75% |
|---|---|---|---|---|---|---|---|---|---|---|
| Markup | 11.1% | 17.6% | 25.0% | 33.3% | 42.9% | 50.0% | 66.7% | 100.0% | 150.0% | 300.0% |
| Markup → margin | 9.1% | 13.0% | 16.7% | 20.0% | 23.1% | 25.0% | 28.6% | 33.3% | 37.5% | 42.9% |
Second row: a markup of the column's percentage gives this margin (e.g. a 50% markup = 33.3% margin).
Formulas
| Metric | Formula | Example ($60 cost, $100 price) |
|---|---|---|
| Gross profit | Price − cost | $40 |
| Margin | (Price − cost) ÷ price | 40% |
| Markup | (Price − cost) ÷ cost | 66.7% |
| Price for a target margin | Cost ÷ (1 − margin) | $60 ÷ 0.6 = $100 |
| Price from a markup | Cost × (1 + markup) | $60 × 1.667 = $100 |
| Break-even units | Fixed costs ÷ (price − unit cost) | $5,000 ÷ $40 = 125 units |
| Break-even revenue | Fixed costs ÷ gross margin | $5,000 ÷ 40% = $12,500 |
Reference margins by sector (public U.S. companies, January 2026)
Gross and net margins for publicly traded U.S. companies from NYU Stern's Damodaran dataset (data as of January 2026). Useful as a sense of scale — small private firms often look different, especially on net margin, because owner pay and scale vary.
| Sector | Companies | Gross margin | Net margin |
|---|---|---|---|
| Restaurant/Dining | 64 | 32.2% | 9.4% |
| Retail (General) | 23 | 33.2% | 5.6% |
| Retail (Special Lines) | 94 | 35.3% | 5.2% |
| Retail (Grocery and Food) | 15 | 26.3% | 1.3% |
| Engineering/Construction | 48 | 15.5% | 5.9% |
| Homebuilding | 30 | 22.7% | 9.5% |
| Business & Consumer Services | 155 | 33.4% | 7.0% |
| Computer Services | 64 | 24.3% | 4.5% |
| Software (System & Application) | 309 | 71.7% | 25.5% |
| Healthcare Support Services | 104 | 12.1% | 1.3% |
| Trucking | 26 | 21.2% | 3.8% |
| Advertising | 52 | 36.2% | -0.3% |
| Apparel | 35 | 56.9% | 3.9% |
| Total market (without financials) | 4,822 | 34.4% | 8.6% |
Source: NYU Stern (A. Damodaran), Margins by Sector (US), January 2026 data. Gross margin = gross income ÷ sales; net margin = net income ÷ sales.
Levers that move margin
- Price. At a 40% margin, a 5% price increase lifts gross profit per unit by 12.5% — use the Discounts tab to see the volume trade-off before discounting.
- Mix. Use the Multiple products tab to find items that sell a lot but earn little; reprice them to your target or steer sales toward higher-margin lines.
- Direct costs. Supplier terms, waste and freight show up in gross margin first.
- Overhead. Operating expenses set your break-even revenue; every dollar cut lowers it by dollar ÷ gross margin.
Related: profit & loss statement template, expense tracker and startup cost estimator.
Frequently asked questions
How do you calculate profit margin?
Margin = (price − cost) ÷ price. If something costs $60 and sells for $100, the profit is $40 and the margin is 40%. For a whole business, gross margin is (revenue − cost of goods sold) ÷ revenue, and net margin is net profit ÷ revenue after all expenses.
What's the difference between margin and markup?
Both use the same profit, but margin divides it by the selling price and markup divides it by the cost. $40 of profit on a $60 cost and $100 price is a 40% margin and a 66.7% markup. Markup = margin ÷ (1 − margin); margin = markup ÷ (1 + markup). Confusing them is the classic pricing mistake: a 50% markup is only a 33.3% margin.
How do I price for a target margin?
Price = cost ÷ (1 − target margin). For a 40% margin on a $60 cost: $60 ÷ 0.60 = $100. Adding 40% to cost ($84) gives only a 28.6% margin.
How do I calculate break-even?
Break-even units = fixed costs ÷ (price − variable cost per unit). For a business, break-even revenue = fixed costs ÷ gross margin. With $150,000 of operating costs and a 40% gross margin, you need $375,000 of sales to break even.
How much more do I need to sell after a discount?
To keep the same gross profit, volume must rise by margin ÷ (margin − discount) − 1. At a 40% margin, a 10% discount needs 33% more units; a 20% discount needs 100% more. A 10% price increase could lose 20% of units and still earn the same gross profit.
What is a good profit margin for a small business?
There's no single number — it depends on the industry, scale and business model. The table above shows January 2026 margins for public U.S. companies by sector (NYU Stern data) as a reference point; small private businesses can differ a lot. Track your own gross and net margin monthly and compare against your own history and your pricing targets.
What costs go into cost of goods sold?
Direct costs of what you sell: products bought for resale, raw materials, direct labor and freight-in. Rent, office salaries, marketing and admin are operating expenses. On a sole proprietor's return, cost of goods sold is figured in Schedule C Part III (beginning inventory + purchases + labor + materials − ending inventory).
Sources
Figures checked against these sources on 2026-10-07- NYU Stern (A. Damodaran), Margins by Sector (US), January 2026 data — public U.S. companies — not small-business averages
- IRS Publication 334 (2025), Tax Guide for Small Business
- IRS Schedule C (Form 1040) 2025 — expense line numbers
Video Guides
Related Resources on This Site
Helpful guides
- General Liabilitygeneral liability insurance
- Commercial Autocommercial auto insurance
- Professional Liabilityprofessional liability / E&O insurance
- Business Owners Policybusiness owners policy (BOP)
For planning only; not financial advice.