Free tool

Sleep Calculator

Your body sleeps in roughly 90-minute cycles, moving through light sleep, deep sleep, and REM. Wake up at the end of a cycle and you feel refreshed - wake up in the middle of one and you feel groggy, no matter how long you slept. This calculator times your bedtime or wake-up so you land at the end of a full cycle, allowing about 15 minutes to fall asleep.

I want to plan by
Age range
I want to wake up at
:

Great sleep starts with the right mattress. A supportive, temperature-neutral bed helps you move through those cycles without waking. See how the beds we test actually score.

How much sleep do I need?

Most adults should get seven to nine hours of sleep per night, but the right amount changes with age. Babies, children, and teens all need more sleep than adults. The table below shows the general recommendation by age group - use it to pick your age range in the calculator above.

Age groupAge rangeRecommended sleep
Toddler1-2 years11-14 hours (with naps)
Preschool3-5 years10-13 hours (with naps)
School age6-12 years9-12 hours
Teen13-17 years8-10 hours
Adult18+ years7-9 hours

What time should I go to bed?

There is no single best bedtime, but the healthiest approach is to keep a consistent schedule - going to sleep and waking up at the same time every day, even on weekends. Beyond consistency, the goal is to fit in four to six complete sleep cycles before your alarm. If you have to be up at 6:30 a.m., the calculator will show you which bedtimes let you finish a full cycle right before then.

What time should I wake up?

The best wake-up time is one that fits your schedule and lands at the end of a sleep cycle rather than the middle. Waking mid-cycle, especially out of deep sleep, causes that heavy, groggy feeling known as sleep inertia. Aim for a wake time that allows at least four full cycles, and ideally five or six, after you fall asleep.

Why sleep cycles matter

Each night your body moves through repeated cycles of light sleep, deep sleep, and REM sleep, each lasting about 90 minutes. Early cycles hold more deep sleep for physical recovery; later cycles hold more REM for memory and mood. Getting enough complete cycles is what lets you wake up genuinely rested. Cutting sleep short interrupts this pattern, which is why five hours of broken sleep leaves you far worse off than a full night.

How to get better sleep tonight

  • Keep a consistent schedule. Same bedtime and wake time every day trains your internal clock.
  • Cut caffeine after midday. It lingers for hours and delays sleep onset.
  • Put screens away before bed. Blue light suppresses melatonin; aim for 30 minutes device-free.
  • Keep the bedroom cool and dark. A cooler room and blackout darkness deepen sleep.
  • Get morning sunlight. Daylight early anchors your circadian rhythm and improves night sleep.
  • Sleep on a supportive mattress. Pain and overheating fragment your cycles. If your bed wakes you up hot or achy, it may be time for an upgrade - see our tested picks or read why you wake up hot.