Skip to content
FrAIFlow
English

Blog

A discounted pack can cost more once shipping is included

Written and maintained by FrAIFlowPublished Report an error

A 20% discount made pack A look cheaper in our test. It contained two 500 g items and cost 10 before discount. Pack B contained 1 kg and cost 9. With free delivery, A cost 8 per kilogram. Adding a shipping charge of 2 changed A to 10 per kilogram, and B became the cheaper option. The product and discount had not changed; the delivered cost had.

Pack A costs 8 per kilogram without shipping and 10 with shipping; pack B costs 9 per kilogram.
The same packs change order when A’s shipping rises from 0 to 2. Values are from our controlled verification.

Compare the quantity you actually receive

Enter the price for the whole pack, the amount in one item, and the number of items in that pack. Two 500 g bags contain 1,000 g. Entering 1,000 g and a count of two would double the quantity a second time and halve the reported unit price. This is an input mistake that a plausible-looking result will not reveal.

FrAIFlow converts compatible mass units to grams and volume units to millilitres. Items use a count. A litre and a kilogram are not interchangeable without knowing the product’s density, so the calculator rejects that comparison. Keep all prices in the same currency and use the same tax basis.

Change delivery before choosing the winner

For the published fixture, the calculation is (10 × 0.8 + 2) ÷ (500 × 2) = 0.01 per gram for A. B is 9 ÷ 1,000 = 0.009 per gram. Those are 10 and 9 per kilogram respectively. The discount applies to the pack price; shipping is added afterwards. A delivery charge that is also discounted needs an adjusted input.

We also set A’s shipping to zero and repeated the calculation. A then won at 0.008 per gram. Setting B’s price to 10 with A’s original shipping produced a tie. These are separate test conditions, not prices collected from a shop. The downloadable data keeps each condition distinct.

Use the result without buying more than you need

The lowest unit price answers one question: which offer supplies the cheapest comparable quantity? It does not decide whether the larger purchase fits your budget or whether you will use it before it expires. Check the total payment beside the unit price. Shared delivery for an order needs to be allocated consistently rather than added in full to every item.

Use A and B for two offers; add C when a third pack is relevant. Leave both C’s price and amount blank to omit it. Press Calculate to record a condition, change one cost, and record the next. Comparing those records makes the reason for a changed winner visible. Device saving is optional; export the record if you need a copy outside this browser.

Recorded input and result

Reproducible example
How this calculation worksReproducible example
Pack price A · Amount per item × Items in pack10 · 500 g × 2
Discount % A · Shipping A20% · 0 → 2
Cost per base unit A0.008/g → 0.010/g
Cost per base unit B0.009/g
Lowest unit priceA → B

Verification and scope

Verified with the current FrAIFlow calculation engine and the browser workflow. Zero quantities, incompatible units and discounts above 100% were rejected. The example uses invented prices and no retailer-specific tax, coupon or delivery rules.

Actual calculator screen · English interface
Actual calculator screen · English interface · Unit price and pack comparison
The image shows the English interface. The article, diagram and linked calculator are available in your selected language.
How we checked it and useful sources

Start with a specific failure, keep the original, change one relevant condition, and reopen the output. We distinguish our controlled tests from other people's reports and from instructions based on documentation.

How these guides are made

Did this help you solve your problem?

We send your selected answers and page information, never your files or input contents. Feedback is kept for up to 30 days. Privacy

Did this help you solve your problem?