Free Keto Tool

Intermittent Fasting + Keto Calculator

Plan your IF + keto protocol with personalized daily macros, eating window timing, and per-meal targets. Supports 14:10, 16:8, 18:6, 20:4, OMAD, and 5:2. Free - no signup required.

By MeKeto Editorial · Last updated October 2026

IF protocol

Wake time

Eating window start

Sex

Age

yrs

Weight

lbs

Height

ft
in

Activity level

Goal

IF experience

Body fat % (opt.)

5-60%. Sets protein from measured lean mass

%

The list starts here

MeKeto has no newsletter yet. Nothing has been sent, so there is no archive to catch up on. Leave your address and you are on the list from the first message, whenever new calculators and keto guides are worth writing up.

We store your address and where on the site you signed up. The privacy policy has the details. Ask to be removed at any time at privacy@meketo.com.

How to use this calculator

01

Choose your IF protocol

Select from 14:10, 16:8, 18:6, 20:4, OMAD, or 5:2. Not sure? 14:10 or 16:8 are the usual places to start.

02

Set your eating window

Enter your wake time and when you want to start eating. The calculator auto-suggests a window start based on your protocol.

03

Get your plan

See a visual 24-hour timeline, your daily keto macros, per-meal breakdown, and protocol-specific tips.

Related calculators

Keep learning

Why combine intermittent fasting with keto?

Keto and intermittent fasting both keep insulin low for long stretches. Keto does it through what you eat, by cutting carbohydrate. Fasting does it through when you eat, by leaving a long gap each day with no food. Many people combine them because they fit together easily: once hunger settles on keto, skipping a meal often feels manageable.

For weight loss, the main benefit of fasting is that it can make it easier to eat less overall. In trials comparing time-restricted eating with ordinary calorie restriction at similar intakes, weight loss has generally been similar, so the eating window is a tool for managing intake, not an extra fat-burning effect. Fasting also lowers liver glycogen and raises ketone levels, which may help some people reach ketosis a little sooner.

Common IF protocols with keto

14:10 and 16:8 - the usual starting points

14:10 means a 14-hour fast and a 10-hour eating window, for example 8am to 6pm; it is the gentlest option here. 16:8 narrows the window to 8 hours, for example noon to 8pm. Sleep covers a large part of either fast, so 16:8 usually means skipping one meal. Both are sensible first steps.

18:6 - a longer window

Extending the fast by two hours (for example eating 1pm to 7pm) suits some people once 16:8 feels easy. It leaves less time to eat, which some find helpful for keeping intake down and others find makes protein harder to fit in.

20:4 and OMAD - advanced

20:4 and OMAD (one meal a day) leave a very short eating window. Some people like the simplicity, but hitting protein and micronutrient targets in one or two sittings takes planning. They are not a good fit for beginners, very active people who need reliable energy, or anyone with a history of disordered eating.

5:2 - flexible alternative

Two non-consecutive days of very low intake (500 kcal for women, 600 kcal for men) and five normal days. This calculator sets the normal days so that your weekly average matches your calorie goal, rather than adding the fast days on top of it. Some people find two hard days easier than a daily window. On keto, the normal days stay low-carb.

How to start IF + keto

If you are new to both, it is usually easier to start with keto alone. The first week or two bring the biggest changes: fluid and sodium shifts, possible keto flu, and a change in appetite. Adding a long daily fast on top of that makes the start harder and makes it difficult to tell which change is causing a problem.

A gentler approach: spend the first two weeks on keto with no fasting rule, focusing on electrolytes and protein. Once hunger has settled, start pushing breakfast later by an hour or two at a time until you reach a 16:8 pattern. If you take medication for diabetes or blood pressure, talk to your doctor before fasting, as doses may need adjusting.

Common IF + keto mistakes

  • ▸Breaking the fast with carbohydrates: A bagel, fruit, or sweetened yogurt as the first meal undoes the keto side of the plan. Breaking the fast with protein and fat (eggs, fish, avocado, cheese) keeps you on track and tends to keep you full through the window.
  • ▸Under-eating protein: Fitting all your food into a 6 to 8 hour window makes it easy to feel full before reaching your protein target. Make the first meal protein-forward and check your intake for the first couple of weeks.
  • ▸Ignoring electrolytes during the fast: Headaches, tiredness, or lightheadedness during the fast are often about sodium and fluid rather than hunger. Water with a pinch of salt or a sugar-free electrolyte drink helps many people.
  • ▸Starting with OMAD or very long fasts: Jumping straight to OMAD or 20:4 is a common reason people give up. Start with 16:8, settle in for a few weeks, then lengthen the fast only if you want to and it suits you.

What can you have during the fasting window?

Water: as much as you like, still or sparkling.

Black coffee: yes. Plain black coffee has almost no calories. Keep caffeine moderate, especially if it affects your sleep.

Plain tea: yes. Green, black, and herbal teas without sweetener are all fine.

Electrolytes: yes. Salt in water or a sugar-free electrolyte product works. Avoid products with sugar, maltodextrin, or other added carbohydrate.

Coffee with butter or MCT oil: this adds a lot of calories, so strictly speaking it ends the fast. It has very little carbohydrate, so it will not stop ketosis, but those calories count toward your daily total. Whether it fits depends on why you are fasting.

Frequently asked questions

Many people find it easier to start keto first and add fasting after two to four weeks, once keto flu has passed and hunger has settled. Starting both at once is possible, but it stacks two big changes and makes it harder to tell what is causing any problems.

Black coffee has almost no calories and is generally considered fine during a fasting window. Adding cream, milk, or sweeteners adds calories, and how much that matters depends on why you are fasting. Black coffee, plain green tea, and plain black tea are the usual choices.

14:10 or 16:8 are the usual starting points: for example, eating between 8am and 6pm, or noon and 8pm. Sleep covers much of the fast, so 16:8 often feels like skipping one meal. Longer protocols such as 20:4 or OMAD make protein and calorie targets harder to reach in the eating window, so they are better left until you know how fasting suits you.

Electrolytes, creatine, and caffeine have little or no calories and are commonly taken during a fast. Fat-soluble vitamins (A, D, E, K) are better absorbed with food. Some supplements upset an empty stomach, and gummy vitamins usually contain sugar. Take prescription medicines as directed, and ask your doctor before changing when you take them.

Muscle loss depends mostly on how much protein you eat, how large your deficit is, and whether you do resistance training, more than on meal timing. Eat your full protein target in the eating window (about 0.7 to 1.0 g per pound of lean mass, or 0.6 to 1.0 g per pound of goal weight) and lift at least twice a week. Very short windows such as OMAD make that harder.

The first few days are usually the hardest. Water, black coffee, plain tea, and enough sodium help many people. Hunger tends to come in waves and pass. If you feel shaky, dizzy, or unwell rather than just hungry, eat. People on insulin or sulfonylureas should not fast without medical supervision because of the risk of low blood sugar.

It can. Fasting uses up liver glycogen and raises ketone levels, so adding a fasting window may help some people reach nutritional ketosis (0.5 to 3.0 mmol/L) a little sooner. How much sooner varies a lot with activity, body size, and what you ate before. A blood ketone meter is the only way to know for you.

Yes, many do. Start with a gentle window such as 14:10 or 16:8 and make sure total calories stay adequate. If your periods become irregular, your sleep worsens, or energy drops, shorten or stop fasting and talk to your doctor. Fasting is not recommended during pregnancy or breastfeeding.

Sources

  1. Mifflin MD, St Jeor ST, Hill LA, et al. A new predictive equation for resting energy expenditure in healthy individuals. Am J Clin Nutr. 1990;51(2):241-247. Link
  2. McArdle WD, Katch FI, Katch VL. Exercise Physiology: Nutrition, Energy, and Human Performance. Lippincott Williams & Wilkins. Source of the Katch-McArdle lean-mass BMR equation (370 + 21.6 x lean mass in kg).
  3. Boer P. Estimated lean body mass as an index for normalization of body fluid volumes in humans. Am J Physiol. 1984;247(4 Pt 2):F632-F636. Link
  4. Morton RW, Murphy KT, McKellar SR, et al. A systematic review, meta-analysis and meta-regression of the effect of protein supplementation on resistance training-induced gains in muscle mass and strength in healthy adults. Br J Sports Med. 2018;52(6):376-384. Link
  5. Masood W, Annamaraju P, Khan Suheb MZ, Uppaluri KR. Ketogenic Diet. StatPearls. NIH National Library of Medicine, 2023. Link
  6. Phinney SD, Volek JS. The Art and Science of Low Carbohydrate Living. Beyond Obesity LLC, 2011. Protein, sodium and electrolyte guidance for a well-formulated ketogenic diet.
  7. American Diabetes Association Professional Practice Committee. Diagnosis and Classification of Diabetes: Standards of Care in Diabetes. Diabetes Care (published annually). Link
  8. Liu D, Huang Y, Huang C, et al. Calorie restriction with or without time-restricted eating in weight loss. N Engl J Med. 2022;386(16):1495-1504. Link
Medical Disclaimer: This calculator provides estimates for informational purposes only and does not constitute medical or nutritional advice. Results may vary based on individual factors. Consult a registered dietitian or qualified healthcare provider before making significant dietary changes, particularly if you have a medical condition, are pregnant or breastfeeding, or take prescription medications.

See the formulas behind this calculator, or read how this content is reviewed.