Skip to content
Max Tamilan

Margin and markup calculator

Fill in any two boxes. At least one must be the cost or the price.

Fill in exactly two boxes, for example cost and margin to find the selling price.

Margin (%)
Fill in two boxes
Markup (%)
—
Profit per item
—
Cost
—
Selling price
—

Add this tool to your website

Paste this code into your page. The tool runs in your visitors' browsers: what they type is not sent to you or to us. No cookies, no tracking.

Preview ↗

Your input never leaves your device. 100% private.

Ratings and reviews

Save to favourites

Average rating

0.0 / 5

No ratings yet. Be the first to rate this tool.

Ratings by stars

  • 5 5 stars 0
  • 4 4 stars 0
  • 3 3 stars 0
  • 2 2 stars 0
  • 1 1 star 0

Log in to save this tool, rate it and write a review. Log in Create an account

What people say

  • No reviews yet.
⚑ Report a problem

Wrong answer, a bug or a bad translation? Tell us. You do not need an account.

Do not paste personal data or the text, numbers or files you used in the tool. Describe the problem instead.

How to use the Margin and markup calculator

  1. Fill in any two boxes, for example cost and selling price, or cost and the margin you want.
  2. Read the margin, markup, profit and the missing amount.

Worked example

Cost 80 and price 100: profit 20, margin 20% (of price) and markup 25% (of cost). To get a 20% margin on a cost of 80, sell at 100.

How it is worked out

Margin = (price − cost) ÷ price. Markup = (price − cost) ÷ cost. Price from cost and margin = cost ÷ (1 − margin).

Limits

  • Margin can never reach 100%, because that would need a cost of zero.

Privacy

Everything happens in your browser. What you type or choose is not sent to us, stored or logged.

Command palette

↑ ↓ move Enter open Esc close

Keyboard shortcuts

Ctrl + K
Open search and commands
/
Open search and commands (when not typing)
?
Show this list (when not typing)
Esc
Close a window

On a Mac, use ⌘ instead of Ctrl.