There’s a new online calculator to help you determine how much Halloween candy you should buy to avoid leftovers or running of candy out early. The formula—created by delivery company Shipt and Mars Wrigley uses the following calculation to estimate how much candy you should buy: (T*K*G) + (D*F*S) = Candy Pieces divided by 30…