← All calculators

Business

Margin and Markup Calculator

If you sell at this price, what do you actually keep per sale? Fees, shipping and ads are already taken out.

1

What the customer pays for the item.

2
3
%

Margin is profit as a share of the selling price. It must be below 100%.

4
%

Markup is how much you add on top of cost.

5
%

Add the sales fee and the payment fee. Use the rates on your own settlement sheet; they vary by tier, channel and category.

6

For free shipping, the full cost; if the customer paid part of it, only the difference.

7

Monthly ad spend divided by units sold.

More accurate: coupons, packaging, returns, VAT
8

Only the part you fund, not the whole customer discount. It is taken off the price and fees are charged on what is left.

9
10
%
11

Round-trip shipping plus disposal or repacking.

12Include VAT?

Estimate for a general VAT taxpayer, assuming every cost has a tax invoice. For reference only.

Need something else? Price from a target margin · margin · markup
What do you need?

Your result appears here once every blank is filled

How to use it

  1. Choose what you want to find at the top: margin from cost and price, or a price from a target.
  2. Enter the cost and the other value.
  3. Profit, margin and markup are shown together.

What this calculates

Margin is profit as a share of the selling price. Markup is profit as a share of the cost. The same profit gives different numbers: with a cost of 80 and a price of 100, the profit of 20 is a 20% margin and a 25% markup.

The formulas

  • Online profit = price − fees (price × fee rate) − cost − shipping − ads − packaging − returns (rate × cost per return)
  • VAT estimate (general taxpayer) = (price − fees − cost − shipping − ads − packaging) ÷ 11, taken off the profit again (assumes tax invoices on all costs)
  • Break-even price = (cost + shipping + ads + packaging + returns) ÷ (1 − fee rate)
  • Ad budget cap = current ads + profit (the ad cost at which profit is zero)
  • Profit = price − cost
  • Margin = profit ÷ price × 100
  • Markup = profit ÷ cost × 100
  • Price from a target margin = cost × 100 ÷ (100 − margin)
  • Price from a target markup = cost × (100 + markup) ÷ 100
  • Exact fractions are used; rounding happens only for display.

Worked examples

  • Price 25,000, cost 12,000, fees 5%, shipping 3,000, ads 1,500 → 7,250 left per sale, a 29% margin
  • Cost 80, price 100 → profit 20, margin 20%, markup 25%
  • Cost 70 with a 30% margin → price 100 (markup 42.86%)
  • Cost 70 with a 50% markup → price 105 (margin 33.33%)
  • Cost 100 with a 50% margin → price 200 (markup 100%)

Frequently asked questions

What fee rate should I enter?

Add up the sales fee and payment fee from your own settlement sheet. Fees vary with seller tier, traffic source and category, and marketplaces change them, so the calculator leaves the rate to you. Using only the headline sales fee overstates what you keep.

What is the ad budget cap?

The ad cost per sale at which your profit hits zero. Spend more and every sale loses money. If you have a target margin, the cap that protects it is lower.

How do I enter returns?

Enter the return rate and what one return costs (round-trip shipping, disposal or repacking). It is spread over each sale as an average. Leave blank if unknown.

Is the VAT figure exact?

No. It is an estimate for a general taxpayer who has tax invoices for every cost. Simplified taxpayers or costs without invoices will differ. Check filings with a tax professional.

What is the difference between margin and markup?

They divide the profit by different things. Margin divides by the selling price and markup divides by the cost, so for the same profit the markup is always the larger number.

Is a 30% margin the same as cost × 1.3?

No, that is a 30% markup. A 30% margin means price = cost ÷ 0.7. With a cost of 70, cost × 1.3 gives 91, but cost ÷ 0.7 gives 100.

Can a margin be 100%?

Only if the cost is zero, so the calculator accepts margins below 100%. A markup can go above 100%.

What about taxes and fees?

They are not included. Add sales tax, card fees and shipping to the cost to get closer to your real profit.

What is a good margin?

It depends on the industry. The same margin can leave very different amounts of money depending on sales volume, fixed costs and fees, so compare with your industry average and your own costs. One number alone cannot say good or bad.

What if the selling price already includes tax?

Sales tax is not your profit. If the price includes tax, first divide it by 1 plus the tax rate to get the price before tax, then work out the margin from that.

How much does a discount cut my margin?

Margin is based on the selling price, so the discount comes straight off your profit. With a cost of 80 and a price of 100 (a 20% margin), 10% off gives a price of 90, a profit of 10 and a margin of about 11.1%.

How do I set a price from my cost and a target margin?

Price = cost ÷ (1 − target margin). With a cost of 70 and a 30% target margin, 70 ÷ 0.7 = 100.

Are my numbers stored?

No. Everything is calculated in your browser and nothing is sent to a server or saved.

Last updated 2026-12-02 · For reference only; not investment, tax or legal advice.

Try these next

How much will my savings grow?Compound Interest CalculatorHow many times to reach my target?Investment Goal CalculatorWhat's my new average price?Average Price CalculatorDaily Spending Allowance CalculatorDaily Spending Allowance CalculatorGrocery Basket Comparison CalculatorGrocery Basket Comparison CalculatorBreak-Even CalculatorBreak-Even CalculatorBulk vs Small Pack CalculatorBulk vs Small Pack CalculatorBundle Discount CalculatorBundle Discount CalculatorCapacitor Energy and Reactance CalculatorCapacitor Energy and Reactance CalculatorUS Capital Gains Tax Calculator (2026)US Capital Gains Tax Calculator (2026)Car Loan and Lease CalculatorCar Loan and Lease Calculator52-Week Savings Challenge Calculator52-Week Savings Challenge CalculatorAir Conditioner Capacity CalculatorAir Conditioner Capacity CalculatorBrick and Block Quantity CalculatorBrick and Block Quantity CalculatorConcrete Volume CalculatorConcrete Volume CalculatorFlooring Box CalculatorFlooring Box CalculatorInsulation Board CalculatorInsulation Board CalculatorMoulding and Skirting CalculatorMoulding and Skirting CalculatorPaint Quantity CalculatorPaint Quantity CalculatorPlaster Mortar Quantity CalculatorPlaster Mortar Quantity CalculatorRebar Weight and Count CalculatorRebar Weight and Count CalculatorRoof Area CalculatorRoof Area CalculatorStair Dimension CalculatorStair Dimension CalculatorSteel Section Weight CalculatorSteel Section Weight CalculatorTile Quantity CalculatorTile Quantity CalculatorWallpaper Quantity CalculatorWallpaper Quantity CalculatorWater Tank Capacity CalculatorWater Tank Capacity CalculatorCooking Weight Change CalculatorCooking Weight Change CalculatorCost Per Use CalculatorCost Per Use CalculatorCutting Speed and Spindle RPM CalculatorCutting Speed and Spindle RPM CalculatorDate CalculatorDate CalculatorDeposit Interest CalculatorDeposit Interest CalculatorDiscount CalculatorDiscount CalculatorDividend CalculatorDividend CalculatorDoubling Time CalculatorDoubling Time CalculatorSplit the Bill CalculatorSplit the Bill CalculatorAWG ConverterAWG ConverterBeam Deflection CalculatorBeam Deflection CalculatorEngineering Unit ConverterEngineering Unit ConverterFree Fall CalculatorFree Fall CalculatorGear Ratio CalculatorGear Ratio CalculatorHeat Energy CalculatorHeat Energy CalculatorHydraulic Cylinder Force CalculatorHydraulic Cylinder Force CalculatorIdeal Gas Law Calculator (PV = nRT)Ideal Gas Law Calculator (PV = nRT)Kinetic & Potential Energy CalculatorKinetic & Potential Energy CalculatorLED Resistor CalculatorLED Resistor CalculatorMetal Weight CalculatorMetal Weight CalculatorMolarity & Dilution CalculatorMolarity & Dilution CalculatorMole CalculatorMole CalculatorForce Calculator (F = ma)Force Calculator (F = ma)Ohm's Law CalculatorOhm's Law CalculatorpH CalculatorpH CalculatorProjectile Motion CalculatorProjectile Motion CalculatorQuadratic Equation SolverQuadratic Equation SolverRC / RL Time Constant CalculatorRC / RL Time Constant CalculatorResistor Color Code CalculatorResistor Color Code CalculatorRight Triangle CalculatorRight Triangle CalculatorScientific CalculatorScientific CalculatorSeries & Parallel CalculatorSeries & Parallel CalculatorSlope CalculatorSlope CalculatorStress & Strain CalculatorStress & Strain CalculatorThree-Phase Power CalculatorThree-Phase Power CalculatorTorque & Power CalculatorTorque & Power CalculatorVoltage Divider CalculatorVoltage Divider CalculatorVoltage Drop CalculatorVoltage Drop CalculatorWave Calculator (Wavelength & Frequency)Wave Calculator (Wavelength & Frequency)US Federal Income Tax Calculator (2026)US Federal Income Tax Calculator (2026)Feed Rate and Machining Time CalculatorFeed Rate and Machining Time CalculatorUS FICA Tax Calculator (2026)US FICA Tax Calculator (2026)Coupon and Points Final Price CalculatorCoupon and Points Final Price CalculatorFormwork Area CalculatorFormwork Area CalculatorCoffee and Subscription Yearly Cost CalculatorCoffee and Subscription Yearly Cost CalculatorInflation CalculatorInflation CalculatorLoan Payment CalculatorLoan Payment CalculatorCost per Meal CalculatorCost per Meal CalculatorIngredient Mix Ratio CalculatorIngredient Mix Ratio CalculatorNet Worth CalculatorNet Worth CalculatorPercentage CalculatorPercentage CalculatorPneumatic Cylinder Force and Air Use CalculatorPneumatic Cylinder Force and Air Use CalculatorFood Trimming Yield CalculatorFood Trimming Yield CalculatorLoan Prepayment CalculatorLoan Prepayment Calculator401(k) and IRA Contribution Limit Calculator (2026)401(k) and IRA Contribution Limit Calculator (2026)ROI and CAGR CalculatorROI and CAGR CalculatorRational Method Runoff CalculatorRational Method Runoff CalculatorSales Tax and VAT CalculatorSales Tax and VAT CalculatorSavings Rate CalculatorSavings Rate CalculatorMonthly Savings CalculatorMonthly Savings CalculatorAltitude and Pressure CalculatorAltitude and Pressure CalculatorBuoyancy CalculatorBuoyancy CalculatorStellar Distance CalculatorStellar Distance CalculatorCircular Motion and Centripetal Force CalculatorCircular Motion and Centripetal Force CalculatorCollision CalculatorCollision CalculatorCoulomb's Law CalculatorCoulomb's Law CalculatorDoppler Effect CalculatorDoppler Effect CalculatorEarthquake Magnitude and Energy CalculatorEarthquake Magnitude and Energy CalculatorEmpirical and Molecular Formula CalculatorEmpirical and Molecular Formula CalculatorChemical Equation BalancerChemical Equation BalancerFluid Flow CalculatorFluid Flow CalculatorFriction Force CalculatorFriction Force CalculatorGravitational Force CalculatorGravitational Force CalculatorKepler Orbital Period CalculatorKepler Orbital Period CalculatorLight-Year and Astronomical Distance CalculatorLight-Year and Astronomical Distance CalculatorMagnetic Force CalculatorMagnetic Force CalculatorMass Concentration CalculatorMass Concentration CalculatorMolar Mass CalculatorMolar Mass CalculatorMomentum and Impulse CalculatorMomentum and Impulse CalculatorPendulum Period CalculatorPendulum Period CalculatorPercent Yield CalculatorPercent Yield CalculatorPressure CalculatorPressure CalculatorSolution Mixing Concentration CalculatorSolution Mixing Concentration CalculatorSpring (Hooke's Law) CalculatorSpring (Hooke's Law) CalculatorStar Magnitude CalculatorStar Magnitude CalculatorSurface Gravity CalculatorSurface Gravity CalculatorThermal Expansion CalculatorThermal Expansion CalculatorVelocity and Acceleration CalculatorVelocity and Acceleration CalculatorWork and Power CalculatorWork and Power CalculatorSmall Business Monthly Profit CalculatorSmall Business Monthly Profit CalculatorShrinkflation Real Price Rise CalculatorShrinkflation Real Price Rise CalculatorStock Run-out Date CalculatorStock Run-out Date CalculatorStock Return CalculatorStock Return CalculatorSubscription Total CalculatorSubscription Total CalculatorTrip Budget CalculatorTrip Budget CalculatorUnit ConverterUnit ConverterUnit Price Comparison CalculatorUnit Price Comparison Calculator