← 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 auto-calculate on load so you see results immediately. 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. 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.

How to use this calculator effectively

This guide helps you use Price, Cost, Margin and Markup Calculator in a repeatable way: define a baseline, change one variable at a time, and interpret outputs with explicit assumptions before you share or act on results.

How it works

The page applies deterministic logic to your inputs and shows rounded output for readability. Treat it as a comparison workflow: run one baseline case, adjust a single parameter, and measure both absolute and percentage deltas. If a result seems off, verify units, time basis, and sign conventions before drawing conclusions. This approach keeps your analysis reproducible across teammates and sessions.

When to use

Use this page when you need a fast estimate, a classroom check, or a practical what-if comparison. It works best for planning and prioritization steps where you need direction and magnitude quickly before investing in deeper modeling, manual spreadsheets, or formal external review.

Common mistakes to avoid

Interpretation and worked example

Run a baseline scenario and keep that result visible. Next, modify one assumption to reflect your realistic alternative and compare direction plus size of change. If the direction matches your domain expectation and the size is plausible, your setup is usually coherent. If not, check hidden defaults, boundary conditions, and interpretation notes before deciding which scenario to adopt.

See also

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.