Home  ›  Calculators  ›  Profit Margin Calculator

Free calculator · 2025 rates

Profit Margin Calculator

Margin and markup are not the same number, and confusing them quietly eats profit. Enter a selling price and cost, and this calculator gives you the profit, the gross margin percentage and the markup percentage side by side.

Self-Employment Tax Calculator

Live results · updates as you type
Estimated self-employment tax
$0

Estimate only — based on 2025 federal brackets and standard deductions. State tax, QBI and credits can change your real bill.

How to use

How to use this calculator

  1. Enter the selling price.
  2. Enter the total cost of the product or job.
  3. Optionally set units sold to scale the profit.
  4. See margin %, markup % and total profit.
The math

How it is calculated

Profit = price − cost. Gross margin = profit ÷ price. Markup = profit ÷ cost. Because the denominators differ, markup is always the bigger number: a 50% markup on cost is only a 33.3% margin on price. Businesses report margin; prices are often set with markup — know which one you are looking at.

Example

A worked example

Sell at $100 with a $60 cost: profit is $40, gross margin is 40%, and markup is 66.7%. If you had targeted a '50% margin' by adding 50% markup instead, you would price at $90 and leave $10 per unit on the table.

FAQ

Common questions

What is a good profit margin?

It varies by industry: software and services often run 70–90% gross margins, retail 20–50%, restaurants 60–70% gross but thin net margins after labor and rent. Compare against your own sector, not a universal number.

Is this gross or net margin?

Gross margin — price minus the direct cost of what you sold. Net margin subtracts rent, salaries, marketing and tax as well, and is always lower.

How do I price from a target margin?

Price = cost ÷ (1 − margin). For a 40% margin on a $60 cost: $60 ÷ 0.60 = $100. Our Markup Calculator shows the markup equivalent.