Sleep Calculator
Wake up refreshed — timed to your natural 90-minute sleep cycles
One tap — if you fall asleep now, here is when to wake up feeling fresh.
Recommended sleep per night, based on National Sleep Foundation guidance:
| Age group | Recommended |
|---|---|
| Newborns (0–3 mo) | 14–17 hours |
| Infants (4–11 mo) | 12–15 hours |
| Toddlers (1–2 y) | 11–14 hours |
| Preschoolers (3–5 y) | 10–13 hours |
| School age (6–13 y) | 9–11 hours |
| Teenagers (14–17 y) | 8–10 hours |
| Adults (18–64 y) | 7–9 hours |
| Older adults (65+ y) | 7–8 hours |
Sleep Calculator: Calculate Your Bedtime and Wake-Up Time
This calculator works out the two times that decide how your morning feels: when to get into bed, and when to set your alarm. It does the counting in sleep cycles, the natural rounds of light sleep, deep sleep and dreaming that you pass through all night long.
You can use it in two directions. If you know when you must wake up, it counts backwards and gives you bedtimes. If you know when you are going to bed, it counts forwards and gives you wake-up times. Either way, you get a short list of options built from whole sleep cycles, plus a little time added for drifting off. You may also hear tools like this called a sleep counter, sleep clock or sleep calculator app. This calculator runs directly in your browser, so there is nothing to install. In that sense, it works as a bedtime calculator as well as a wake-up time calculator: enter the time you need to get up, and it works backwards to find possible times to turn out the lights.
To use it, pick your fixed time, choose your direction, and look at the options. Most adults end up choosing between the options that give five or six full cycles. In the results, “bedtime” means the time to be in bed with the lights out. The calculator then adds your fall-asleep time (15 minutes is the starting setting) before the first cycle starts.
One honest limit before you start: every result here is an estimate, built on averages. Real sleep cycles are not exactly 90 minutes long for anyone, and no calculator can promise that you will wake up refreshed. What it can do is replace guesswork with a sensible starting point. This guide explains how the numbers are worked out, so you can judge them for yourself and adjust them to your own life.
How to Calculate Sleep Times
Every result on this page comes from one simple recipe: sleep runs in cycles of about 90 minutes, and a typical night holds four to six of them. To plan a night, you count in whole cycles, then add the time you need to fall asleep at the start. Calculating sleep is all a sleep estimator does: it estimates the time you will be asleep, then adds the minutes you need to drift off.
Falling asleep is not instant. For most people it takes somewhere around 10 to 20 minutes after the lights go out, so this calculator uses 15 minutes as its starting estimate, and you can change it to your own number. If you drop off faster, or lie awake much longer, move your bedtime by that difference. The recipe looks like this: bedtime, plus your fall-asleep time (15 minutes in this recipe), plus a whole number of 90 minute cycles, equals your wake-up time.
One distinction matters in every calculation on this page: time in bed is not the same as time asleep. If you get into bed at 10:00 PM but only fall asleep at 10:25 PM, a 6:00 AM alarm gives you 7 hours and 35 minutes of sleep, not the 8 hours you spent in bed. That gap is exactly why the calculator counts from the moment sleep starts, not from lights out. When you judge your own nights, always compare the sleep itself, never just the hours in bed.
Here is a worked example. Sarah has to wake up at 6:30 AM. Counting backwards with five cycles: five cycles is 7 hours and 30 minutes of sleep, so she needs to be asleep by 11:00 PM. Taking off the 15 minutes to fall asleep gives a bedtime of 10:45 PM. With six cycles she would need to be asleep by 9:30 PM, so in bed by 9:15 PM. She now has two options: in bed at 9:15 PM for about 9 hours of sleep, or in bed at 10:45 PM for about 7 hours and 30 minutes.
Run the same recipe forwards from a 10:45 PM bedtime and you get wake-up times of 6:30 AM after five cycles, or 8:00 AM after six cycles.
Why count in cycles at all? Because waking in the middle of one, especially out of deep sleep, is what usually leaves people groggy and slow. Timing your alarm to the end of a planned cycle can help, because you are more likely to be in light sleep at that point than in the middle of deep sleep. It is still an estimate, not a law of biology, and the section on sleep cycles below explains exactly where the 90 minute figure bends.
How Long Does It Take to Fall Asleep?
For most healthy adults, about 10 to 20 minutes after the lights go out. Sleep doctors call this gap sleep latency, or sleep onset, and it is the number this whole page is built around: the calculator starts counting your cycles from when you are likely asleep, not from when you get into bed. Children and teenagers often need a longer wind-down in the evening, and older adults commonly drift off a little more slowly too, so judge your number against your own normal, not against anyone else’s.
Where you fall in that range matters less than the pattern. Dropping off in under about 5 minutes, night after night, can be a sign that you are not getting enough sleep, not proof that you are a champion sleeper. Regularly lying awake for more than 30 minutes is the other warning sign: your body is in bed, but it is not ready for sleep.
The usual things that stretch the gap are late caffeine, bright screens in the last hour, an irregular wake-up time, a late nap, and a mind that starts reviewing the day the moment the room goes quiet. The fixes that shorten it are boring but reliable: the same wake-up time every day, a short wind-down before bed, dim light in the last hour, and a cool, dark room. If you are still wide awake after about 20 minutes, getting up for a few minutes of low light and a dull book beats wrestling the pillow.
Whatever your number is, use it. That is why the calculator above lets you set your own fall-asleep time instead of forcing everyone onto 15 minutes: pick the option closest to your real life, and every bedtime on this page shifts to match.
What Time Should I Go to Bed?
If your wake-up time is fixed, your bedtime does not have to be a fresh mystery every night. Count backwards from the alarm in whole sleep cycles, take off the time you take to fall asleep (15 minutes in the table below), and then choose between the longer and the shorter option.
The table below does that counting for common wake-up times. The six cycle option gives about 9 hours of sleep. The five cycle option gives about 7 hours and 30 minutes. Both are reasonable for most adults. The right one is the one you can repeat most nights.
| Wake-up time | Bedtime for 6 cycles (about 9 hours of sleep) | Bedtime for 5 cycles (about 7 hours 30 minutes of sleep) |
|---|---|---|
| 5:00 AM | 7:45 PM | 9:15 PM |
| 5:30 AM | 8:15 PM | 9:45 PM |
| 6:00 AM | 8:45 PM | 10:15 PM |
| 6:30 AM | 9:15 PM | 10:45 PM |
| 7:00 AM | 9:45 PM | 11:15 PM |
| 7:30 AM | 10:15 PM | 11:45 PM |
| 8:00 AM | 10:45 PM | 12:15 AM |
Example one: the early shift. You wake at 5:30 AM for work. Six cycles means being asleep by 8:30 PM, so in bed by 8:15 PM. If that feels impossibly early, five cycles puts you in bed at 9:45 PM, asleep by 10:00 PM, for 7 hours and 30 minutes of sleep. Pick the version you can keep on work nights, not the one that only works once.
Example two: the slower morning. Your natural wake-up is around 8:00 AM. Counting backwards, six cycles starts with sleep at 11:00 PM, so a bedtime of 10:45 PM. Five cycles starts with sleep at 12:30 AM, so in bed by 12:15 AM. A later morning simply moves the whole pattern later.
Three habits make any bedtime from this table work better. Keep your wake-up time steady at weekends too, within about half an hour. Treat bedtime as lights out, not as the time you get into bed and start scrolling. And if you are still wide awake after about 20 minutes, get up, do something quiet in low light, and go back to bed when you feel sleepy.
If your problem is not tonight’s time but holding a routine week after week, that is a different job. The habit side is built the same way as the timing side: one small change at a time, held for a week before you judge it.
Calculate Your Wake-Up Time From Your Bedtime
Maybe your evenings are the fixed part. Work, family, a late shift or a favourite show decides when you get to bed, and what you need from the calculator is the other end of the night: when to set the alarm.
The recipe simply runs forwards. Add your fall-asleep time (15 minutes in the table below), then count whole cycles from there. The table below shows, for common bedtimes, when you would wake up after five cycles and after six. Setting your alarm for one of these times, instead of an arbitrary round hour, gives you a kinder start to the day.
| Bedtime (lights out) | Wake-up after 5 cycles (about 7 hours 30 minutes of sleep) | Wake-up after 6 cycles (about 9 hours of sleep) |
|---|---|---|
| 9:30 PM | 5:15 AM | 6:45 AM |
| 10:00 PM | 5:45 AM | 7:15 AM |
| 10:30 PM | 6:15 AM | 7:45 AM |
| 11:00 PM | 6:45 AM | 8:15 AM |
| 11:30 PM | 7:15 AM | 8:45 AM |
| 12:00 AM | 7:45 AM | 9:15 AM |
| 12:30 AM | 8:15 AM | 9:45 AM |
How do you choose between the two times? If your morning has a hard deadline, a school run or a train to catch, take the option that lands before it with room to spare. If both fit, most adults feel better on the six cycle option simply because it is more sleep. And avoid a common trap: do not pick the earlier alarm just to feel virtuous, if it cuts your night below about 7 hours night after night.
There is a softer question hiding inside this one. It is not only “when can I wake up?” but “when should I?” Choosing a wake-up time that suits your body and your life, and then holding it steady, is the real decision — and part of “suits your body” is your chronotype: natural early birds genuinely run earlier than night owls, and fighting your own type costs more than it saves. Pick the earliest wake time you can honestly hold every day, weekends included, and let the maths in this section do the rest.
How Sleep Cycles Work
A sleep cycle is one full pass through the stages of sleep. You drift from light sleep down into deep sleep, climb back towards lighter sleep, and usually finish the round with a period of dreaming, called REM sleep. Then the next cycle begins. Across a full night, you repeat this round roughly four to six times.
A sleep cycle calculator uses an estimated cycle length to work out possible sleep and wake-up times. This one uses 90 minutes as its planning average, rather than claiming to measure your actual sleep stages.
One cycle lasts about 90 minutes on average. That average is the number this calculator is built on, and it deserves an honest footnote. In real life, cycles vary. They commonly run anywhere from about 70 to 120 minutes. They tend to be deeper in the first half of the night, when deep sleep does most of its work, and more dream-heavy towards morning, when the REM periods stretch out. Your cycles are not identical to anyone else’s either, and they shift with age, tiredness, alcohol and illness.
So why calculate with 90 minutes at all? Because it is a good planning average. Think of it like planning a drive using an average speed. The estimate will not match every mile, but it beats guessing. Timing your wake-up to the end of a planned cycle raises the chance that the alarm rings while you are in light sleep, when waking feels easier, instead of dragging you out of deep sleep, when people wake up groggy.
The table below turns cycles into hours, so you can see the shape of a night at a glance.
| Sleep cycles | Time asleep |
|---|---|
| 1 cycle | 1 hour 30 minutes |
| 2 cycles | 3 hours |
| 3 cycles | 4 hours 30 minutes |
| 4 cycles | 6 hours |
| 5 cycles | 7 hours 30 minutes |
| 6 cycles | 9 hours |
One last honest point. How much sleep you get matters at least as much as where a cycle ends. A full 9 hours with the alarm landing in an ordinary place will usually serve you better than 6 hours timed to perfection. Use the cycle maths to choose between sensible options, not to justify cutting your night short.
REM Sleep and Sleep-Cycle Estimates
REM sleep is the dreaming stage that ends most cycles. Across a whole night it adds up to roughly a fifth to a quarter of your sleep, arriving in short bursts at first and in longer stretches towards morning.
This calculator counts whole cycles, so the times it gives you already include your REM periods. What it cannot do is pinpoint your personal REM stages on any given night. Those shift with your age, your recent sleep, alcohol, medicines and stress, and no bedtime formula can see them. Treat any REM figure from a simple calculator as a rough share of the night, never as a measurement.
What Is Core Sleep?
If your sleep tracker shows a big block of “core sleep,” nothing has gone wrong. Core sleep is not an official medical sleep stage. It is a label wearable makers use for the light stages of non-REM sleep, N1 and especially N2. Apple, for example, groups N1 and N2 together as “Core” on its sleep charts.
That is why the number looks so large. N2 alone makes up around half of a normal night, so core sleep fills roughly 40 to 50 percent of the night for everyone. A big core-sleep bar simply means your night had the normal amount of light sleep in it.
Light sleep is not wasted sleep. N1 is the short doorway into sleep, and N2 is where your body temperature and heart rate settle and where a good share of memory processing and motor-skill learning happens. Every deep-sleep and REM period is reached by passing through these light stages first. Without them, the rest of the cycle cannot happen.
One caution about the numbers themselves: a tracker estimates stages from wrist movement and an algorithm. A sleep lab measures them from brain activity, eye movements, and muscle signals. Use your tracker to spot patterns across weeks, not to judge a single night.
The practical takeaway: do not chase a core-sleep target. There is not one. What protects every stage, core included, is enough total sleep — seven to nine hours for most adults — at consistent times. If you regularly take longer than 30 minutes to fall asleep, snore loudly, or feel sleepy through the day, that is worth a conversation with a doctor. One odd night on a tracker is not.
How to Get More Deep Sleep
Deep sleep — stage 3 of non-REM sleep, also called slow-wave sleep — is the part of the night your body uses for physical repair and immune support. You cannot order your brain to produce more of it, but you can give it the conditions it needs, because deep sleep follows a pattern: most of it happens in the first half of the night. A late bedtime and a broken night cut it first.
Sleep long enough, at the same times. Deep sleep rides on total sleep. Keep a fixed wake time every day, and move your bedtime earlier in 15-minute steps if you are falling short — never in one big jump.
Protect the first half of the night. Every awakening sends you back to light sleep, and you must climb down to deep sleep again. A cool, dark, quiet room and fewer interruptions mean longer unbroken stretches where deep sleep can actually arrive.
Move stimulants and alcohol earlier. Caffeine late in the day and alcohol in the evening both fragment sleep. Finish caffeine by early afternoon, finish alcohol at least three hours before bed, and never use a nightcap to force sleep — it breaks up the second half of the night.
Regular exercise helps too, with hard sessions finished at least six hours before bed, and a calm wind-down in the last hour does more than any supplement.
If your tracker shows very little deep sleep for weeks and you wake unrefreshed despite seven to nine hours in bed, look at your sleep as a whole. Our Sleep Efficiency Calculator shows the share of your time in bed that is real sleep — the number most people can genuinely improve.
Had a bad night already? Do not try to repay it all tonight by going to bed hours early — that fragments the next night too. Keep your normal wake time, get morning light, keep caffeine to the morning, and skip the long late nap. Your body helps here: after sleep loss it takes more deep sleep on its own, a rebound effect, so one normal night usually restores the deep sleep first.
And know the limits of self-help. Loud snoring, breathing pauses, or waking up gasping points to sleep apnea, which no bedtime trick fixes — that needs a doctor, not a better routine. The same goes if you drink large amounts of alcohol regularly, or take medication that affects sleep: do not change either on your own to chase deep sleep; ask the doctor who prescribed it.
If I Fall Asleep Now, When Should I Wake Up?
It is late, you are finally heading to bed, and the question turns very practical: if I fall asleep now, when should I wake up? It has an anxious twin, the one people ask in forums at 2 AM: if I fall asleep right this second, how much sleep am I actually going to get?
Do the maths once, here, and then stop doing it in the dark. Add your fall-asleep time (15 minutes is the starting setting), then count cycles forwards from now. Suppose you get into bed at 11:20 PM. You are likely asleep by about 11:35 PM. Four full cycles end at 5:35 AM, giving 6 hours of sleep. Five cycles end at 7:05 AM, with 7 hours and 30 minutes. If your alarm is fixed at 6:30 AM, it will ring about 55 minutes into your fifth cycle, not at a neat boundary. Take the full night through to 6:30 rather than cutting yourself down to the 5:35 AM option. More sleep beats a shorter sleep timed to perfection.
The short night deserves a straight answer too. If it is 1:00 AM and the alarm is set for 7:00 AM, you are looking at roughly 5 hours and 45 minutes of sleep once you drift off. No cycle trick turns that into a full night, and this calculator will not pretend otherwise. Sleep the whole stretch, keep your usual wake-up time, get bright light and a normal morning routine to carry you through the day, and protect the following night instead of sleeping in for hours to repay it all at once.
One habit is worth breaking: recalculating your sleep again and again in bed. That arithmetic is this page’s job, not yours at midnight. Work it out, set the alarm, and let the maths go.
Turn Your Calculated Times Into a Sleep Plan
A calculated time only helps if it survives contact with your real evening. This short checklist turns tonight’s numbers into a plan you can actually keep.
- Fix the wake-up time first. Everything else counts backwards from it.
- Pick your bedtime option from the calculator or the tables, six cycles if you can and five if you cannot, and treat that time as lights out.
- Work backwards once more for your wind-down. If bedtime is 10:45 PM, screens down and lights low from about 10:15 PM gives your brain the right message.
- Set one alarm for the wake-up time, and a simple reminder for bedtime if your evenings tend to drift.
- Compare weekdays and weekends honestly. A shift of up to about half an hour is fine. A three hour weekend lie-in is a small time zone change you give yourself, and Monday morning will feel like one.
- Give the plan a week before you judge it. One groggy morning proves little. Seven mornings tell you whether the times actually suit you.
That is a plan for one night and one week. Turning it into a lasting routine is a bigger job: shift gradually, about 15 minutes a day, and rescue a schedule that keeps slipping by fixing the wake time first.