Margin & markup calculator

Distinguish profit margin from markup and solve a target selling price.

Jump to result

Your inputs

Updates as you type

profit margin

40%

Profit
$40.00
Markup
66.67%

Profit = selling price minus entered unit cost.

Calculations happen in your browser. Saving is optional.

How to use this tool

Choose whether to compare margin and markup or solve a target selling price.

Enter costs consistently, including any overhead you want included. Margin divides profit by selling price; markup divides it by cost.

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

Worked example

40% · profit margin

Fixed example using the settings below. Monetary examples use USD; dates and times use their stated reference values. This example stays unchanged when you edit your calculation.

Example inputs
  • Unit cost: 60
  • Selling price: 100
  • Target margin (%): 40
  • Calculation: Margin and markup

Method illustration: Cost 60 and price 100 gives a 40% margin and 66.67% markup.

Assumptions and limits

  • Margin divides by selling price; markup divides by cost. Tax and overhead must be included in entered cost if relevant.

Check or report a result

Check the units, selected calculation and assumptions first. Compare the fixed example above with your inputs to identify what changed.

Report a calculation issue with the page address, hypothetical inputs, result displayed and result expected. Do not include passwords, bank details or other private information.