Skip to content

Numbers & Calculators

Margin & Markup Calculator

Set a selling price that makes a profit. Work out margin and markup from your cost and selling price, or find the selling price from the profit target you want.

Free · no sign-up · runs in your browser · updated

Use Margin & Markup Calculator

From cost and selling price

Packaging, shipping, marketplace commission.

Enter the cost and the selling price per unit to see the result.

How to use Margin & Markup Calculator

  1. Choose the calculation: from cost and selling price, or find the selling price from a target margin or markup.

  2. Enter the cost and any other cost per unit, then the selling price or the target percentage.

  3. Read the profit per unit, margin, markup and total profit for a given number of units.

Margin and markup: what is the difference?

Example: cost Rp80,000, selling price Rp100,000, profit Rp20,000. Margin = 20,000 ÷ 100,000 = 20%. Markup = 20,000 ÷ 80,000 = 25%. The figures always differ because the denominators differ, and margin never reaches 100% while markup can.

A common mistake is raising the cost by 20% and assuming that is a 20% margin. That is a 20% markup; the margin is only about 16.7%. Pick one term and use it consistently in reports and negotiations.

Don’t forget other costs

True profit is calculated after all per-unit costs: packaging, shipping you absorb, marketplace commission and payment fees. Fill in the other-costs field so the margin shown reflects reality.

Questions about Margin & Markup Calculator

What is the formula for the selling price from a target margin?

Selling price = cost ÷ (1 − margin). Example: a cost of Rp80,000 and a 20% margin give a selling price of 80,000 ÷ 0.8 = Rp100,000.

What is the formula for the selling price from a target markup?

Selling price = cost × (1 + markup). Example: a cost of Rp80,000 and a 25% markup give a selling price of Rp100,000.

Which should I use, margin or markup?

Margin is usually used to judge profitability because it is expressed as a share of sales. Markup is handy for setting prices from cost. What matters is to be consistent.

Is marketplace commission part of other costs?

Yes. Enter the total per-unit costs (commission, service fees, packaging, shipping you absorb) in the other-costs field so the profit is realistic.

Are my numbers sent to a server?

No. The calculation runs in your browser.

Need more than tools?

We build websites, apps, and custom systems for your business.

These tools are only a small part of what Tipamedia can build. Tell us what you need and we will help you work out the next step.