Finance · Pricing

Price, Cost, Margin and Markup Calculator

Find the right selling price and profit margin for your products without touching a spreadsheet.

Default values auto-calculate on load so you see results immediately. All calculations stay in your browser.

Other languages: English | 日本語 | Español

How to use (3 steps)

  1. Pick what to solve: margin from cost & price, price from target margin, or cost from target margin.
  2. Enter the known values, keep quantity at 1 or raise it to see total profit.
  3. Results update automatically; copy the URL to share the same setup.

Inputs

Use tax-exclusive prices here. Currency symbol is cosmetic only; calculations use the numbers you type.

Used to calculate total profit.

Margin = profit ÷ selling price. Markup = profit ÷ cost.

Profit margin

--

Margin = profit ÷ selling price. Markup = profit ÷ cost.

Profit per unit
Profit margin
Markup
Total profit

Total profit = profit per unit × quantity.

How it’s calculated

This calculator uses standard business definitions of profit margin and markup.

Example: cost 700, selling price 1,000

  1. Profit per unit = 1,000 − 700 = 300
  2. Margin = 300 ÷ 1,000 = 30.00%
  3. Markup = 300 ÷ 700 ≈ 42.86%
  4. With quantity 5, total profit = 300 × 5 = 1,500

This tool focuses on gross profit per unit and does not take into account overhead, taxes or other indirect costs.

FAQ

What’s the difference between margin and markup?

Margin divides profit by the selling price, while markup divides profit by the cost. Both describe the same profit, just with different denominators.

Can margin be 100% or higher?

No. At 100% margin the formula would make selling price infinite, so this calculator limits margin input to 99.99%. When cost is 0, markup is shown as “not defined” instead of infinity.

Does this include tax, shipping, or overhead?

No. It focuses on unit gross profit. Add tax and other costs separately if you need them for full profitability analysis.

Comments

Load comments only when you need them.