← Finance & money

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 are prefilled. Press Calculate or edit an input to update margin, markup, cost, and price. All calculations stay in your browser.

Other languages 日本語 | English | 简体中文 | 繁體中文 | Español | Português (Brasil) | Bahasa Indonesia | Français | हिन्दी | العربية

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. Press Calculate or edit an input to update results; 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.

Use this page when price, cost, and gross profit need to stay in one view

This workflow is for switching between selling price, cost, margin, markup, and total profit without rebuilding the same table elsewhere. Open Margin & Markup Calculator for the simpler solve-one-field flow, use Break-even & Required Sales when fixed costs matter, and switch to Compound Interest when the problem is time-based growth rather than unit economics.

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.

What should I do first on this page?

Start with the minimum required inputs or the first action shown near the primary button. Keep optional settings at defaults for a baseline run, then change one setting at a time so you can explain what caused each output change.

Why does this page differ from another tool?

Different pages often use different defaults, units, rounding rules, or assumptions. Align those settings before comparing outputs. If differences remain, compare each intermediate step rather than only the final number.

Comments

Load comments only when you need them.