Short answer: An intermittent fasting calculator sets your eating window (24 − fasting hours) from your first or last meal, places the meals inside it and splits your daily target across them. Example: a 29-year-old man, 183 cm, 88 kg, lightly active, on a 20% cut has a 2,072 kcal target; on 16:8 from noon to 8 pm that is three 691 kcal meals with about 47 g protein each. Weight still follows calories versus TDEE.
General information, not medical advice. Check with a doctor or registered dietitian before a big diet change, especially if you have a medical condition, are pregnant, or have a history of disordered eating.
An intermittent fasting calculator is most useful when you treat fasting as a scheduling tool bolted onto your calorie math, not as a replacement for it. Fasting decides when you eat; your TDEE and the deficit you run decide whether the scale actually moves. This page lays out the common fasting windows in plain language, compares the popular protocols side by side, and shows exactly how a fasting schedule plugs into the target the calculator above produces. The calculator above handles the daily windows (14:10, 16:8, 18:6, 20:4 and OMAD). Pick a schedule, then anchor it on either your first meal or your last meal (useful if a fixed family dinner or an evening workout decides when eating has to stop), and choose how many meals go in the window. Enter sex, age, height, weight, activity and a goal, and it computes your calorie target itself: Mifflin-St Jeor BMR × your activity factor gives TDEE, and the goal (maintain, a 10–25% cut or a 10–20% bulk) sets the daily number. It then shows when the window opens and closes, when each meal falls, and how many calories and grams of protein each meal gets, at a protein setting you choose (it starts at 1.6 g/kg). There is no account or email step, and the full arithmetic is printed under the result, so you can check every number. If you came here hoping fasting is a metabolic cheat code, it isn't. But as a way to make a deficit easier to hold, it can help.
Intermittent Fasting Calculator
Your eating window, meal times, and calories and protein per meal from your own TDEE.
I want to set my…
Units
Sex
1.4–2.0 if you exercise (ISSN).
Eating window
12:00 PM – 8:00 PM
8 h eating, 16 h fasting
Meals
Meal 1, 12:00 PM770 kcal · 54 g protein
Meal 2, 8:00 PM770 kcal · 54 g protein
Daily target, moderate cut
1,540 kcal
TDEE 1,925 kcal; protein 109 g a day.
Fasting changes when you eat, not how much. Weight change still follows your daily calories versus your TDEE.
Every fasting protocol is just a rule about when your eating window opens and closes. Here are the ones people actually use, from gentlest to most demanding:
16:8 — Fast for 16 hours, eat within an 8-hour window (e.g. noon to 8 pm). The most popular and forgiving version. For most people it just means skipping breakfast and not snacking late. Easy to run every day indefinitely.
18:6 — Fast 18 hours, eat within 6 (e.g. 1 pm to 7 pm). A step up. You'll usually fit two meals plus maybe one snack. Slightly more appetite discipline required, but very doable.
20:4 (the 'Warrior' style) — Fast 20 hours, eat within a tight 4-hour window. Typically one large meal and one smaller one. This is where fitting enough protein and total calories into the window starts to take planning.
OMAD — One Meal A Day. A ~1-hour eating window, everything in a single sitting. Simple in theory, genuinely hard to eat enough quality food and adequate protein in one meal. Best treated as an occasional tool, not a default.
5:2 — Eat normally 5 days a week, and on 2 non-consecutive days eat a much smaller amount. This is calorie restriction on a weekly cycle rather than a daily eating window, so the window calculator above doesn't plan it; the zigzag calculator is the closer tool for an uneven week. Good for people who hate restricting every single day.
Notice that only 5:2 explicitly restricts calories. The daily-window versions (16:8 through OMAD) restrict *time* and assume you'll eat less as a side effect. That assumption is the whole ballgame — and it doesn't always hold.
How fasting actually interacts with your TDEE
Here's the part most fasting content skips. Your body burns roughly the same number of calories over a day whether you eat them in an 8-hour window or spread across 14 hours. Total Daily Energy Expenditure — your TDEE — is driven by your size, activity, and lean mass, not by the clock. So compressing your eating window does not, by itself, raise your metabolism in any meaningful way.
What a shorter eating window does do is make it harder to overeat. If you only have eight hours and two or three meals to work with, you tend to consume fewer total calories than you would with all-day grazing. That spontaneous reduction is where fasting's weight-loss reputation comes from. The comparison that matters is with an ordinary daily deficit, and there the evidence is plain: a 2018 meta-analysis of 11 randomized trials (Cioffi et al.) found intermittent and continuous energy restriction produced comparable weight loss. When the deficit is similar, the schedule adds little on its own.
Which means the honest way to use an intermittent fasting calculator is in two steps. First, get your TDEE and pick a deficit — say 15–20% below maintenance. The calculator above does that from your stats; if you want to compare deficit sizes and see how long a goal weight takes, the [calorie deficit calculator](/calorie-deficit-calculator) goes further. That number is your real target. Second, choose a fasting window that helps you land on that number without white-knuckling it. Fasting is the delivery mechanism; the calorie target is the destination. If you fast 20 hours a day but eat 3,000 kcal in your 4-hour window while your TDEE is 2,300, you will gain weight. The clock doesn't override the math.
Fasting protocols compared
A side-by-side to help you match a protocol to your life. 'Difficulty' is an editorial judgement based on how much has to fit into the window, not a measured score; your experience may differ.
Protocol
Eating window
Difficulty
Best for
16:8
8 hours daily
Easy
Beginners, anyone who naturally skips breakfast, sustainable long-term
18:6
6 hours daily
Moderate
People comfortable with 16:8 who want a bit more appetite control
20:4
4 hours daily
Hard
Experienced fasters, lower-activity days, those who dislike frequent meals
OMAD
~1 hour daily
Very hard
Short stretches, very simple schedules; risky for hitting protein targets
5:2
2 low-calorie days/week
Moderate
People who'd rather restrict hard twice a week than a little every day
There's no 'best' row here. The best protocol is the one you'll still be running in three months, which for most people is 16:8.
Fasting do's and don'ts
Most fasting mistakes aren't about the schedule — they're about what people do inside and around the window. A quick field guide:
DO drink water, black coffee, and plain tea during the fast. They're essentially calorie-free, and many people find a hot drink makes the morning stretch easier.
DO front-load protein when your window opens. Aim for at least about 1.6 g per kg of body weight across the window, the level above which the Morton et al. (2018) meta-analysis found little extra benefit for muscle; 1.4–2.0 g/kg is the ISSN range for exercisers (Jäger et al. 2017).
DO break longer fasts gently — a moderate protein-and-fiber meal rather than an enormous one. Ending a 20-hour fast with a 1,500-kcal blowout undoes the point.
DON'T assume fasting means you can ignore calories. If the scale isn't moving after three weeks, you're almost certainly eating at or above maintenance inside the window. Track for a week to find out.
DON'T add cream, sugar, or 'just a splash' of milk to fasted coffee and call it fasting. A splash adds calories, and the bigger risk is the splash quietly growing into a habit.
DON'T stack an aggressive daily window (20:4, OMAD) on top of heavy training if you can't hit your protein and calorie needs in the window. Under-fueled lifting burns muscle.
DON'T push through fasting if it makes you dizzy, obsessive about food, or miserable. That's a signal the protocol doesn't fit you, not a test of willpower to win.
If you strip this list down to one rule: fasting changes when you eat, so use that structure to eat the right total amount — not as permission to stop paying attention to it.
Worked example
Worked example: the same 2,072 kcal on 16:8 and on 20:4
Sex
Male
Age
29
Height
183 cm
Weight
88 kg
Activity
Lightly active (×1.375)
Goal
Moderate cut (−20%)
Take a 29-year-old man, 183 cm and 88 kg, with an office job and light exercise. Mifflin-St Jeor gives a BMR of 10 × 88 + 6.25 × 183 − 5 × 29 + 5 = 880 + 1,143.75 − 145 + 5 = 1,884 kcal. His TDEE is 1,884 × 1.375 = 2,590 kcal, and a 20% cut sets his daily target at 2,590 × 0.8 = 2,072 kcal. That target is the same whichever window he picks.
On 16:8 with a first meal at 12:00 and three meals, the calculator opens the window at 12:00 and closes it at 12:00 + 8 h = 20:00, with meals at 12:00, 16:00 and 20:00. Each meal carries 2,072 ÷ 3 = 691 kcal. At 1.6 g/kg his protein floor is 88 × 1.6 = 141 g a day, or about 47 g per meal.
On 20:4 with two meals, he can anchor on his last meal instead: set it to 19:00 and the calculator counts back 4 hours, so the window runs 15:00 to 19:00, with meals at 15:00 and 19:00. Each meal now carries 2,072 ÷ 2 = 1,036 kcal and about 70 g of protein (141 ÷ 2). Same calories, same deficit of 2,590 − 2,072 = 518 kcal a day, but each sitting has to be half again as large.
The math predicts the same weight change from both schedules, which matches the Cioffi et al. (2018) finding that intermittent and continuous restriction give comparable loss. What differs is how hard the plan is to eat: three 691 kcal meals are an ordinary day, while two 1,036 kcal meals with 70 g of protein each take planning. This is an illustration computed from the formulas, not a record of anyone's results.
An illustrative person, not a real case. Every number is computed with the formulas on this page.
Turning the calculator's number into a fasting plan
Once the calculator gives you a target, building the actual schedule is straightforward. Say your TDEE comes out to 2,400 and you pick a 20% deficit — that's a 1,920 kcal target. Now choose a window you can realistically eat 1,920 quality calories inside.
With 16:8, that's comfortable: three modest meals or two meals plus a snack, protein anchored at each. With 20:4, the same 1,920 kcal has to fit into one big meal and one small one, which sounds fine until you try to get 150 g of protein and enough vegetables into a four-hour span — it gets tight, and a lot of people end up under-eating protein without realizing it.
The calculator's per-meal protein line makes this visible: keep the same stats and goal, switch the schedule from 16:8 with three meals to 20:4 with two, and protein per meal rises by half while daily calories stay put. That's the practical trade-off the calculator can't make for you. Tighter windows do tend to make it easier to eat less overall, but they also make it harder to eat well — to hit protein, fiber, and micronutrient needs. A sensible rule: pick the widest window that still keeps you honest. For most people that's 16:8 or 18:6. Reserve 20:4 and OMAD for days when appetite is low or your schedule genuinely forces a single meal, rather than making them your everyday default. And whatever window you choose, keep weighing in daily and judging the weekly average, because that trend — not the fasting hours — tells you whether the plan is working. If you want the deeper playbook on running the deficit itself, [TDEE for weight loss](/tdee-for-weight-loss) covers the whole cut, and when you hit your goal, [maintenance calories](/maintenance-calories-calculator) is where fasting should hand you off.
Common questions the calculator can't answer for you
A few judgment calls that come up constantly once people start fasting. None have a single right answer, but here is a reasonable way to think through each:
Which meals to keep? Keep the meals that anchor your social and training life. If you lift in the evening, your window should be open then. If family dinner matters, protect it. Drop the meal you care about least — usually breakfast.
Fasted training, yes or no? Fine for easy cardio and moderate lifting for most people. If you feel weak or your performance tanks, move a meal before the session; there's no prize for training fasted.
What about weekends and social events? Loosen the window, don't abandon the calorie target. A slightly later eating window on a Saturday matters far less than blowing past maintenance at dinner.
How fast should I expect results? Whatever your deficit produces. Helms et al. (2014) suggest about 0.5–1% of body weight per week as a sensible ceiling for lean lifters. Fasting doesn't add speed on top of the deficit; it just helps you sustain it.
Can I combine fasting with a specific diet? Yes — fasting is agnostic to what you eat. Low-carb, higher-carb, Mediterranean, whatever. Total calories and protein still decide the outcome; fasting just sets the hours.
Does an intermittent fasting calculator tell me how much to eat?+
This one does. It computes your TDEE from your stats (Mifflin-St Jeor × activity), applies the goal you pick (a 10–25% cut, maintenance or a 10–20% bulk) and splits that daily target across your meals, with protein per meal alongside. If you already know your maintenance from logging, compare it with the calculator's TDEE: the calorie target, not the fasting hours, is what determines fat loss.
Will I lose weight faster with a longer fast?+
Not inherently. A 20-hour fast doesn't burn more fat than a 16-hour fast if your daily calorie intake is the same. Longer windows sometimes lead to eating less overall, which speeds loss indirectly, but the fasting hours themselves aren't the mechanism — the deficit is.
What's the best fasting window for beginners?+
16:8 — fast 16 hours, eat within 8. For most people that just means skipping breakfast and not eating late. It's sustainable, it doesn't require special planning, and it's easy to hit your protein and calorie targets inside an 8-hour window.
Can I drink coffee while fasting?+
Yes. Black coffee, plain tea, and water are effectively calorie-free and won't break a fast in any meaningful way, and many people find they make a morning fast easier. Just skip the cream, sugar, and milk during the fasting hours.
Does fasting boost my metabolism?+
Not to any degree that matters for weight loss. Your TDEE is driven by body size, activity, and lean mass, not by when you eat. Fasting's benefit is behavioral — it makes eating less easier — rather than metabolic.
How do I get enough protein on OMAD or 20:4?+
This is the main challenge with tight windows. Aim for at least about 1.6 g of protein per kg of body weight (Morton et al. 2018), which for an 88 kg person is 141 g, or about 70 g per meal on a two-meal 20:4. Lead each meal with a large protein source, consider a protein shake, and if you consistently fall short, widen your window to 16:8 or 18:6.
Is intermittent fasting safe for everyone?+
No. People who are pregnant or breastfeeding, have a history of disordered eating, have type 1 diabetes, take blood-sugar or blood-pressure medication, or are underweight should talk to a doctor first. This page is educational, not medical advice.
What breaks a fast?+
Any meaningful amount of calories — food or caloric drinks — ends the fasted state. Water, black coffee, and plain tea don't. Small amounts of cream or a splash of milk technically add calories, but a truly tiny amount won't derail fat loss; the bigger risk is it becoming a habit that grows.