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
- Choose a mode: price from markup %, price from target margin %, or check a price you already charge.
- 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.
- Enter your markup %, target margin % or current price.
- 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.
- Pick a currency (₹, $, £, €). Rupee amounts use the Indian number format (1,00,000) and other currencies use the Western format.
- 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).
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:
| Method | Price | Real margin |
|---|---|---|
| Wrong: 50 + (50 × 0.30) | $65.00 | 15 ÷ 65 = 23.1% |
| Right: 50 ÷ 0.70 | $71.43 | 21.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):
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
- A batch costs ₹1,25,000 and you want 20% profit.
- SP = 1,25,000 × 120 ÷ 100 = ₹1,50,000.
- Profit = ₹25,000. As a margin, that is 25,000 ÷ 1,50,000 = 16.7%.
- At a 10% loss: SP = 1,25,000 × 90 ÷ 100 = ₹1,12,500.
- 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 %
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.
For example, a 50% markup gives 0.5 ÷ 1.5 = 33.3% margin. A 40% margin needs 0.4 ÷ 0.6 = 66.7% markup.
| Markup | Multiplier | Margin |
|---|---|---|
| 20% | 1.2x | 16.7% |
| 25% | 1.25x | 20% |
| 33.3% | 1.33x | 25% |
| 50% | 1.5x | 33.3% |
| 66.7% | 1.67x | 40% |
| 100% | 2x | 50% |
| 150% | 2.5x | 60% |
| 200% | 3x | 66.7% |
| 300% | 4x | 75% |
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.
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.
- Add the percentages: 30% + 2% + 20% = 52%. What is left: 1 − 0.52 = 0.48.
- Price = (500 + 80) ÷ 0.48 = ₹1,208.33.
- 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.
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?
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
| Price | Cost + shipping + 2% fee | Contribution | Break-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
- Pricing to a markup when you meant a margin. A 30% markup is only a 23.1% margin.
- Counting GST/VAT as revenue. A margin worked out on a tax-inclusive price looks bigger than it really is.
- Forgetting payment-gateway and shipping costs. Shopify's admin margin leaves them out.
- Judging ads by any ROAS above 1x. Break-even is 1 ÷ contribution margin, which is often 2x or more.
- 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.