Sleep Calculator: Find the Perfect Time to Go to Sleep or Wake Up

Enter the time you need to wake up (or plan to fall asleep) and we’ll calculate the best times based on your natural 90-minute sleep cycles. Waking between cycles, not in the middle of one, is the difference between dragging yourself out of bed and actually feeling rested.1

Your sleep moves through repeating 90-minute cycles of light sleep, deep sleep, and REM. Each cycle ends with a brief near-waking moment. Our calculator times your alarm to land on one of these natural gaps, so you surface feeling alert rather than groggy. The times marked “Recommended” give you the number of complete cycles the NHS and National Sleep Foundation suggest for your age group.1,2 Read more about how sleep cycles work.

  • Based on NHS guidance and National Sleep Foundation recommendations
  • Updated March 2026
  • Cited sources: 3 peer-reviewed studies

How Does the Sleep Calculator Work?

Diagram showing one 90-minute sleep cycle progressing through light sleep, deep sleep, and REM stages Awake REM Light Deep N1 ~5 min N2 ~20 min N3 (Deep) ~30 min N2 ~10 min REM ~25 min Awake Awake One 90-minute sleep cycle

Every night your brain cycles through distinct stages of sleep (light, deep, and REM) in roughly 90-minute blocks. Wake up at the tail end of a cycle and you feel sharp. Wake up in the middle of deep sleep and you feel like you’ve been hit by a bus. That timing gap is everything this calculator is built around.

Tell us when you need to wake up (or when you plan to fall asleep) and we count backwards or forwards in 90-minute increments, factoring in an average sleep latency of about 15 minutes (roughly how long it takes most adults to drift off).2 You can adjust that figure under “Advanced options” if you know you take longer or shorter.

We also adjust for age. A teenager needs more cycles than someone over 65, so the number of results and their “Recommended” labels shift depending on the age group you select. The underlying data comes from the National Sleep Foundation’s 2015 duration guidelines2 and NHS recommendations for the UK.1 Read the full breakdown of each sleep stage below.

Understanding Sleep Cycles: The Science

Sleep is not one long stretch of unconsciousness. From the moment you drift off, your brain begins cycling through a structured sequence of stages, each with a different job. One complete cycle takes roughly 90 minutes, and a typical adult will move through four to six of these cycles every night.2

The stages fall into two broad categories: non-REM sleep (NREM), which has three distinct phases, and REM (rapid eye movement) sleep. Early in the night, your cycles are weighted heavily toward deep NREM sleep. As the night progresses, deep sleep drops away and REM periods grow longer, which is why you tend to dream more in the hours before your alarm goes off.

The Five Stages of a Sleep Cycle

Stage Duration What Happens
N1 (Light Sleep) ~5 minutes The transition between wakefulness and sleep. Muscles relax, heart rate drops, and you can be woken easily. Brain produces theta waves.
N2 (Light Sleep) ~20 minutes Body temperature falls and brain activity produces short bursts called sleep spindles. These are linked to memory consolidation. You spend more time in N2 than any other stage.
N3 (Deep Sleep) ~30 minutes The most physically restorative stage. Slow delta waves dominate. Growth hormone is released, tissue repair accelerates, and the immune system strengthens. Waking from N3 causes the worst grogginess.
N2 (Return) ~10 minutes The brain climbs back through light sleep before entering REM. A brief transitional window. Relatively easy to wake from.
REM Sleep ~25 minutes Brain activity spikes close to waking levels. Eyes move rapidly, most vivid dreaming occurs, and the brain processes emotions and consolidates learning. Voluntary muscles are temporarily paralysed.

Why the 90-Minute Cycle Matters

The boundaries between cycles are the key to waking well. At the end of each 90-minute block, you briefly approach the surface of consciousness before the next cycle pulls you back under. Setting your alarm to coincide with one of these transition points means you wake from light sleep rather than being dragged out of a deep stage.

This is not a new observation. Sleep researchers have tracked the 90-minute rhythm (the ultradian cycle) since the 1960s. What has changed is our understanding of how precisely timing interacts with sleep quality. A 2011 study published in the journal Sleep Medicine Reviews found that perceived sleep quality correlated more strongly with waking at the right point in the cycle than with total hours slept.

How Cycles Shift Through the Night

Your first one or two cycles contain the longest stretches of deep (N3) sleep. This is when the body does its heaviest physical restoration. By cycles three and four, deep sleep shrinks and REM periods lengthen from around 10 minutes to 30 minutes or more. This shift explains a common pattern: if you sleep for only four hours you may still feel physically recovered (you got your deep sleep), but your concentration and mood suffer badly (you missed most of your REM).

It also explains why oversleeping can leave you feeling worse. Push past your natural six-cycle window and you often wake in the middle of a new deep-sleep phase, which is the worst possible moment. More sleep is not always better sleep. The right number of complete cycles is what counts, and that number varies by age. Our age-adjusted recommendations account for this.

How Much Sleep Do You Actually Need?

The honest answer is: it depends on your age. The National Sleep Foundation published a landmark set of duration recommendations in 2015, drawing on over 300 research papers reviewed by a multi-disciplinary panel of 18 experts.2 The NHS broadly aligns with these figures for UK guidance.1

Our calculator uses this data to label your results. When you select an age group, the number of cycles we flag as “Recommended”, “Minimum”, or “Extended” shifts to match the table below.

Age Group Recommended Sleep Ideal Cycles Min Cycles Max Cycles
Child (6–12) 9–11 hours 6–7 6 8
Teen (13–17) 8–10 hours 5–6 5 7
Adult (18–64) 7–9 hours 5–6 5 6
Over 65 7–8 hours 5 4 6

A few things stand out. Children need far more sleep than adults. A school-age child going to bed at the same time as their parents and waking for the same alarm will almost certainly be under-sleeping. Teenagers sit in a difficult middle zone: they biologically need 8–10 hours, but early school start times and delayed melatonin release (their body clock shifts later during puberty) conspire against them.2

Adults aged 18–64 fall into the 7–9 hour bracket that most people are familiar with, equating to five or six full 90-minute cycles. The Great British Sleep Survey found that the UK average is just 6 hours and 30 minutes, a full cycle short of the minimum recommendation.3 If that sounds like you, the calculator results marked “Recommended” are your target.

Over 65s can often function well on slightly less (7 to 8 hours) because the proportion of deep sleep naturally decreases with age. That said, poor sleep in this group is frequently caused by underlying issues (pain, medication side effects, sleep apnoea) rather than a reduced need for sleep itself. If you consistently struggle to reach four complete cycles, speak to your GP.

Why Waking at the Right Time Matters

You set an alarm for the “right” amount of sleep, get a solid eight hours, and still wake up feeling terrible. Sound familiar? The culprit is almost always sleep inertia, that heavy, foggy, lead-limbed feeling that hits when an alarm drags you out of deep N3 sleep before your cycle has finished.

Sleep inertia can impair cognitive performance for up to 30 minutes after waking, with effects on decision-making comparable to mild intoxication.

Research published in the Journal of the American Medical Association found that abrupt waking from deep sleep produced measurable impairment in reaction time and short-term memory, lasting between 15 and 30 minutes even after a full night’s rest.

That’s why sleeping “more” does not guarantee feeling better. Eight hours that end mid-cycle will often leave you groggier than seven hours that end between cycles. The calculator above is built around this principle: rather than targeting a fixed number of hours, it targets natural wake-up windows where sleep inertia is at its lowest.

Sleep inertia is worst when you wake from deep sleep in the first half of the night, but it still occurs if you wake from a deep phase in the early morning. The intensity also increases with sleep deprivation. If you’re already running a sleep debt, waking at the wrong moment hits harder. Shift workers and people with irregular schedules are particularly vulnerable.

So what should you actually do? Pick a bedtime that gives you the right number of complete cycles for your age group, and set your alarm to land on the boundary between them. That is exactly what the results above are designed to do. If you regularly need more than 30 minutes to “come round” in the morning, it is worth talking to your GP, because persistent severe sleep inertia can be a sign of an underlying sleep disorder.

Tips to Improve Your Sleep Quality

Timing your sleep cycles correctly is only half the equation. The quality of each cycle matters just as much. A few targeted changes to your routine and environment can make the difference between waking refreshed and dragging yourself through the morning.

1. Keep a Consistent Sleep Schedule

Your body clock (circadian rhythm) thrives on regularity. Going to bed and waking up at roughly the same time every day, weekends included, trains your brain to fall asleep faster and cycle through stages more efficiently. Shifting your schedule by even 90 minutes at the weekend can produce a “social jet lag” effect that lingers into Tuesday.

2. Make Your Bedroom Cool, Dark, and Quiet

Your core body temperature needs to drop by about one degree Celsius to trigger deep sleep. A bedroom temperature of 16–18°C is ideal for most people. Use blackout curtains or an eye mask to block light, and if noise is an issue, a white-noise machine or earplugs can help protect those lighter N1 and N2 phases from disruption.

3. Cut Caffeine After Early Afternoon

Caffeine has a half-life of around five to six hours, meaning half the caffeine from a 3pm coffee is still circulating at 9pm. It blocks adenosine, the chemical that builds sleep pressure, and directly reduces the amount of deep N3 sleep you get. A simple rule: no coffee, tea (except herbal), or energy drinks after 1pm.

4. Limit Screens in the Last Hour Before Bed

Blue light from phones, tablets, and laptops suppresses melatonin production and delays the onset of sleep. If you cannot avoid screens entirely, switch to night-mode settings and reduce brightness. Better still, swap scrolling for reading, light stretching, or a warm bath. All of these help your body temperature drop, which is what triggers sleep onset.

5. Be Smart About Napping

A short nap of 20 minutes can boost afternoon alertness without interfering with nighttime sleep. Anything longer risks entering deep sleep, which creates its own sleep inertia when you wake and reduces the sleep pressure you need to fall asleep that evening. If you nap, do it before 2pm and set an alarm.

6. Check Your Mattress Isn’t Working Against You

An uncomfortable or worn-out mattress causes micro-awakenings, brief disruptions you won’t remember but that pull you out of deep sleep over and over. If your mattress is more than seven years old, sags visibly, or you wake with aches that fade during the day, it is likely affecting your cycle quality. Browse our UK mattress reviews to find the right replacement for your sleep style.

7. Wind Down With a Consistent Pre-Sleep Routine

A 20–30 minute wind-down routine signals to your nervous system that sleep is coming. This can be as simple as dimming the lights, reading a few pages, or doing some gentle breathing exercises. Consistency is what makes it work. Doing the same thing each night builds an association in your brain that speeds up sleep onset and shortens the latency period the calculator accounts for.

8. Watch What You Eat and Drink in the Evening

Heavy meals close to bedtime force your digestive system to work overtime, raising core temperature and disrupting deep sleep. Alcohol is misleading too. It may help you nod off faster, but it fragments the second half of the night and heavily suppresses REM sleep. Aim to finish eating at least two hours before bed, and keep alcohol moderate if you want your cycles intact.

What Your Sleep Calculator Results Mean

Each result card represents a complete number of 90-minute sleep cycles, plus your sleep latency time. The colour-coded badges tell you where each option sits relative to the recommendations for your age group:

  • Recommended (green) sits within the ideal cycle range for your age, balancing enough deep sleep for physical recovery with enough REM for mental sharpness. Start here.
  • Minimum (amber) meets the lower threshold. You’ll get through the day, but you may notice reduced concentration and a shorter temper over time. Fine for the odd early start, not as a habit.
  • Extended (blue) is above the recommended range. Useful when recovering from illness or sleep debt, but regularly overshooting can disrupt your circadian rhythm and leave you feeling sluggish.

If none of the suggested times fit your schedule, it is better to pick the closest option rather than splitting the difference. Waking between cycles is always worse than a slightly shorter or longer night. Want to know how much sleep you owe? Try our Sleep Debt Calculator. For more help choosing the right sleep setup, take our 60-second mattress quiz or browse our sleep advice guides.

Better Sleep Starts With the Right Mattress

Timing your sleep cycles is only effective if your mattress lets you stay in deep sleep without tossing and turning. A good mattress supports your spine, regulates temperature, and reduces the micro-awakenings that fragment your night.

Frequently Asked Questions

References (3)

  1. NHS guidance on how to get to sleep, covering practical tips for improving sleep quality and establishing healthy sleep habits.

    https://www.nhs.uk/live-well/sleep-and-tiredness/how-to-get-to-sleep/
  2. Hirshkowitz, M. et al. “National Sleep Foundation’s sleep time duration recommendations: methodology and results summary.” Sleep Health, 1(1), pp. 40–43, 2015. Peer-reviewed study establishing age-adjusted sleep duration guidelines based on over 300 research papers.

    https://doi.org/10.1016/j.sleh.2014.12.010
  3. Silentnight & University of Leeds. “The Great British Sleep Survey.” 2012. Large-scale UK sleep study that found the national average sleep duration is just 6 hours and 30 minutes per night.

    https://www.silentnight.co.uk/sleep-matters/

This calculator is an educational tool. It is not a substitute for medical advice. If you have concerns about your sleep, consult your GP.

Decorative award symbol in corner
Mobile award badge

Introducing our WantMattress Better-Sleep Award

Looking for a new mattress? Our experts have tried and tested the best UK mattresses for back, side, and front sleepers from Eve, Emma, Origin, and more top brands.

Quantitative measurements icon
New Quantitative Measurements
Head-to-head comparison icon
Radar Analysis Head to Head
Suitable for different sleeper types icon
Who This Mattress Will Suit
Sleep experts' approval icon
Why our sleep experts loved it