calculator.onl
Categories50

Buy X get Y free discount calculator

Turn a buy-X-get-Y-free offer into a basket price and an effective discount, including leftover items.

A worked example

Add the sixth item to a buy-two-get-one-free basket. Compare the number paid for with the total taken home.

Items paid for5Free items earned2Basket total$60.00Effective discount28.57%
USD
Identical price for each eligible item.

Number of items you must pay for in each complete offer group.

Number of extra items free in each complete group. Can be zero.

Total physical items taken, including the items you expect to receive free.

Updates as you type

Use a dot or comma for decimals. No thousands separators. Currency selection changes the display unit, not an exchange rate.

YOUR RESULT

Free items earned

2

Calculated from your inputs

Items paid for5
Basket total$60.00
Effective discount28.57%
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

The ninth item completes another promotional group in this basket and earns a free unit. For a related calculation, try Discount cap calculator.

What to enter

InputWhat it meansExample value
Price per itemIdentical price for each eligible item.12 USD
Items to pay for per offerNumber of items you must pay for in each complete offer group.2
Free items per offerNumber of extra items free in each complete group. Can be zero.1
Total items in the basketTotal physical items taken, including the items you expect to receive free.7

How the calculation works

  1. Enter one item's price and the offer's paid and free quantities.
  2. Enter the total number of items in your basket, including any free items.
  3. See complete offer groups, leftover paid items and the effective basket discount.
The formulagroups = floor(quantity / (buy + free)); free items = groups × free; paid items = quantity − free items

A worked example

Change “Total items in the basket” from 7 to 9 and keep the other inputs from the worked example. The value for “Free items earned” goes from 2 to 3.

Example you can load

What to enter
Result for this example · Free items earned2

This is a fixed example; changing the form above does not change these numbers.

Assumptions & limits

All items must have the same price and qualify for the same repeating offer. Only complete groups earn free items. Leftovers are paid at full price. This does not model cheapest-item-free promotions across mixed prices. Amounts are calculated in cents.

Frequently asked questions

How does buy 2 get 1 free work for seven items?

Seven items contain two complete groups of three and one leftover. Two items are free and five are paid.

Is buy 2 get 1 free always a 33.33% discount?

Only for complete groups at equal prices. Paid leftovers reduce the effective discount across the entire basket.

Can I use different product prices?

No. Use this model for identical prices. Mixed baskets with a cheapest-item-free rule need item-by-item pricing.