BARO
Everyday & money / SIMPLE & CLEAR

Margin & Markup Calculator: Profit and Selling Price

Compare margin and markup, or price for a target margin. Inputs stay here. Saving on this device is optional.

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.
PUT IT TO USE

Price an item without confusing margin and markup

Margin uses the selling price as its base. Markup uses the cost. The same profit therefore produces different percentages.

  1. Choose existing-price analysis. Enter a cost of 60 and a price of 100.
  2. Calculate to see profit of 40 with a 40% margin and about 66.67% markup.
  3. Switch to target-margin mode to estimate a price from cost and your chosen margin.
Price an item without confusing margin and markup: Baro Calculators example screen with sample inputs and results
Illustrative example screen using sample data. Include the costs relevant to your own calculation. Platform fees and shipping are not added automatically.
Try these values in the tool

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.