Baro Calculators.
Everyday & money / SIMPLE & CLEAR

Margin & Markup Calculator

Compare margin and markup, or price for a target margin. Your inputs are calculated here and are not submitted or saved.

Your inputs

Use your own values
money units
money units
%

Calculation inputs stay on your device.

RESULTExample values
Gross profit margin
40%
Selling price
100 USD
Gross profit
40 USD
Margin
40 %
Markup
66.67 %

Margin = profit ÷ price; markup = profit ÷ cost; target price = cost ÷ (1 − margin)

Gross profit before any costs not included in your cost input. Add product, shipping and fixed transaction costs yourself. Percentage sales fees and tax require a separate model.

01 · UNDERSTAND

Formula & assumptions

Margin = (price − cost)/price; markup = (price − cost)/cost

Margin divides profit by selling price, while markup divides the same profit by cost. A 40% margin is therefore not a 40% markup. Enter all costs you want included in this gross calculation. The tool supports a below-cost selling price and shows negative profit. The target mode rearranges the margin formula; a margin of 100% cannot be achieved with a positive cost.

02 · TRY AN EXAMPLE

Worked example

EXAMPLE

A cost of 60 and selling price of 100 give profit 40, margin 40% and markup 66.67%. Pricing at a 40% markup would instead give a price of 84.

03 · GET STARTED

How to use this calculator

  1. Choose an existing-price analysis or target-margin calculation.
  2. Enter cost and either selling price or desired margin.
  3. Review profit, margin and markup together; account for excluded fees separately.

Frequently asked questions

Should I include shipping and packaging?

Include them in cost when you want this result to account for them. The calculator does not add them automatically.

Does margin equal net profit?

No. Overheads, percentage selling fees and tax can reduce net profit beyond the entered costs.

Why is a 100% target margin rejected?

With a positive cost, the target-price formula would divide by zero.