Sleep Calculator
Select Age Group
Target Wake-Up Time
24h
Please enter a valid time.
Recommended Bedtime
For 7.5 Hours Sleep (5 Cycles)
5 cycles × 90 min

Wake up at the end of a sleep cycle to feel refreshed. This plan shows optimal times based on 90-minute cycles and your age group's sleep needs.

📋 Your Sleep Recommendation

7–9 hours

Based on NHS guidelines for your age group. Consistency matters more than exact hours — aim for the same schedule daily.

Your Sleep Cycle Options

Recommended Sleep by Age

Age GroupRecommended HoursMay Be Appropriate
Newborn (0-3mo)14–17h11–19h
Infant (4-11mo)12–15h10–18h
Toddler (1-2y)11–14h9–16h
Preschool (3-5y)10–13h8–14h
School-age (6-13y)9–11h7–12h
Teen (14-17y)8–10h7–11h
Adult (18-64y)7–9h6–10h
Older Adult (65+)7–8h5–9h

What is a Sleep Calculator?

A sleep calculator helps you determine the optimal time to go to bed or wake up based on 90-minute sleep cycles — the average length of a complete REM/NREM cycle. By aligning your sleep schedule with these natural cycles, you wake at the end of a cycle (light sleep) rather than the middle (deep sleep), reducing grogginess and improving morning alertness.

Whether you're planning tomorrow's wake-up time, figuring out when to sleep tonight, or scheduling a power nap, this free online sleep calculator provides science-backed guidance aligned with NHS and The Sleep Charity recommendations for all age groups.

How Sleep Cycles Work

Human sleep occurs in repeating 90-minute cycles, each containing stages of light sleep, deep sleep, and REM (dream) sleep:

One Sleep Cycle ≈ 90 minutes • Stage 1 (Light): 1–7 min — drifting off • Stage 2 (Light): 10–25 min — heart rate slows • Stage 3 (Deep): 20–40 min — physical restoration • REM: 10–60 min — memory consolidation, dreaming

Cycles repeat 4–6 times per night. Waking at the end of a cycle (light sleep) feels more refreshing than waking during deep sleep.

Sleep Needs by Age (NHS Guidelines)

Recommended sleep duration varies significantly by age. This calculator adjusts recommendations based on your selected age group:

Age GroupRecommendedWhy It Matters
Babies (0-12mo)12–16hBrain development, growth hormone release
Toddlers (1-2y)11–14hMotor skills, emotional regulation
Children (6-13y)9–11hLearning, memory, immune function
Teens (14-17y)8–10hHormonal changes, academic performance
Adults (18-64y)7–9hMetabolism, mental health, cardiovascular health
Seniors (65+)7–8hCognitive maintenance, recovery

How to Use This Sleep Calculator

Select Your Age Group

Choose Adult, Teen, Child, or Baby/Toddler. This sets your recommended sleep duration range based on NHS guidelines.

Choose Calculation Mode

Bedtime mode: Enter your target wake-up time to find when to sleep. Wake-Up mode: Enter your bedtime to find optimal wake times. Nap mode: Plan short restorative naps (20-90 mins).

Optional: Add Fall-Asleep Buffer

If you typically take 15-20 minutes to fall asleep, add this buffer in bedtime mode for more accurate planning.

View Your Sleep Plan

Your optimal bedtime/wake times appear instantly, showing 4-6 sleep cycle options. The green-highlighted option is the recommended duration for your age group.

Tips for Better Sleep Quality

Timing is just one part of healthy sleep. Maximise your rest with these evidence-based tips:

  • Consistency: Go to bed and wake up at the same time daily, even weekends
  • Light: Get morning sunlight; avoid screens 1 hour before bed
  • Environment: Keep bedroom cool (16-18°C), dark, and quiet
  • Stimulants: Limit caffeine after 2pm; avoid alcohol close to bedtime
  • Wind-down: Create a 30-min pre-sleep routine (reading, gentle stretching, meditation)
  • Bed purpose: Use bed only for sleep and intimacy — no work or scrolling

Small, consistent changes yield better results than occasional perfect nights. Track your sleep quality alongside duration for a complete picture.

NHS & Sleep Charity Alignment

This calculator follows guidance from the NHS and The Sleep Charity:

  • Age-based sleep duration recommendations match NHS public health guidelines
  • 90-minute cycle model aligns with Sleep Foundation and UK sleep research
  • Wake-up timing advice supports NHS recommendations for consistent sleep schedules
  • Child/baby guidance is informational only — consult your health visitor for personalised infant sleep advice

For persistent sleep issues (insomnia, sleep apnoea, excessive daytime sleepiness), consult your GP or a sleep specialist.

FAQ

Frequently Asked Questions About Sleep Calculators

Common questions about sleep cycles, bedtime planning, and healthy sleep habits.

The sleep calculator uses 90-minute sleep cycles — the average length of a complete REM/NREM cycle. By counting backwards from your wake-up time (or forwards from bedtime) in 90-minute increments, it identifies optimal times to fall asleep or wake up to minimize sleep inertia and feel refreshed.
NHS and Sleep Foundation guidelines: Newborns (0-3mo) 14-17h, Infants (4-11mo) 12-15h, Toddlers (1-2y) 11-14h, Preschoolers (3-5y) 10-13h, School-age (6-13y) 9-11h, Teens (14-17y) 8-10h, Adults (18-64y) 7-9h, Older adults (65+) 7-8h. This calculator adjusts recommendations based on your selected age group.
The best wake-up time aligns with the end of a sleep cycle, not the middle. Waking during deep sleep causes grogginess (sleep inertia). This calculator shows wake times at the end of 4-6 sleep cycles (6-9 hours) so you rise feeling refreshed. Consistency matters more than the exact hour — aim for the same wake time daily.
This calculator uses sleep cycle science and age-based recommendations aligned with NHS and The Sleep Charity guidance. While not formally certified by the NHS, it follows evidence-based principles for healthy sleep hygiene. Always consult your GP for persistent sleep issues or medical concerns.
Yes. Select the appropriate age group (baby, toddler, child, teen) to receive age-specific sleep duration recommendations. Note: infant sleep patterns differ significantly from adults — this calculator provides general guidance only. Consult your health visitor for personalised infant sleep advice.
Key sleep hygiene tips: maintain consistent bed/wake times, avoid screens 1 hour before bed, keep your bedroom cool/dark/quiet, limit caffeine after 2pm, avoid large meals/alcohol before bed, get morning sunlight, and exercise regularly (but not right before bed). Small consistent changes yield the best results.
About the Developer

Created & Developed by Bilal Khan — Software Engineer

This Sleep Calculator was built by Bilal Khan, a professional Software Engineer specialising in health and wellness web tools. The sleep cycle model and age-based recommendations implemented here are cross-verified against NHS, The Sleep Charity, and Sleep Foundation guidelines. Bilal built CalculatorSoup to provide free, accurate, and accessible health tools for everyone — no registration, no advertisements, no cost.

Connect with Bilal on LinkedIn
Explore More

100+ Free Calculators — All in One Place

From health and fitness to finance and education, CalculatorSoup has every tool you need.