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.
Human sleep occurs in repeating 90-minute cycles, each containing stages of light sleep, deep sleep, and REM (dream) 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 Group | Recommended | Why It Matters |
| Babies (0-12mo) | 12–16h | Brain development, growth hormone release |
| Toddlers (1-2y) | 11–14h | Motor skills, emotional regulation |
| Children (6-13y) | 9–11h | Learning, memory, immune function |
| Teens (14-17y) | 8–10h | Hormonal changes, academic performance |
| Adults (18-64y) | 7–9h | Metabolism, mental health, cardiovascular health |
| Seniors (65+) | 7–8h | Cognitive maintenance, recovery |
How to Use This Sleep Calculator
1
Select Your Age Group
Choose Adult, Teen, Child, or Baby/Toddler. This sets your recommended sleep duration range based on NHS guidelines.
2
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).
3
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.
4
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.