Calculators › Business

Profit Margin Calculator

Find your profit margin and markup from cost and price, or work out the selling price you need for a target margin.

✨ 100% free⚡ Instant answers🔒 Private📱 Works on phone

Profit margin from cost and price

Price for a target margin

Price from a markup

Margin vs. markup

Margin is profit as a percent of the selling price. Markup is profit as a percent of the cost. If something costs $40 and sells for $65, the profit is $25: a 38.5% margin but a 62.5% markup.

Margin = (price − cost) ÷ price  ·  Markup = (price − cost) ÷ cost

What's a good profit margin?

It depends on the industry. Grocery stores run on 1–3% net margins, restaurants 3–10%, and software or services can reach 20% or more. For product pricing, many small businesses aim for at least a 30–50% gross margin to cover overhead.

✓ Updated November 2026 by Aaron Hernandez · How we calculate · Results are estimates for planning, not financial, tax or legal advice.

Margin vs markup

Margin is profit as a percentage of the selling price. Markup is profit as a percentage of the cost. An item that costs $60 and sells for $100 has a 40% margin but a 66.7% markup. Mixing them up is a common pricing mistake.

Gross vs net margin

Gross margin only subtracts the cost of goods. Net margin subtracts all expenses, including rent, salaries and taxes.