FINANCE PRECISION ENGINE

Profit Margin Calculator

Calculate profit margin and markup from revenue and cost, or solve backward for the cost or selling price needed to hit a target margin.

Calculation Mode

Input Values

Results

Profit Margin35.0%
Gross Profit$35,000.00
Markup53.8%
Revenue$100,000.00
Cost$65,000.00
Break-Even Revenue$65,000.00

Margin vs Markup

Margin = Profit ÷ Revenue × 100

Markup = Profit ÷ Cost × 100

Margin tells you what % of revenue is profit. Markup tells you how much you added on top of cost.

How to Use This Tool

1

Choose a calculation mode

from revenue & cost, from revenue & a target margin, or from cost & a target margin.

2

Enter the values the selected mode asks for.

Enter the values the selected mode asks for.

Pro Tip

Compare your margin against your specific industry rather than a generic benchmark, since typical healthy margins vary enormously by sector — a grocery store commonly operates on net margins of just 1-3%, while a software company might see 20% or higher, so a "low" margin in isolation may actually be entirely normal and healthy for your specific type of business.

About This Tool

When to Use

  • A small business owner checking their margin on a product to see if the current price adequately covers costs.
  • Someone pricing a new product by working backward from a target margin to the exact selling price required.
  • A founder checking the maximum cost they can afford to pay a supplier while still hitting a target margin on an already-set price.

How It Works

Pick one of three modes based on which two values you know. From Revenue & Cost: profit = revenue − cost, margin = profit ÷ revenue, markup = profit ÷ cost. From Revenue & Target Margin: cost is solve...

Key Details

This profit margin calculator solves the margin/cost/revenue relationship from three different directions: compute margin and markup from a known revenue and cost, solve for the maximum affordable cos...

How it works

Pick one of three modes based on which two values you know. From Revenue & Cost: profit = revenue − cost, margin = profit ÷ revenue, markup = profit ÷ cost. From Revenue & Target Margin: cost is solved as revenue × (1 − margin), then profit and markup follow. From Cost & Target Margin: revenue is solved as cost ÷ (1 − margin), then profit and markup follow. All three paths report the same profit, margin, and markup fields once the missing value is filled in.

Worked example

Using this calculator's own default ("From Revenue & Cost") scenario — $100,000 revenue, $65,000 cost — profit comes to $35,000, for a 35% profit margin and a 53.8% markup. Switching to "From Cost & Target Margin" with that same $65,000 cost and a 35% target margin solves back to the identical $100,000 required revenue, confirming all three modes agree with each other.

Interpreting your result

This tool computes a single margin/markup pair from whatever revenue and cost figures you provide — it doesn't distinguish gross margin (revenue minus cost of goods sold only) from a full net margin (revenue minus every cost including overhead, interest, and taxes). If you want a true net margin figure comparable to industry benchmarks, make sure the "cost" you enter includes all your costs, not just direct production cost — the calculator will happily compute a margin on whatever you enter, but the meaning of that margin depends entirely on what's included in your cost figure.

Profit Margin Calculator FAQ

What do this calculator's three modes actually compute?

This tool solves the same revenue/cost/margin relationship from three different starting points. "From Revenue & Cost" (the default): enter what you charge and what it cost you, and it computes your profit margin and markup. "From Revenue & Target Margin": enter your revenue and the margin you want, and it works backward to tell you the maximum cost you can afford. "From Cost & Target Margin": enter your cost and the margin you want, and it works backward to tell you the price you need to charge. All three produce the same profit, profit margin, and markup figures — they just start from different known values.

What is the difference between profit margin and markup?

Both express profit, but use different denominators. Margin = profit ÷ selling price. Markup = profit ÷ cost. A product costs $10 and sells for $15: profit is $5. Markup = $5 ÷ $10 = 50%. Margin = $5 ÷ $15 = 33.3%. A 50% markup is NOT a 50% margin — confusing the two leads to systematic underpricing, since margin is always a smaller percentage than markup on the same transaction whenever there's a profit.

How do I calculate profit margin from revenue and cost?

Profit margin = (Revenue − Cost) ÷ Revenue × 100. Using this calculator's own default example: revenue $100,000, cost $65,000. Profit = $35,000. Profit margin = $35,000 ÷ $100,000 × 100 = 35%. Markup, using the same two numbers, is $35,000 ÷ $65,000 × 100 = 53.8% — a meaningfully different number from the 35% margin, since it's measured against cost instead of revenue.

How do I use this calculator to find the price I need to charge for a target margin?

Switch to "From Cost & Target Margin" mode, enter your cost, and enter your desired margin percentage. Example: your cost is $10 and you want a 33.3% margin (not markup — margin). The calculator solves Revenue = Cost ÷ (1 − Margin), giving a required selling price of $15 — the same relationship as the margin/markup example above, just solved in the opposite direction. This is the correct way to price from a target margin; working backward from a target markup instead would give you a different, lower price than you actually intended.

What is a good profit margin for my industry?

Margins vary dramatically by sector: software/SaaS commonly runs 20–40%+ net margin, professional services (consulting, law) 15–30%, manufacturing 5–10%, retail 2–6%, restaurants 3–9%, e-commerce 5–15%. This calculator computes a single margin figure from whichever revenue/cost pair you enter — for a true net margin comparable to these industry benchmarks, use your full revenue and full costs (including overhead, taxes, and interest, not just cost of goods sold) as the "cost" input.

What is a typical net profit margin for small businesses?

Most small businesses average 6–10% net margin across all industries. Below 5% creates fragility — any unexpected cost or revenue dip can push you into a loss. Above 15% is strong. High-overhead businesses (restaurants, retail) commonly run 3–6%; low-overhead businesses (consulting, digital products) can reach 20–35%. Enter your total revenue and total costs (all-in, not just COGS) into this calculator's "From Revenue & Cost" mode to get a comparable net-margin figure.

Master Your Entire Toolkit

Access 500+ specialized calculators and tools designed for precision. No sign-up required, 100% free.

Built and reviewed by the Toolzip Team · Based on Investopedia