IF Macro Calculator – Intermittent Fasting Macros

Calculate Personalized Calories and Macro Targets Optimized for Your Intermittent Fasting Schedule

Tom Miller, CSCS
By
Tom Miller, CSCS
Tom Miller, CSCS, is a Sr. Editor & Content Strategist with 10 years of experience in Powerlifting and Personal Training. As a Certified Strength and Conditioning...
4 Min Read
Intermittent Fasting Macros
Intermittent Fasting Macros

The IF macro calculator turns your TDEE into calorie, protein, carbohydrate and fat targets for training days and rest days, then times your meals inside a fasting window. Use it when you already know your TDEE; if you don’t, start with the TDEE calculator. The targets are planning defaults, not medical or sports-nutrition advice.

Last verified 6 Oct 2026 against the calculator’s code, the ISSN protein position stand (Jäger and colleagues, 2017) and the 3,500-calories-per-pound rule (Wishnofsky, 1958).

IF Macro & Meal-Timing Planner

Set a weekly calorie target, cycle carbohydrates around training, and map meals inside your eating window

This planner keeps protein steady, shifts more carbohydrates to training days, and balances rest-day calories so the weekly average matches your selected goal.

calories/day

Don't know your TDEE? Use our TDEE Calculator first.

Protein starts at 0.8 g per lb of body weight, capped at 35% of the lower day’s calories.

Medical Disclaimer: This calculator provides estimates for educational purposes only and does not constitute medical advice. Intermittent fasting is not appropriate for everyone. Do not fast if you are pregnant or breastfeeding, under 18 years of age, have a history of eating disorders, or have been diagnosed with Type 1 diabetes. If you take medications (especially insulin or blood pressure medication), have any chronic health conditions, or are recovering from surgery, consult your physician before beginning any fasting protocol. If you experience chest pain, fainting, persistent dizziness, or heart palpitations during a fast, stop immediately and seek medical attention.

How your macros are worked out

The calculator works in five steps. The percentages are its own planning settings, so treat the result as a starting point and adjust it after a few weeks.

1. Your weekly calorie budget

The calculator multiplies your TDEE by 7 and by the share your goal allows. Each training day gets a fixed share of your TDEE, and the rest days split what is left of the week in equal parts.

Goal Weekly average Training day
Maintain / Recompose 100% of TDEE 105% of TDEE
Fat Loss 90% of TDEE 95% of TDEE
Muscle Gain 108% of TDEE 112% of TDEE

These shares are the calculator’s planning assumptions, not measured effects of each goal.

2. The 1,200-calorie floor

The calculator never sets a training day or a rest day below 1,200 calories. If the sums put a day under that line, it raises the day to 1,200 and shows a warning, and your weekly average then sits above the goal you picked. Seek qualified guidance if you need a plan below 1,200 calories.

3. Protein

Protein is your body weight in pounds x 0.8, about 1.76 g per kg, and it stays the same on both day types. If that amount would supply more than 35% of the lower day’s calories, the calculator lowers it to that cap. The 1.76 g per kg starting point sits inside the 1.4 to 2.0 g per kg a day that the International Society of Sports Nutrition calls sufficient for most people who exercise.

Source: Jäger and colleagues, Journal of the International Society of Sports Nutrition, 2017.

4. Fat and carbohydrate

Fat supplies 35% of rest-day calories and 25% of training-day calories. Carbohydrate fills the calories left after protein and fat. The calculator counts 4 calories per gram of protein and carbohydrate and 9 per gram of fat. Both fat shares are the calculator’s own settings.

5. Meal times and the weekly summary

Your fast starts at the usual last-meal time you enter. The eating window opens when the fast ends and lasts the protocol’s eating hours, so it closes at that same last-meal time: 16:8 with an 8:00 PM last meal gives a window from 12:00 PM to 8:00 PM. The calculator places your meals at equal gaps from the start of the window to its end.

A 24-hour band showing 16 hours of fasting and an eating window from 12:00 PM to 8:00 PM with meals at 12:00 PM, 4:00 PM and 8:00 PM.
The eating window always closes at the last-meal time you enter.

The weekly summary adds up both day types and compares the total with 7 days of your TDEE. The estimated scale trend divides that weekly difference by 3,500 calories, the traditional estimate of the energy in a pound of body fat. That rule overstates loss over several months, because you burn fewer calories as your weight drops.

Sources: Wishnofsky, American Journal of Clinical Nutrition, 1958; Hall and colleagues, The Lancet, 2011.

Worked example: the default inputs

The TDEE box starts empty, so this example types in 2,000, the number the box shows as a hint. Everything else stays at the defaults: last meal at 8:00 PM, 180 lb, 16:8, 3 meals, Maintain / Recompose and 3 training days.

Step Result
Weekly budget (2,000 x 7 x 100%) 14,000 calories
Training day (2,000 x 105%) 2,100 calories
Rest day ((14,000 – 6,300) / 4) 1,925 calories
Protein (180 x 0.8) 144 g on both day types
Training day macros 251 g carbohydrate, 144 g protein, 58 g fat
Rest day macros 169 g carbohydrate, 144 g protein, 75 g fat
Eating window 12:00 PM to 8:00 PM
Meals 12:00 PM, 4:00 PM and 8:00 PM
Weekly total 14,000 calories, an average of 2,000 a day
Weekly energy difference 0, so the scale trend reads “maintenance”
Two equal cards listing carbs, protein and fat for a 2,100 calorie training day and a 1,925 calorie rest day.
A training day gets 175 more calories than a rest day, with carbohydrate at 48% of them against 35%. Calculator defaults with TDEE 2,000 typed in: 180 lb, 16:8, 3 meals, Maintain / Recompose, 3 training days.

IF macro questions

Why are macros different on training days and rest days?

Training days get more calories, and with fat held at 25% of them, most of the extra goes to carbohydrate. Rest days get fewer calories, with fat at 35%. Protein stays the same on both.

How much protein does the calculator use?

0.8 g per pound of body weight, about 1.76 g per kg, on every day. If that would supply more than 35% of the lower day’s calories, the calculator caps it so fat and carbohydrate still fit.

Why did the calculator apply a calorie floor?

At least one day type came out below 1,200 calories, so the calculator raised it to 1,200. Your weekly average is then higher than the goal you picked. Seek qualified guidance if you need a lower-calorie plan.

Do I have to train while fasted?

No. The calculator times your meals but does not schedule training. Train when your performance and recovery are best.

How do I know whether the targets are working?

Track your average body weight and training performance for two to four weeks before you change calories, as the result panel suggests. If the trend misses your goal, check your TDEE first: a wrong TDEE gives wrong targets.

Sources

More fasting tools


If you have any questions or need further clarification about this article, please leave a comment below, and Tom will get back to you as soon as possible.

Share This Article
Tom Miller, CSCS, is a Sr. Editor & Content Strategist with 10 years of experience in Powerlifting and Personal Training. As a Certified Strength and Conditioning Specialist, he is dedicated to delivering informative, engaging, and reliable health and fitness content. His work has been featured on websites including the-sun.com, Well+Good, Bleacher Report, Muscle and Fitness, UpJourney, Business Insider, NewsBreak and more.
Leave a Comment