Markup Calculator

Calculate selling price or markup from your costs, and see the gross profit on each sale. Check the matching margin before you set your price. Free to use · no sign-in needed

What would you like to calculate?

Your inputs

Example · illustrative values

Result

Selling price
100.00 USD
Contribution profit
20.00 USD
Markup (%)
25.0000
Margin (%)
20.0000

Choose the right calculation for your situation

Set a selling price

Cost + markup → price, gross profit and margin.

80 × (1 + 25%) = 100; 100 − 80 = 20

Include purchase, production and inbound costs in cost. Gross profit here is selling price minus the costs you enter; payment fees, advertising and overhead are not deducted automatically.

Check your markup

Cost + price → markup and gross margin.

(100 − 80) ÷ 80 = 25%; (100 − 80) ÷ 100 = 20%

Markup divides gross profit by cost. Gross margin divides the same gross profit by the selling price. A 50% markup is a 33.33% margin.

Find a target cost

Price + markup → maximum affordable cost.

100 ÷ (1 + 25%) = 80

With a fixed selling price, this is the maximum cost that meets the markup target. The cost limit rounds down; target selling prices round up to the next currency unit.

Price for a margin

Cost + target gross margin → selling price.

80 ÷ (1 − 25%) → 106.67

Markup divides gross profit by cost. Gross margin divides the same gross profit by the selling price. A 50% markup is a 33.33% margin.

Markup ↔ margin

Convert percentages without entering any money.

50% ÷ (100% + 50%) ≈ 33.333%; 30% ÷ (100% − 30%) ≈ 42.857%

Markup divides gross profit by cost. Gross margin divides the same gross profit by the selling price. A 50% markup is a 33.33% margin.

Quote time & materials

Hours × hourly cost + materials, then markup.

(10 × 30 + 50) × 1.25 = 437.50

Include purchase, production and inbound costs in cost. Gross profit here is selling price minus the costs you enter; payment fees, advertising and overhead are not deducted automatically.

Price a product list

Import SKU costs, check each row and export prices.

A: 80 × 1.25 = 100; B: 40 × 1.50 = 60

Use the template headers and decimal points in CSV. Quote commas inside a name. Currency must match the selected currency; up to 1,000 rows. Data stays in this browser. Invalid rows are shown separately and excluded from totals.

Use other known values

Choose two independent amounts or percentages.

20 ÷ 20% = 100; 100 − 20 = 80

Choose two independent values. Markup and margin alone cannot determine a price; they describe the same ratio. A zero profit plus a zero percentage also has no unique solution.

How to use this calculator

Choose the mode and currency, then enter the labeled inputs. Results update as you type. Load the illustrative example to check the formula; Reset clears the draft.

Formula & assumptions

Selling price = Product cost × (1 + u)

Markup (%) = (Selling price − Product cost) ÷ Product cost × 100

Margin (%) = (Selling price − Product cost) ÷ Selling price × 100

Selling price = Product cost ÷ (1 − m)

Amounts use the currency’s smallest unit. Target-margin prices round upward; discount results round only after all discounts. Zero denominators produce no ratio.

Worked example

Example · illustrative values

Product cost: 80 USD; Markup (%): 25% → Selling price: 100 USD; Margin (%): 20%. m = 25% → 106.67 USD.

What the result includes

Include purchase, production and inbound costs in cost. Gross profit here is selling price minus the costs you enter; payment fees, advertising and overhead are not deducted automatically.

Common questions

How do I calculate a selling price from cost and markup?

Selling price = cost × (1 + markup rate). With a cost of $80 and a 25% markup, the selling price is $100 and the difference is $20. This is profit before any expenses you have not included in the cost.

What is the difference between markup and profit margin?

Markup divides profit by cost; margin divides the same profit by selling price. If cost is $80 and price is $100, markup is 25% and margin is 20%. A 100% markup doubles the cost and produces a 50% margin, before other expenses.

How should I price a product for a target margin?

Divide cost by 1 minus the target margin. For an $80 cost and a 25% margin, $80 ÷ 0.75 gives $106.666…; a $106.67 selling price reaches the target. Use the target-margin scenario instead of entering 25% as a markup.

How do I convert between markup and margin?

Using decimal rates, margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin). A 50% markup gives about a 33.33% margin; a 30% margin requires about a 42.86% markup.

Can I find cost from the selling price and markup?

Yes. Cost = selling price ÷ (1 + markup rate). A $125 selling price with a 25% markup implies a $100 cost. If the percentage you know is a margin, use cost = price × (1 − margin) instead.

Which costs should I include when setting a markup?

Include the costs you want the price to recover, such as purchasing or production, inbound shipping and packaging per unit. Allocate other costs consistently. The displayed profit only subtracts the cost you entered; it does not automatically deduct payment fees, advertising or business overhead.

What is a good markup percentage?

There is no single percentage for every product or business. Start with your complete cost basis and desired margin, then compare the resulting price with demand and competing offers. Check whether the remaining profit can cover expenses excluded from your unit cost.

How does a discount affect my markup and margin?

A discount reduces revenue while the unit cost stays the same. With an $80 cost and a $100 price, 20% off reduces the price to $80 and removes the $20 gross profit. Calculate the discounted price first, then use that price to check the remaining markup and margin.

Related tools