DevTools Logo

Intermittent Fasting Planner

Examples

16:8 from sunrise

Input
planFasting("2026-06-21", 41.0, 29.0, "16:8")
Output
eatHours 8, eatStart = sunrise

The eat window is eight hours after sunrise.

About this tool

Intermittent Fasting Planner opens the eat window at sunrise for 16:8, 14:10, 18:6 and 20:4. 5:2 is a full fast day.

The 24-hour clock shows the eat arc. Phase notes (ketosis, autophagy) are educational, not medical advice.

How to use this tool

  1. Set location

    Sunrise comes from the same sun-times engine.

  2. Pick a protocol

    Plan day, then read local eat/fast hours.

Use cases

Circadian alignment

Keep the first meal after local dawn.

Common mistakes

Mistake:Using this as a treatment plan.

Fix:Talk to a clinician before long fasts.

Frequently asked questions

What does this tool do?

It aligns an eat window to local sunrise for common IF protocols and draws a 24-hour clock.

What is 5:2 here?

A full fast day (0 eat hours). Alternate days are not auto-scheduled.

Is this medical advice?

No. Extended fasts need clinical guidance.

Is location uploaded?

No. Sunrise is computed locally.

References & standards