Skip to content
2026 data · 157 free tools, no sign-up required
hogiro tools tools tools Calculate, decide, move.
Finance

Profit Margin & Markup Calculator

Calculate profit margin, markup and profit from cost and selling price, or find the price needed for a target margin.

Last reviewed: Jan 15, 2026 3 min No sign-up 2026 data

Your inputs

Profit Margin & Markup Calculator

$
01,000,000
$
Runs in your browserInstant results

Breakdown

Cost
$60.00
Selling price
$100.00
Profit
$40.00
Margin (of revenue)
40.00%
Markup (on cost)
66.70%
Assumptions & notes+
  • Margin and markup differ: a 40% margin equals a 66.7% markup on cost.
  • Shipping, payment fees, taxes and returns are not included.

Results are unverified model calculations and do not replace tax, legal or financial advice.

What this calculator does

Margin and markup are not the same. Margin is profit as a share of the selling price; markup is profit as a share of cost. Confusing them leads to underpricing.

This calculator analyses cost and selling price, or calculates the price required to hit a target margin. It is useful for retail, e-commerce and service pricing.

Formula

Margin and markup

Margin = (Price − Cost) ÷ Price · Markup = (Price − Cost) ÷ Cost

At a cost of $60 and a price of $100, margin is 40% and markup is 66.7%. A 40% margin is not the same as adding 40% to cost.

How this calculator works

How this calculator works

  1. 01

    Enter cost and price

    Use net amounts and include all direct costs for a realistic margin.

  2. 02

    Or set a target margin

    Switch modes to calculate the selling price needed for a desired margin.

  3. 03

    Review profit

    Compare margin, markup and absolute profit before setting a price.

Frequently asked questions

Frequently asked questions

What is a good profit margin?

+

It depends on the industry and cost structure. Retail often runs 20–50% gross margin, while services can be higher. Net profit after all expenses is what ultimately matters.

Should I use margin or markup?

+

Use margin when comparing profitability against revenue. Use markup when applying a standard percentage to cost. Be explicit about which one you mean.

Are shipping and fees included?

+

Not automatically. Subtract shipping, payment processing, returns and taxes to see the true contribution margin.

Data basis: 2026 · Annual constants live in structured JSON files and are updated once a year.

Results are unverified model calculations and do not replace tax, legal or financial advice.