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
How many sleep cycles do I need per night?
Most adults need five or six complete 90-minute cycles per night, which works out at 7.5 to 9 hours of actual sleep. Children aged 6–12 typically need six or seven cycles, and teenagers need five or six. The right number depends on your age and how your body works, which is why our calculator adjusts its recommendations for each age group. Getting fewer than five cycles on a regular basis is linked to poorer concentration, a weaker immune system, and higher health risks over time.
What happens if I wake up mid-cycle?
Waking mid-cycle, particularly during deep N3 sleep, causes sleep inertia: that heavy, groggy feeling where your brain takes 15 to 30 minutes to fully come online. Reaction time, decision-making, and short-term memory all take a hit during this window. The calculator times your alarm to land between cycles, when you are naturally closest to wakefulness, so you sidestep the worst of this effect.
Is 6 hours of sleep enough?
For most adults, six hours is below the recommended minimum. It equates to roughly four sleep cycles, meaning you miss out on the extended REM periods that occur in cycles five and six, which are the ones that matter most for memory and mood. The Great British Sleep Survey found that the UK average is just 6 hours 30 minutes, and respondents in that bracket reported noticeably more daytime fatigue and irritability than those sleeping 7–8 hours.
What is sleep latency and why does it matter?
Sleep latency is the time between getting into bed and actually falling asleep. For most people it is somewhere between 10 and 20 minutes. The calculator adds this buffer so your cycles start from when you fall asleep, not when your head hits the pillow. You can adjust the latency value in the advanced options if you know you take longer or shorter than average to drift off. Consistently falling asleep in under five minutes may indicate sleep deprivation rather than efficiency.
Why does the calculator ask for my age?
Sleep needs vary quite a bit depending on age. A child aged 6–12 needs 9–11 hours (six to seven cycles), a teenager 8–10 hours, and an adult 7–9 hours. Over-65s can often manage well on 7–8 hours because the proportion of deep sleep decreases naturally. Selecting your age group lets the calculator label each result as Recommended, Minimum, or Extended based on the guidelines published by the National Sleep Foundation and broadly endorsed by the NHS.
What time should I go to sleep if I wake up at 6am?
For a 6:00am wake-up with 14 minutes of sleep latency, the ideal bedtimes are 8:46pm (six cycles, 9 hours), 10:16pm (five cycles, 7.5 hours), or 11:46pm (four cycles, 6 hours). For most adults, the five-cycle option at 10:16pm hits the recommended range. Use the calculator above with your exact age group for personalised badges showing which option is best for you.
What time should I go to sleep if I wake up at 6:30am?
To wake at 6:30am feeling alert, aim for 9:16pm (six cycles), 10:46pm (five cycles), or 12:16am (four cycles), assuming roughly 14 minutes to fall asleep. The five-cycle bedtime of 10:46pm is a solid target for most working adults. Adjust the sleep latency slider in the calculator if you tend to fall asleep faster or slower than average.
What time should I go to sleep if I wake up at 7am?
For a 7:00am alarm with 14 minutes of latency, your cycle-aligned bedtimes are 9:46pm (six cycles), 11:16pm (five cycles), or 12:46am (four cycles). Five cycles at 11:16pm gives most adults the recommended 7.5 hours. If you are a teenager or a child, six cycles is the better target, so select your age group in the calculator for tailored results.
What time should I go to sleep if I wake up at 7:30am?
With a 7:30am wake-up and standard 14-minute latency, aim for 10:16pm (six cycles, 9 hours), 11:46pm (five cycles, 7.5 hours), or 1:16am (four cycles, 6 hours). The five-cycle option is the recommended target for adults aged 18–64. Run the calculator with your age group selected to see which options carry the Recommended, Minimum, and Extended badges for your specific bracket.
What time should I go to sleep if I wake up at 8am?
For an 8:00am alarm, the cycle-aligned bedtimes (with 14 minutes’ latency) are 10:46pm (six cycles), 12:16am (five cycles), or 1:46am (four cycles). Most adults should target five or six cycles. If you work shifts or have an irregular schedule, the “Sleep now” button can calculate from your current time so you always align to a full cycle regardless of when you get to bed.
Can I catch up on missed sleep at the weekend?
Partially, but not fully. A weekend lie-in can help you recover some short-term sleep debt, but it will not undo the cognitive and metabolic effects of a week of under-sleeping. Worse, drastically shifting your bedtime at the weekend creates “social jet lag” where your body clock gets confused and Monday morning feels like crossing time zones. You’re better off keeping wake times consistent and, if needed, add one extra cycle on weekend nights rather than sleeping until noon.
Why do I feel more tired after a long sleep?
Sleeping longer than your body needs typically means you wake in the middle of a new deep-sleep cycle rather than at the natural boundary between cycles. That triggers sleep inertia, the heavy, foggy feeling that can take 30 minutes to shake. Oversleeping also disrupts your circadian rhythm, delaying melatonin release the following evening and making it harder to fall asleep on time. The aim is not maximum hours but the right number of complete cycles for your age.
How does my mattress affect my sleep cycles?
An unsupportive or worn-out mattress causes micro-awakenings, brief arousals you rarely remember but that keep pulling you out of deep N3 and REM stages. The result is fragmented cycles even though you spent enough hours in bed. Pressure points, overheating, and partner disturbance are the main culprits. If you regularly wake feeling unrested despite following good sleep timing, your mattress is worth investigating. Our mattress reviews cover support, temperature regulation, and motion isolation to help you find a better match.
Is the sleep calculator accurate?
The calculator is based on the well-established 90-minute ultradian sleep cycle model and age-adjusted duration guidelines from the National Sleep Foundation (2015). It provides a strong starting point, but individual cycle lengths can vary between 80 and 120 minutes. Think of the suggested times as the best available estimate rather than a clinical prescription. If you try the recommended bedtime for a week and still feel groggy, experiment with shifting 15 minutes earlier or later to fine-tune your personal cycle length.
This calculator is an educational tool. It is not a substitute for medical advice. If you have concerns about your sleep, consult your GP.