Margin, markup & price
Profit Margin Calculator: COGS, Revenue & Markup Solver
Calculate profit margins, markup, and selling prices from any two inputs. Compare gross vs net profit with operating expenses. Free 2026 business profitability calculator.
By Jeff Beem
Updated
Pick any two inputs
The calculator solves for the other two metrics from your selection.
Pick exactly two, order does not matter.
Values
Operating expenses (optional)
Leave at $0 to keep net equal to gross. Add overhead to see net profit and net margin below.
Shipping, marketing, rent, utilities, etc.
| Metric | Value | Formula |
|---|---|---|
| Markup | 100.00% | (R − C) / C |
| Margin | 50.00% | (R − C) / R |
| Spread | 50.00% | Markup > margin (same dollars) |
Note: a 100.00% markup corresponds to a 50.00% margin. 100% markup (doubling cost) is a 50% margin.
| Units | Revenue | Cost | Profit |
|---|---|---|---|
| 10 | $1,000.00 | $500.00 | $500.00 |
| 100 | $10,000.00 | $5,000.00 | $5,000.00 |
| 1,000 | $100,000.00 | $50,000.00 | $50,000.00 |
Charts
Revenue breakdown
Margin vs markup
100.0% markup ↔ 50.0% margin
Margin Strategy 2026: Pricing for Profit
Master the art of pricing with strategic insights on margin optimization, common pricing mistakes, and volume scaling strategies.
Strategic Margin Insights
Volume Scaling Strategy
Operating Expenses Impact
Markup vs. Margin Confusion
Profit Margin Calculator: Understanding COGS, Revenue & Markup
Calculate profit margins and markup percentages from any two inputs. Compare gross vs net profit with operating expenses and use scale view for volume planning.
What This Calculator Does
- What You'll Get:Margin %, markup %, dollar profit per unit, and optional net margin after operating expenses. Scale view projects total revenue, cost, and profit at any sales volume.
- Who It's For:Business owners setting prices, freelancers quoting projects, e-commerce sellers managing COGS, and anyone who needs to convert between margin and markup quickly.
- Scope & Limits:Single-product margin analysis. Enter cost and revenue in the same currency. Operating expenses are entered as a percentage of revenue for net margin comparison.
How to Use This Calculator
- Core Inputs (Any Two):Enter Cost and Revenue to find margin, or Cost and Margin to find the selling price, or Revenue and Margin to find cost. The calculator auto-detects which value is missing.
- Margin & Markup Results:View profit margin (profit ÷ revenue × 100), markup (profit ÷ cost × 100), and dollar profit per unit side by side.
- Operating Expenses:Toggle on and enter expenses as a percentage of revenue to see net margin after overhead costs like marketing, rent, and utilities.
- Scale View:Enter a sales volume (number of units) to project total revenue, total cost, and total profit. Use this to model how margin translates to real dollar amounts at different scales.
Understanding Margin vs. Markup
The Fundamental Difference
- Margin Formula:
- Markup Formula:
- Key Insight:A 100% markup equals a 50% margin. A 200% markup equals a 66.7% margin.
Understanding this relationship is crucial for accurate pricing. Many businesses undershoot profit targets by confusing markup with margin.
Calculating Selling Price from Margin
The Inverse Pricing Formula
This ensures you hit your profit target rather than undershooting it by simply adding a percentage to cost.
- Example 1:Cost = $50, Target Margin = 30%. Selling Price = $50 / (1 - 0.30) = $71.43
- Example 2:Cost = $100, Target Margin = 40%. Selling Price = $100 / (1 - 0.40) = $166.67
- Common Mistake:Adding 30% to cost ($65) only gives 23% margin, not 30%
Always use the inverse formula when setting prices based on target margins to avoid leaving money on the table.
Gross vs. Net Profit Margin
Understanding Margin Types
- Gross Margin:Profit after COGS / Revenue. Shows product profitability.
- Net Margin:Profit after all expenses / Revenue. Shows true business profitability.
- Operating Expenses:Marketing, rent, salaries, utilities, taxes reduce gross to net margin
- Pricing Strategy:Always factor in operating costs when setting prices to achieve target net margins
Focus on net margin for long-term business sustainability, but monitor gross margin for product-level decisions.
Industry Margin Benchmarks (2026)
Sector-Specific Profit Margins
- Technology:Average 20% net margin (high gross margins, significant R&D costs)
- Retail:Average 5% net margin (low margins, high volume model)
- Manufacturing:Average 10% net margin (moderate margins, capital-intensive)
- Services:Average 15% net margin (variable margins based on service type)
- Finance:Average 25% net margin (high margins, regulatory costs)
Compare your margins against these benchmarks to assess your pricing strategy and identify opportunities for optimization.
FAQ
What is the difference between margin and markup?
How do I calculate the selling price from cost and desired margin?
What is a good profit margin for my business?
What is the difference between gross profit and net profit?
How do I calculate gross profit?
What is the relationship between markup and margin?
How do operating expenses affect my profit margin?
What should I include in Cost of Goods Sold (COGS)?
Sources & citations
References used for the calculation method and definitions. Links open in a new tab when available.
IRS publication for small businesses on income, deductible expenses, inventory, and figuring net profit, useful context for how revenue, cost of goods sold, and operating expenses flow into bottom-line margin.
Financial Estimation Note
General Projections: Results are mathematical estimates based on the rates and formulas currently loaded for this tool, including year-specific tax data where noted. They are intended for high-level planning only.
No Advice Provided: This site does not provide financial, tax, or legal advice. Using this tool does not create a client-advisor relationship with CalcRegistry.
Confirm Numbers: Financial laws change frequently. Please verify all results with a qualified professional (CPA, Financial Planner, or Lawyer) before making significant financial decisions.