I add a free gift to every order; why won't the calculator give me a margin for it?

Because the gift's price is zero, and margin is profit divided by price, so there is nothing to divide by. The calculator says undefined on purpose. The useful question is not 'what is the gift's margin?' but 'how much margin does the gift take from the product it ships with?'.

Published · 3 min read

What the calculator shows for the gift alone

You put a small perfume sample costing 15 into every order. Enter it in the Profit margin calculator as its own item with a cost of 15 and a price of 0:

Worked example

A loss of 15.

Margin: undefined, with a note that the selling price is zero.

Markup of -100%.

Each figure is correct. The loss of 15 is what each gift costs you. The markup of -100% says you 'sell' at a full discount on cost. Margin does not exist because there is no sale at all. A gift is not a product to measure by margin; it is a cost that lands on another product.

The right calculation: add the gift to the order's cost

  1. Pick the product the gift ships with, or your average order if the gift goes in every order.
  2. Enter its cost and price once without the gift.
  3. Then add the gift's cost to the cost field and leave the price unchanged.
  4. The gap between the two margins is the gift's real price in percentage terms.
Worked example

Oud oil costing 70 and selling for 129: profit 59, margin 45.74%.

With the gift (cost 70 + 15 = 85) at the same price: profit 44, margin 34.11%.

The gift took 15 from every order, more than a quarter of the profit and about 11.6 points of margin.

Is the gift worth that?

The calculator tells you the price precisely; the decision depends on what the gift brings back. If the sample makes customers return for the full size, it may be cheaper than an ad that finds a new buyer. If it is a habit nobody notices, you are giving away a quarter of your profit for nothing.

  • Try a cheaper gift: a sample costing 6 instead of 15 changes the result a lot. Enter it and compare.
  • Make the gift conditional on a minimum order value, so it goes on the orders that can carry it.
  • Compare the gift with a discount of the same value. Taking 15 off a price of 129 has the same effect on profit, and the Discount calculator gives you its percentage. Which would your customers value more?

Count what comes with the gift

A gift costs more than its purchase price. If it needs a small pouch or a printed thank-you card, add those to the figure before you put it on the product's cost.

Common questions

Why not show a margin of zero instead of undefined?

Because zero means something: a sale with no profit and no loss. Here there is no sale, and showing zero would mislead.

What if the gift goes with orders of different values?

Use your store's average order value and average order cost, or your cheapest product to see the worst case.