Skip to main content

Margin and selling price calculator

Enter your price, your costs and your refused-parcel rate: the calculator gives your net margin per delivered order, your break-even price and the selling price to show to reach your target margin. Free, no sign-up, built for cash on delivery.

Price and product
Delivery and returns
Ads and fees
VAT included in the price

Pick 0 % if you do not charge VAT.

Your result

Net margin per delivered order

25 TND 28.1 % of the price excl. VAT

Comfortable margin: the product can absorb higher ad costs or more refusals.

Price minus product cost 57 TND

The figure most sellers think they make.

Where each delivered order goes

  • Product 32 TND
  • Delivery 8 TND
  • Packaging 2 TND
  • Ads 18 TND
  • Refused parcels 4 TND
  • Margin 25 TND
Break-even price (incl. VAT)
64 TND
Suggested price (incl. VAT)
89 TND

Rounded up to the next price ending in 9 that reaches your target.

Maximum ad spend per order
32.25 TND

Above this, every delivered order loses money.

How the calculation works

With cash on delivery you pay for ads and fees on every order you ship, but you only collect on delivered orders. The calculator therefore spreads every cost over delivered orders.

Item Per delivered order
Price excl. VAT Price incl. VAT ÷ (1 + VAT rate)
Ads Ad spend per order ÷ share of parcels delivered
Refused parcels Cost of a refusal × refusal rate ÷ share delivered
Per-order fee Fee ÷ share of parcels delivered
Net margin Price excl. VAT - product - delivery - packaging - ads - refusals - fees

Example: at 25 % refusals, a product sold for 89 TND and bought for 32 TND does not earn 57 TND but 25 TND, once delivery, packaging, 18 TND of ads and 4 TND of refused parcels are taken off.

The full reasoning, line by line, with the monthly table to track, is in our guide how to calculate ecommerce margin in Tunisia.

How to read the result

  • Net margin under 15 TND: any rise in ad cost or refusals pushes you into a loss.
  • Break-even price: the floor. Below it, selling more means losing more.
  • Maximum ad spend: the cost per order not to exceed in your ads manager.
  • Refusal rate: move it by 10 points to see its effect. It is often the most profitable lever.

Frequently asked questions

How do I work out a selling price from the purchase price?

Add up every cost per delivered order (product, delivery, packaging, ads, refused parcels, fees), add the net margin you want, then multiply by 1 + the VAT rate if you charge VAT. Round to the nearest price point (49, 79, 89, 99). Multiplying the purchase price by 2 or 3 ignores your real costs.

What is the difference between margin and markup?

Margin is the amount left after all costs, often shown as a share of the selling price. Markup is the same amount shown as a share of the purchase cost. The calculator shows margin as a share of the price excluding VAT.

Should margin be calculated with or without VAT?

Always without: the VAT you collect is not yours, you pay it back. If you charge VAT, pick your rate (7, 13 or 19 % in Tunisia) and enter your price including VAT; the calculator removes VAT before working out the margin. Otherwise pick 0 %.

Why does the refusal rate change the margin so much?

A refused parcel costs a round trip and used up ad spend without bringing anything in. Those losses are spread over fewer delivered orders as the rate rises: going from 25 % to 45 % refusals drops the example margin from 25 TND to about 12.6 TND.

How do I estimate ad spend per order?

Divide your monthly ad budget by the number of orders confirmed and shipped in the same month. The calculator then spreads that cost over delivered orders only.

Does the calculator store my figures?

No. Everything is calculated in your browser; no figure is sent or saved.