Profit Margin & Markup Calculator

Find your gross margin, markup percentage and net profit from your direct costs and selling price.

USD · GBP · CAD · AUD Free, no sign-up Runs in your browser
$
Enter an amount of 0 or more.
$
Enter an amount of 0 or more.
$
Enter an amount of 0 or more.
Your numbers stay on your device

Your profit margin

— gross margin
  • Gross profit—
  • Markup percentage—
  • Net profit—
  • Net profit margin—

Gross margin measures what you keep from sales after direct costs. Net margin shows what is left after overhead expenses.

Pricing targets for this product

The price you would need to charge for different gross margins, using the cost you entered above:

Target MarginRequired Selling PriceGross Profit
Enter your numbers above to see this table.

Margin vs. markup: what is the difference?

Margin and markup use the same profit but divide it by different numbers, and mixing them up is one of the most common ways to underprice:

  • Profit margin is profit as a share of the selling price. A 40% margin means 40 cents of every dollar you take is profit.
  • Markup is profit as a share of the cost. To get a 40% margin on an item that costs $60, you need a 66.7% markup ($60 × 1.667 = $100).

If you add 40% to a $60 cost, you charge $84 and your margin is only about 28.6%, not 40%.

How it's calculated

Gross Profit = Selling Price − Cost of Goods Gross Margin % = (Gross Profit ÷ Selling Price) × 100 Markup % = (Gross Profit ÷ Cost of Goods) × 100 Net Profit = Gross Profit − Operating Expenses Net Margin % = (Net Profit ÷ Selling Price) × 100

Worked examples

A handmade candle. The materials cost $60 and the candle sells for $100. Packaging and platform fees are another $15.

Gross profit = 100 − 60 = $40.00 Gross margin = 40 ÷ 100 = 40.0% Markup = 40 ÷ 60 = 66.7% Net profit = 40 − 15 = $25.00 Net margin = 25 ÷ 100 = 25.0%

A shop item. It costs $200 to buy in, sells for $350, and has $50 of other costs.

Gross profit = 350 − 200 = $150.00 Gross margin = 150 ÷ 350 = 42.86% Markup = 150 ÷ 200 = 75.0% Net profit = 150 − 50 = $100.00 Net margin = 100 ÷ 350 = 28.57%

Margins when you sell a service

Freelancers and consultants often have almost no "cost of goods", so their gross margin can look close to 100%. That number is misleading if your own time isn't counted. To get a useful margin for a service:

  • Put any costs that come with the job in cost: subcontractors, stock photos, materials, travel, platform fees.
  • Put your share of overheads in operating expenses: software, insurance, equipment and accounting.
  • Decide whether to count your own pay as a cost. If you don't, the "profit" is really your wages before tax, not money left over for the business.

To set a rate that covers all of this, start with our hourly rate calculator or the project pricing calculator.

Frequently asked questions

What is a healthy gross profit margin for a small business?

It depends a lot on the industry. Businesses that sell physical products have material, stock and shipping costs, so their gross margins are usually lower than service or digital businesses, where each extra sale costs very little. Compare yourself with businesses like yours, and with your own past results, rather than with one general number.

How do I price a product if I know my target margin?

Use the formula: Price = Cost ÷ (1 − (Target Margin ÷ 100)). For example, if an item costs $40 and you want a 50% margin: $40 ÷ (1 − 0.50) = $80.

Why is markup always higher than profit margin?

Both use the same profit, but markup divides it by your cost, which is the smaller number, and margin divides it by the selling price, which is the larger one.

Is profit margin before or after tax?

The margins here are before income tax. If you charge sales tax, VAT or GST, leave it out of the selling price, because that money belongs to the tax authority, not to you.

Keep going

Related tools

All Business tools
Add this calculator to your website

Free for blogs, newsletters and business websites. Paste this code where you want the calculator to appear. It runs in your visitors' browsers, so we never see what they type, and it sets no cookies. Please keep the "Calculator by ToolNest" line. The last line (a short script) lets the frame grow or shrink to fit the calculator; you can leave it out, and the calculator will scroll inside its frame. See our terms.

Preview

Disclaimer: results are estimates for planning only and are not tax, legal or financial advice. Rules and rates vary by country, state and personal situation. Check with a qualified accountant before making decisions. Read the full disclaimer.

Last updated: