You want the cookie (or piece of cake, or chocolate bar.) But you’re not sure you want to run three miles to burn it off. Well, what if you knew you didn’t have to run three miles, just one? This nifty calorie-counting tool will calculate exactly how long you have to sweat to burn off your favorite treat.

This is how it works: Plug in a food in the “food name” search bar, for example, Hostess Cupcakes. Then plug in your activity, such as “climbing stairs.” Then enter your weight. The calculator will do the rest.