pediatrics calculators

Child Sleep Needs Calculator

Calculates recommended nightly sleep duration and an ideal bedtime for children based on age, activity level, nap habits, and wake-up time. Use it to set a consistent, science-informed sleep schedule.

About this calculator

The calculator estimates total nightly sleep needed using the formula: sleepNeeded = (14 − childAge × 0.5) + (napDuration / 60) × 0.8 + activityOffset + qualityOffset, where activityOffset is +0.5 for high activity, −0.5 for low activity, and 0 for moderate; and qualityOffset is +1.0 for poor sleep quality and −0.5 for good quality. The base term (14 − childAge × 0.5) reflects the well-documented decline in sleep need from roughly 14 hours in infancy to about 9 hours at age 10. Nap duration is weighted at 80% because daytime sleep partially substitutes for — but does not fully replace — night sleep. Bedtime is then back-calculated from the desired wake-up time: bedtime = wakeUpTime − sleepNeeded × 60 minutes.

How to use

A 5-year-old child with high activity wakes at 07:00 (entered as 700) and naps for 60 minutes, with average sleep quality. sleepNeeded = (14 − 5 × 0.5) + (60 / 60) × 0.8 + 0.5 + 0 = (14 − 2.5) + 0.8 + 0.5 = 11.5 + 1.3 = 12.8 hours. Wake-up in minutes from midnight = 7 × 60 = 420 min. Bedtime in minutes = 420 − 12.8 × 60 = 420 − 768 = −348 min, which converts to 18:12 (6:12 PM) the previous evening. Enter all values and the calculator returns the recommended bedtime in HH:MM format.

Frequently asked questions

How many hours of sleep does a child need by age?

Sleep requirements decrease steadily as children grow. The American Academy of Sleep Medicine recommends 12–16 hours (including naps) for infants aged 4–12 months, 11–14 hours for toddlers aged 1–2 years, 10–13 hours for preschoolers aged 3–5, and 9–12 hours for school-age children aged 6–12. Teenagers need 8–10 hours. These ranges account for individual variation, and some children naturally need slightly more or less than the midpoint. Consistently getting less than the recommended minimum is associated with attention problems, mood difficulties, and impaired immune function.

Why does physical activity level affect how much sleep a child needs?

Exercise increases the body's demand for restorative slow-wave (deep) sleep, which is the stage responsible for physical repair, growth hormone release, and memory consolidation. Highly active children therefore tend to fall asleep more quickly and may benefit from slightly more total sleep time. Conversely, children with low activity levels may need marginally less sleep, though insufficient physical activity is also linked to poorer sleep quality overall. Setting bedtime earlier on high-activity days — such as after sports practice or an outdoor field trip — can help children meet their increased recovery needs.

When should a child stop napping during the day?

Most children transition away from regular daytime naps between ages 3 and 5, although there is significant individual variation. Signs that a child is ready to drop the nap include consistently taking more than 30 minutes to fall asleep at naptime, napping interfering with nighttime sleep onset, and the child appearing well-rested throughout the day without a nap. Preschool-age children who stop napping should move their bedtime earlier by 30–60 minutes to compensate. Even children who no longer nap benefit from a quiet rest period in the afternoon to support attention and emotional regulation.