SScaleWin Start free
Free tool · D2C pricing

Price Calculator: Selling Price, Markup and Margin

Find the right selling price from your cost using markup or a target margin, with fees, ad cost and GST/VAT included if you need them.

✓ Free · no signupBy Ajay KumarUpdated

Find your selling price

₹

What you pay to make or buy one unit.

How do you want to set the price?

%

100% markup means the price is double the cost.

Add shipping, fees, ad cost and tax (optional)
₹
₹
%
%

Fees are taken out of the selling price. Tax is added on top for the customer and is not your profit.

Selling price

₹1,000

Healthy: you keep ₹500 (50%) from every sale.

Profit per unit₹500
Profit margin50%
Markup100%
Break-even ROAS2.00×

Formula with your numbers

Selling price = Cost × (1 + Markup) = ₹500 × (1 + 100%) = ₹1,000

Track your ads against your break-even ROAS with ScaleWin →

Calculated in your browser. Nothing you type is stored.

What is a price calculator and how do I use it to set a selling price?

A price calculator works out what to charge for a product from its cost. Enter your cost, then a markup % or a target margin %. From markup: Price = Cost × (1 + Markup%). From margin: Price = Cost ÷ (1 − Margin%). Example: a $40 item at 25% markup sells for $50, which is a 20% margin.

Selling Price = Cost × (1 + Markup%) or Cost ÷ (1 − Margin%)

Price calculator: find your selling price, markup and margin

This price calculator is for sellers who want to set or check the price they charge. Enter what one unit costs you, then pick one of three modes: set the price from a markup %, set it from a target margin %, or check a price you already charge. You get the selling price, markup, margin and profit per sale in money. The formula is shown with your own numbers.

Comparing pack sizes in a shop? You need a unit-price calculator instead: divide price by quantity and pick the lower number.

Two quick examples

  • India: cost ₹400, markup 60%. ₹400 × 1.60 = ₹640. Profit is ₹240. Margin = 240 ÷ 640 = 37.5%.
  • US: cost $40, markup 25%. $40 × 1.25 = $50. Profit is $10. Margin = 10 ÷ 50 = 20%.

For the same price, margin is always lower than markup. Most pricing mistakes start in that gap, so the tool shows both numbers side by side.

How to use this price calculator

  1. Choose a mode: price from markup %, price from target margin %, or check a price you already charge.
  2. Enter your cost per unit: product, packaging and inbound freight. If you are not sure of this number, work it out first with the COGS Calculator.
  3. Enter your markup %, target margin % or current price.
  4. Optional: open the folded fields and add shipping, payment fees, ad cost per order and GST/VAT. The margin then shows what you really keep, not just gross markup.
  5. Pick a currency (₹, $, £, €). Rupee amounts use the Indian number format (1,00,000) and other currencies use the Western format.
  6. Read the verdict and the break-even ROAS. Then copy the share link or use Save as PDF for a co-founder or accountant.

Everything runs in your browser and fits a 360px phone screen. The share link keeps all your inputs, so the other person opens exactly the same numbers.

Selling price formula (from markup or from target margin)

There are two correct versions of the selling price formula. Use the first if your goal is a markup (profit as a share of cost). Use the second if your goal is a margin (profit as a share of price).

From markup: Selling Price = Cost × (1 + Markup% ÷ 100)
From target margin: Selling Price = Cost ÷ (1 − Margin% ÷ 100)

Shopify's pricing guide uses the margin version: a 14.28 cost at a 20% margin gives 14.28 ÷ 0.8 = 17.85.

The mistake many pages make

Some guides write "Selling price = Cost + Cost × margin". That is the markup formula with the wrong label. Here is a $50 cost with a 30% margin goal:

MethodPriceReal margin
Wrong: 50 + (50 × 0.30)$65.0015 ÷ 65 = 23.1%
Right: 50 ÷ 0.70$71.4321.43 ÷ 71.43 = 30.0%

The wrong method gives away $6.43 on every sale, or $6,430 over 1,000 orders. Under every result, the calculator prints a markup ↔ margin cross-check, so you can see which one you actually set.

Selling price formula with profit % and loss % (CP and SP)

Indian school maths writes the same idea with CP (cost price) and SP (selling price):

SP = CP × (100 + Profit%) ÷ 100
SP = CP × (100 − Loss%) ÷ 100
CP = SP × 100 ÷ (100 + Profit%)

In these formulas, "profit %" is profit on cost, so it means the same as markup (Kladana). Use the markup mode for these questions.

Worked example in rupees

  1. A batch costs ₹1,25,000 and you want 20% profit.
  2. SP = 1,25,000 × 120 ÷ 100 = ₹1,50,000.
  3. Profit = ₹25,000. As a margin, that is 25,000 ÷ 1,50,000 = 16.7%.
  4. At a 10% loss: SP = 1,25,000 × 90 ÷ 100 = ₹1,12,500.
  5. Working back from SP: CP = 1,50,000 × 100 ÷ 120 = ₹1,25,000.

So textbook "20% profit" is only a 16.7% margin. Keep this in mind when a supplier, buyer or investor talks about margin.

Markup formula: how to calculate markup %

Markup % = (Selling Price − Cost) ÷ Cost × 100

For a 30% markup, multiply cost by 1.30: a ₹500 item becomes ₹650 and a $20 item becomes $26. For a 40% markup, multiply by 1.40.

Check a price you already charge

You can also run the formula backwards. You sell at $19.99 and the item costs $12.50: (19.99 − 12.50) ÷ 12.50 × 100 = 59.9% markup. The margin on that same sale is 7.49 ÷ 19.99 = 37.5%. This is what the "check a price" mode does.

What counts as cost

Use the landed cost of one unit: product, packaging and inbound freight. Shopify's cost per item field leaves out taxes and shipping, so the margin in Shopify admin is a gross figure. Put outbound shipping, fees and ads in the optional fields instead.

Markup multiplier

The multiplier is 1 + markup. A 2x multiplier is a 100% markup, 2.5x is 150% and 3x is 200%.

Markup vs margin: why a 50% markup is only a 33.3% margin

Markup divides profit by cost. Margin divides profit by price. When you make a profit, price is always bigger than cost, so margin is always the smaller number.

Margin = Markup ÷ (1 + Markup) Markup = Margin ÷ (1 − Margin) (decimals)

For example, a 50% markup gives 0.5 ÷ 1.5 = 33.3% margin. A 40% margin needs 0.4 ÷ 0.6 = 66.7% markup.

MarkupMultiplierMargin
20%1.2x16.7%
25%1.25x20%
33.3%1.33x25%
50%1.5x33.3%
66.7%1.67x40%
100%2x50%
150%2.5x60%
200%3x66.7%
300%4x75%

So a 100% markup is exactly a 50% margin. Markup is handy for setting prices quickly from a supplier quote. Use margin for ads, reports and investor talks, because ad maths runs on margin. For margin-only maths, see the Gross Margin Calculator and the Profit Margin Calculator.

Product price calculator for ecommerce: shipping, payment fees and ad cost

A 60% gross margin can shrink to 15% once you pay to ship, collect payment and run ads. A product price calculator for ecommerce should set the price from what you really keep. With the optional fields filled in, this one does.

Price before tax = (Cost + Shipping + Ad cost per order) ÷ (1 − Target margin − Payment fee %). If you budget ads as a % of price instead, subtract that % inside the brackets too, as in the examples below.

Worked example: India (₹)

Cost ₹500, shipping ₹80, a 2% gateway fee (an example rate) and ad cost at 20% of price. You want 30% margin after all of it.

  1. Add the percentages: 30% + 2% + 20% = 52%. What is left: 1 − 0.52 = 0.48.
  2. Price = (500 + 80) ÷ 0.48 = ₹1,208.33.
  3. Check: fee ₹24.17 and ads ₹241.67. Total costs = 500 + 80 + 24.17 + 241.67 = ₹845.83. Profit = ₹362.50, which is 30% of ₹1,208.33.

Compare that with pricing for a 40% gross margin only: 500 ÷ 0.60 = ₹833.33. After shipping (₹80), fees (₹16.67) and ads (₹166.67), you would keep about ₹70, an 8.4% margin. In India, add the cost of COD orders that come back (RTO) to your shipping figure if your return rate is high.

Worked example: US ($)

Cost $18, shipping $6, payment fee 2.9% + $0.30 (example rate), ads at 25% of price, target margin 25%. Price = (18 + 6 + 0.30) ÷ (1 − 0.25 − 0.029 − 0.25) = 24.30 ÷ 0.471 = $51.59. That leaves profit of $12.90 per order.

Quick rule: for a 30% margin after a 2% gateway fee, divide cost by 0.68. That works out to a 47.1% markup on cost.

When a target margin can't be reached

If target margin + fee % + ad % add up to 100% or more, no price works. Every extra rupee or dollar of price gets eaten by those percentages. For example, a 60% target when fees and ads take 45% adds up to 105%. The calculator shows a clear message instead of a negative price or "Infinity". To fix it, lower the target, cut ad cost per order or reduce percentage fees.

Selling price with GST or VAT: what the customer pays vs what you keep

Tax is money you collect for the government. It is never profit. The calculator shows what the customer pays including tax separately from your revenue.

Customer pays = Net price × (1 + Tax rate) Net price = Inclusive price ÷ (1 + Tax rate)

India after GST 2.0

Since 22 September 2025, India has two main GST slabs, 5% and 18%, plus a 40% demerit rate. The 12% and 28% slabs were removed. Many D2C staples, such as hair oil, shampoo, toothpaste and soap, moved from 18% to 5% (ClearTax). If your pricing sheet is older than that, re-check the GST field.

MRP includes GST. An MRP of ₹1,050 at 5% GST means net revenue of 1,050 ÷ 1.05 = ₹1,000, and ₹50 is tax. Taking the ₹1,208.33 net price from above at 5% GST, the customer pays ₹1,268.75.

UK, EU, Gulf and Australia

Shelf prices in the UK and EU include VAT. At the UK standard rate of 20% (GOV.UK), a £24 price means £20 for you and £4 in VAT. Gulf VAT and Australian GST work the same way: take the tax out first, then work out margin. In the US, sales tax is usually added at checkout.

Break-even ROAS: will this price survive Meta and Google ads?

Break-even ROAS = 1 ÷ Contribution margin (before ad spend, as a decimal)

Contribution margin here is what is left of the net price after product cost, shipping and payment fees, before ads. At a 50% margin you break even at 2x ROAS. At 25% you need 4x, and at 60% you need 1.67x. If your margin is 35%, your break-even ROAS is 1 ÷ 0.35 = 2.86x.

Both ad platforms report ROAS based on revenue. Meta's Purchases ROAS is purchase value divided by amount spent, and Meta says the figure may be estimated or modelled. Google's target ROAS is conversion value per unit of spend, so 500% means 5 back for every 1 spent. Neither platform knows your costs.

Why a 3x ROAS can still lose money

Say your contribution margin is 30%. Break-even is then 1 ÷ 0.30 = 3.33x. At 3x, a ₹1,000 sale cost ₹333 in ads but left only ₹300 of contribution. You lose ₹33 per order, even though the dashboard looks fine.

A higher price lowers the ROAS you need

PriceCost + shipping + 2% feeContributionBreak-even ROAS
₹999₹599.98₹399.02 (39.9%)2.50x
₹1,299₹605.98₹693.02 (53.4%)1.87x

A ₹300 price rise drops the bar from 2.50x to 1.87x, which is often easier than pushing ROAS up. For the ad side, use the ROAS Calculator. ScaleWin compares this break-even line with live Meta and Google spend every day, so you can see which campaigns fall below it.

Is your margin healthy? Reading the verdict

Next to every price, the calculator gives a plain-English verdict and your profit per sale in money:

  • Loss: each sale costs you money.
  • Break-even: you cover your costs and keep nothing.
  • Thin margin: profitable on paper, but a few returns, a discount code or higher ad costs can push it into a loss.
  • Healthy: enough room to absorb those shocks.

A good profit margin for a D2C brand depends on category, order value and return rate. We did not find a reliable, sourced benchmark that fits every brand, so we won't quote one. Judge your price by profit per sale in money, and by whether your ads actually reach the break-even ROAS.

If the verdict is thin or loss, you have four main options. Raise the price and check the new break-even ROAS. Renegotiate COGS with your supplier. Bundle products so shipping and fees are spread over a bigger order. Or cut ad cost per order. For a full monthly view with fixed costs, use the Net Profit Calculator.

5 pricing mistakes the formulas above prevent

  1. Pricing to a markup when you meant a margin. A 30% markup is only a 23.1% margin.
  2. Counting GST/VAT as revenue. A margin worked out on a tax-inclusive price looks bigger than it really is.
  3. Forgetting payment-gateway and shipping costs. Shopify's admin margin leaves them out.
  4. Judging ads by any ROAS above 1x. Break-even is 1 ÷ contribution margin, which is often 2x or more.
  5. Using GST rates from before September 2025. Many products moved slabs, so update older sheets.

For more on pricing and ad profit, read the ScaleWin blog or browse all free tools.

Watch your break-even ROAS every day

ScaleWin tracks profit per order against your live Meta and Google ad spend, so you know which campaigns earn money at today's prices.

Try ScaleWin free →

Frequently asked questions

What is the formula for selling price?

There are two. From a markup: Selling Price = Cost × (1 + Markup%). From a target margin: Selling Price = Cost ÷ (1 − Margin%). A $40 item at 25% markup sells for $50. The same item at a 25% margin sells for 40 ÷ 0.75 = $53.33.

How do I calculate selling price from cost and margin?

Divide cost by (1 minus the margin as a decimal). A product costing ₹500 with a 40% margin target sells for 500 ÷ 0.60 = ₹833.33. Check it: profit of ₹333.33 divided by ₹833.33 is 40%. Do not add 40% to cost, because that gives a 40% markup, not a 40% margin.

What is the markup formula?

Markup % = (Selling Price − Cost) ÷ Cost × 100. If an item costs $12.50 and sells for $19.99, the markup is 7.49 ÷ 12.50 × 100 = 59.9%. To add a markup to a cost, multiply by (1 + markup), so a 30% markup means cost × 1.30.

Is a 100% markup the same as a 50% margin?

Yes. A 100% markup doubles the cost, so a ₹500 item sells for ₹1,000. The profit is ₹500, which is 100% of cost (markup) but 50% of price (margin). To convert any markup to margin, use Margin = Markup ÷ (1 + Markup), in decimals.

How do I find selling price when profit % is given?

Use SP = CP × (100 + Profit%) ÷ 100. A cost price of ₹1,25,000 with 20% profit gives SP = ₹1,50,000. Textbook profit % is profit on cost, which is markup, so that 20% profit is only a 16.7% margin on the selling price.

Should margin be calculated before or after GST or VAT?

Work out margin on the price before tax. GST and VAT belong to the government, not to you. If your price includes tax, such as an Indian MRP or a UK shelf price, divide by (1 + tax rate) first. At 18% GST, a ₹1,180 price is ₹1,000 of revenue.

Why can't the calculator reach my target margin?

Your target margin plus the percentage costs (payment fees and ad cost as a share of price) add up to 100% or more. Then no price works, because each extra unit of price goes to those percentages. Lower the target, reduce ad cost per order, or cut percentage fees until the total is under 100%.

Does Shopify's margin include shipping and payment fees?

No. Shopify works out margin from price and cost per item, and cost per item is meant to exclude taxes, shipping and other costs. So the margin in Shopify admin is gross. Add shipping, gateway fees and ad cost in this calculator's optional fields to see what you really keep.

Related free tools