{
  "slug": "eating-window-clock",
  "title": "Eating Window Clock",
  "category": "Timing & Pacing",
  "category_slug": "timing-pacing",
  "tier": 2,
  "summary": "Work out when a chosen eating window closes and how long the remaining gap runs.",
  "description": "This calculator performs the clock arithmetic behind time-restricted eating schedules. It takes the hour of the first meal and the length of the eating window in hours, then returns the time the window closes, the number of hours outside the window, and when that gap starts and ends. The tool describes the schedule the user has chosen — in the same way a sleep calculator lays out sleep blocks — and makes no claims about whether any particular schedule is beneficial, suitable, or appropriate for anyone.",
  "page_url": "https://fitmetriclab.com/en/tools/timing-pacing/eating-window-clock/",
  "api_url": "https://fitmetriclab.com/api/tools/eating-window-clock.json",
  "formula": {
    "id": "eating_window_clock",
    "expression": "T_{end} = (H_{first} + W) \\bmod 24",
    "variables": [
      {
        "symbol": "H_{first}",
        "description": "First-meal hour (0–23)"
      },
      {
        "symbol": "W",
        "description": "Eating window length in hours"
      }
    ]
  },
  "inputs": [
    {
      "id": "first_meal_hour",
      "label": "First Meal Hour",
      "type": "number",
      "unit": "h",
      "default": 12,
      "min": 0,
      "max": 23,
      "step": 1
    },
    {
      "id": "window_hours",
      "label": "Eating Window",
      "type": "number",
      "unit": "h",
      "default": 8,
      "min": 4,
      "max": 12,
      "step": 1
    }
  ],
  "worked_example": {
    "inputs": {
      "first_meal_hour": 12,
      "window_hours": 8
    },
    "expected_output": "20:00"
  },
  "result_summary_template": "With a first meal at {first_meal_hour}:00 and an eating window of {window_hours} hours, the window closes at {result}.",
  "methodology": "Window end = (first_meal_hour + window_hours) mod 24, displayed as HH:MM. Hours outside the window = 24 − window_hours, running from the window end to the next first meal. The tool is pure clock arithmetic on user-entered values; no physiological model, adjustment, or evaluation of the schedule is applied.",
  "sources": [
    {
      "label": "Patterson RE, Sears DD. Metabolic Effects of Intermittent Fasting. Annual Review of Nutrition. 2017;37:371–393. (Cited for terminology of time-restricted eating patterns.)",
      "url": "https://pubmed.ncbi.nlm.nih.gov/28715993/"
    },
    {
      "label": "de Cabo R, Mattson MP. Effects of Intermittent Fasting on Health, Aging, and Disease. New England Journal of Medicine. 2019;381(26):2541–2551. (Cited for terminology; this tool makes no outcome claims.)",
      "url": "https://pubmed.ncbi.nlm.nih.gov/31881139/"
    }
  ],
  "faqs": [
    {
      "question": "What exactly counts as the eating window?",
      "answer": "In the published literature on time-restricted eating, the window is usually defined as the span from the first caloric intake of the day to the last — first bite of breakfast to final bite or caloric drink in the evening. This calculator treats the window as a single block of whole hours starting at the first-meal hour entered. What is consumed inside the window, and how it is spaced, sits entirely outside the arithmetic."
    },
    {
      "question": "How do patterns like 16:8 and 14:10 map onto the inputs?",
      "answer": "The second number in the shorthand is the window length: 16:8 means an 8-hour eating window, 14:10 a 10-hour window, and 18:6 a 6-hour window. The first number is what remains of the 24-hour day. To lay out a 16:8 schedule, enter the intended first-meal hour and a window of 8; the tool returns the closing time and confirms the 16 hours outside the window."
    },
    {
      "question": "Does this tool say anything about whether these schedules work?",
      "answer": "No. The calculator reports clock times implied by the numbers entered and nothing more. Research on time-restricted eating is an active field with mixed findings across populations and study designs, and interpreting it for an individual situation is a clinical task. Anyone weighing a change to meal timing — especially with diabetes, medication schedules tied to food, pregnancy, or a history of disordered eating — has reason to involve a physician or registered dietitian."
    },
    {
      "question": "What happens if my window crosses midnight?",
      "answer": "The calculator wraps the result around the 24-hour clock. A first meal at 20:00 with an 8-hour window closes at 04:00 the next morning, and the 16 hours outside the window then run through the daytime, from 04:00 to 20:00. The arithmetic is identical to a daytime window; only the position of the blocks on the clock changes. This layout is common for night-shift schedules."
    },
    {
      "question": "Why does the tool work in whole hours?",
      "answer": "The published pattern shorthand — 16:8, 14:10, 18:6 — is expressed in whole hours, and most people describe their schedules the same way, so whole hours keep the inputs aligned with how these patterns are actually discussed. Real days are messier: a meal that starts at 12:20 shifts every figure by twenty minutes. The tool's output is a template for the day rather than a stopwatch reading."
    }
  ],
  "related_tools": [
    {
      "slug": "sleep-cycle",
      "title": "Sleep Cycle Calculator",
      "api_url": "https://fitmetriclab.com/api/tools/sleep-cycle.json",
      "page_url": "https://fitmetriclab.com/en/tools/timing-pacing/sleep-cycle/"
    },
    {
      "slug": "caffeine-half-life",
      "title": "Caffeine Half-Life Calculator",
      "api_url": "https://fitmetriclab.com/api/tools/caffeine-half-life.json",
      "page_url": "https://fitmetriclab.com/en/tools/macros-intake/caffeine-half-life/"
    },
    {
      "slug": "meal-planner",
      "title": "Meal Planner",
      "api_url": "https://fitmetriclab.com/api/tools/meal-planner.json",
      "page_url": "https://fitmetriclab.com/en/tools/macros-intake/meal-planner/"
    }
  ],
  "last_updated": "2026-08-08",
  "price": {
    "value": 0,
    "currency": "USD"
  },
  "runs_in_browser": true,
  "disclaimer": "Educational estimate produced from a published formula. Not medical, nutritional, or training advice. Calculations are deterministic — apply the formula to the inputs to reproduce the result."
}