We don’t like to think about how junk food affects our health; we know it's bad for us, but we often look the other way for the sake of comforting calories and satisfying sweets. Exercise can help us to eliminate those extra calories — we just need to work out for the right amount of time.

That time will depend based on the nature of your indulgence. According to guidelines from the U.S. Department of Agriculture, women aged 19 to 30 should consume 1,900 to 2,400 calories per day while men of the same age should consume 2,400 to 3,000 calories, relative to how active they are. If your preferred junk food isn't listed below, you can determine how much exercise you need to burn off the calories using this calculator:

Soft Drinks

A 330 ml can of Coca-Cola has 139 calories. This small portion of our daily caloric intake does not take much exercise to eliminate. Men require 12 minutes of cardio or 16 minutes of weightlifting while women need 14 minutes of cardio or 19 minutes of weightlifting to burn off the calories from a can of Coke, according to the Daily Mail. The more calories junk food has, the more noticeable the difference between the time men and women must spend exercising to eliminate those calories.

Fried Chicken

Three KFC chicken pieces have 726 calories, which makes up over a third of women’s recommended daily caloric intake. Women can get rid of these calories by doing an hour and 15 minutes of cardio or one hour and 41 minutes of weightlifting. Comparatively, men can achieve the same effect by doing an hour and three minutes of cardio or an hour and 24 minutes of weightlifting, according to Daily Mail.

Big Mac

McDonald’s Big Mac contains 490 calories, containing 19.6 percent of a male’s daily caloric intake and 24.5 percent of a woman’s. It would take 42 minutes of cardio for men and 51 minutes for women to burn off the calories in a Big Mac. If you prefer weightlifting over cardio, men can eliminate the calories from a Big Mac in 57 minutes while woman can achieve this in 68 minutes, according to Daily Mail.

Domino’s BBQ Meatlovers Small Pizza

Despite being a small pizza, this creation from Dominos contains 966 calories. The pizza contains nearly half of women’s recommended daily intake and 40 percent of men’s. You can get rid of these calories by running for an hour and 20 minutes, swimming for an hour and 50 minutes, yoga for two hours and 50 minutes, or walking for three hours and 40 minutes, reported the Huffington Post.

Cake

A Tesco chocolate fudge cake weighs 450 grams and carries 1,710 calories. This is just short of a woman’s recommended daily caloric intake and over two-thirds of men’s. Expectedly, the time spent exercising to burn off the calories from this cake may make you never want to eat cake again.

Men need two hours and nine minutes of cardio or three hours and 19 minutes of weightlifting to get rid of the cake’s calories. To compare, women must exercise noticeably longer than men; they have to do cardio for two hours and 58 minutes or weightlift three hours and 57 minutes, according to the Daily Mail.

Read more: Junk Food Rots Your Brain, Increases Risk of Dementia