# Buy X get Y calculator

> Free BOGO calculator. See the real discount of a buy X get Y offer, what the customer pays per unit, and your profit and margin on the set.

Free, no sign-up, runs in the browser: https://analify-ai.scalyax.ai/tools/bogo-calculator

See what a buy X get Y offer really costs you: the effective discount, the price per unit and your profit on the whole set.

## What it calculates

Buy one get one free sounds like 100% off, but the customer pays for one of two items, so it is a 50% discount. You still pay product cost on every item in the set. This calculator turns any buy X get Y offer into the discount, price per unit and margin you can compare with a normal sale.

## Formula

```
Effective discount = Y ÷ (X + Y)
Customer pays = X × price
Profit on the set = X × price − (X + Y) × cost
Margin after offer = Profit ÷ customer pays
```

## Worked example

Inputs:
- Buy (X): 1
- Get free (Y): 1
- Unit price: USD 40
- Unit cost: USD 14

Results:
- Effective discount: 50%
- Customer pays: USD 40
- Price per unit: USD 20
- Your profit on the set: USD 12
- Margin after the offer: 30%
- Profit on one unit at full price: USD 26

## What changes the result

Unit price at five values; every other input as in the example.

| Unit price | Your profit on the set | Margin after the offer |
| --- | --- | --- |
| USD 20 | -USD 8 | -40% |
| USD 30 | USD 2 | 6.7% |
| USD 40 (example) | USD 12 | 30% |
| USD 50 | USD 22 | 44% |
| USD 60 | USD 32 | 53.3% |

## How to read the result

If profit on the set is below profit on one full-price unit, the offer only makes sense if it brings customers who would not have bought otherwise.
Compare the effective discount with a simple percentage off. Customers often value the free item more than the same discount.

## Questions

**Is buy one get one free a 50% discount?**
Yes. The customer gets two items for the price of one, so each item costs half.

**Is BOGO better than a percentage discount?**
It moves more units, so it suits stock you want to clear. Compare your profit on the set with the profit a percentage discount leaves.

**Does BOGO lose money?**
It loses money when your product cost is more than half the price. Check profit on the set in the calculator.

**Do you store what I enter?**
No. The calculation runs in your browser and nothing is sent to Analify.

## Use your real numbers

Analify reads prices, product costs and orders from Shopify, so you can compare offer periods with normal weeks in Blended Profit. Analify reads 2 of these 4 inputs live. Try the calculator: https://analify-ai.scalyax.ai/tools/bogo-calculator

More free ecommerce calculators: https://analify-ai.scalyax.ai/tools
