# Buy X Items Get Y Items Free ## How this coupon works **Here** Buy items(X) is the minimum number of items eligible for getting more items for free Get Free Items(Y) is the number of items you will get for free Minimum Cart Value(MCV) (optional) is the minimum price of the cart items **Example** Buy 2 items, get 2 items free. Let’s say Item 1 costs Rs. 2000, Item 2 costs Rs. 1500 and Item 3 costs Rs. 3000 and Item 4 costs Rs. 1000 **Formula** Coupon Discount = Ymin(X+Y) **Where** CV = Cart value of X+Y items X = mandatory number of items Y = number of items for free Ymin(X+Y) = Sum(Y Minimum price in X+Y items) **In this example** CV = (2000+1500+3000+1000) = 7500 X = 2 Y = 2 **Therefore** Ymin(X+Y) = Sum(2 Minimum price in 4 items) Ymin(X+Y) = Sum(1500, 1000) Ymin(X+Y) = 2500 div div div Cart value div 7500 div div Coupon Discount div -2500 =========================== div div TOTAL div 5000