Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

Recommended Bedtime
20:30
to get enough rest before wake-up
Recommended sleep for age 10.5 hours

What is the Bedtime by Age Calculator?

This tool estimates the time your child should go to bed in order to wake up at a chosen time while still getting the amount of sleep recommended for their age. It works backwards from the wake-up time, subtracting the typical sleep need for the child's age group based on widely used pediatric sleep guidelines (such as those from the American Academy of Pediatrics and the CDC).

Bar chart of recommended sleep hours decreasing with child age
Recommended daily sleep decreases as children grow older.

How to use it

Enter the child's age in years, then set the morning wake-up hour and minute (24-hour format, e.g. 7:00 for 7 AM). The calculator returns the recommended bedtime. Adjust the wake-up time to match a school start or daily routine and the bedtime will update accordingly.

The formula explained

The math is simple: Bedtime = Wake-up time − Recommended sleep hours. The recommended sleep figure depends on age — younger children need more sleep. We use the midpoint of each recommended range: toddlers (1–2) about 12.5 hours, preschoolers (3–5) about 11.5 hours, school-age children (6–12) about 10.5 hours, and teens (13–18) about 9 hours. Times wrap correctly across midnight.

$$\text{Bedtime} = \left( 60\,\text{Wake Hour} + \text{Wake Min} - 60\,S \bmod 1440 \right)$$

Timeline showing wake time minus recommended sleep equals bedtime
Bedtime is found by subtracting the age-recommended sleep hours from the desired wake-up time.

Worked example

A 7-year-old needs to wake at 7:00 AM. School-age children need about 10.5 hours of sleep. 7:00 minus 10 hours 30 minutes gives a bedtime of 20:30 — that is 8:30 PM.

$$\text{Bedtime} = \Big( 60\,\text{Wake Hour} + \text{Wake Min} - 60 \times 10.5 \Big) \bmod 1440$$

FAQ

Is this medical advice? No. It is a general guide using average sleep ranges. Individual needs vary; consult a pediatrician for sleep concerns.

Why does the bedtime sometimes show the previous evening? Sleep usually starts the night before, so a morning wake-up naturally maps to an evening bedtime.

Can I use it for adults? This tool is tuned for children and teens. Adults generally need 7–9 hours of sleep.

Last updated: