Home

Sleep Calculator — BedTimeSmart

Sleep Calculator

Wake up refreshed — timed to your natural 90-minute sleep cycles

15 min
15 min

One tap — if you fall asleep now, here is when to wake up feeling fresh.

15 min
Naps longer than 30 minutes but shorter than 90 can leave you groggy — that’s sleep inertia from waking mid-cycle.

Recommended sleep per night, based on National Sleep Foundation guidance:

Age groupRecommended
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
Use the tabs above with your age group’s range to pick the bedtime or wake time that gives you full 90-minute cycles inside it.
Based on the average 90-minute sleep cycle. Everyone is different — if you consistently wake up groggy, try shifting your time by 15–20 minutes. This tool is for general guidance, not medical advice.

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 timeBedtime for 6 cycles (about 9 hours of sleep)Bedtime for 5 cycles (about 7 hours 30 minutes of sleep)
5:00 AM7:45 PM9:15 PM
5:30 AM8:15 PM9:45 PM
6:00 AM8:45 PM10:15 PM
6:30 AM9:15 PM10:45 PM
7:00 AM9:45 PM11:15 PM
7:30 AM10:15 PM11:45 PM
8:00 AM10:45 PM12: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 PM5:15 AM6:45 AM
10:00 PM5:45 AM7:15 AM
10:30 PM6:15 AM7:45 AM
11:00 PM6:45 AM8:15 AM
11:30 PM7:15 AM8:45 AM
12:00 AM7:45 AM9:15 AM
12:30 AM8:15 AM9: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 cyclesTime asleep
1 cycle1 hour 30 minutes
2 cycles3 hours
3 cycles4 hours 30 minutes
4 cycles6 hours
5 cycles7 hours 30 minutes
6 cycles9 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.

  1. Fix the wake-up time first. Everything else counts backwards from it.
  2. 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.
  3. 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.
  4. Set one alarm for the wake-up time, and a simple reminder for bedtime if your evenings tend to drift.
  5. 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.
  6. 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.

What Is the Optimal Time to Sleep?

People often ask for the optimal sleep time as if it were a single setting, one perfect bedtime written down somewhere. It does not exist, and any tool that names one without asking about your life is guessing.

What does exist is an optimal time for you, tonight, and it comes from four things. First, duration: enough hours for your age and your body, which for most adults means somewhere in the 7 to 9 hour range. Second, regularity: a bedtime you can repeat beats a brilliant bedtime you manage twice a month, because your body clock sets itself by pattern. Third, your obligations: the wake-up time that your work, family or studies actually demand. Fourth, you: some people genuinely run earlier and some run later, and fighting your own tilt forever rarely works.

Watch the idea work in practice. Two people both wake at 6:30 AM. One needs close to 9 hours and does her best work early, so her optimal bedtime is the six cycle option, in bed by 9:15 PM. The other thrives on about 7 hours and 30 minutes and comes alive at night, so his optimal time is 10:45 PM. Same alarm, same calculator, two different right answers. Both are optimal, because optimal simply means the longest, most repeatable night your life allows, timed to end near the end of a cycle.

So use the calculator this way: start from your fixed wake-up time, take the longest option you can honestly repeat, and let that be your optimal time. If you want help working out how many hours your body needs, the age section below gives the ranges and the two-week experiment that finds your personal number.

Sleep Calculator by Age: How Much Sleep Do You Need?

Sleep need is not one number for everyone. It changes across a lifetime, which is why the same 10:45 PM bedtime can leave a teenager short and an adult perfectly fine. The table below shows the widely used recommended sleep ranges published by the CDC. These are recommendations drawn from expert review, not rules your body signed, and the right point inside your range is something only your own alertness over a week or two can tell you.

Age groupRecommended sleep in 24 hoursExample bedtime
Newborns, 0 to 3 months14 to 17 hours, including napsNo single bedtime; sleep is spread across the day and night
Infants, 4 to 12 months12 to 16 hours, including napsNo single bedtime; sleep is spread across the day and night
Toddlers, 1 to 2 years11 to 14 hours, including napsIn bed about 6:15 PM for a 7:00 AM wake-up (illustration, see note below)
Preschoolers, 3 to 5 years10 to 13 hours, including napsIn bed about 7:15 PM for a 7:00 AM wake-up (illustration, see note below)
School-age children, 6 to 12 years9 to 12 hoursIn bed about 8:15 PM for about 10 hours 30 minutes before a 7:00 AM wake-up
Teenagers, 13 to 17 years8 to 10 hoursIn bed about 9:15 PM for about 9 hours before a 6:30 AM wake-up
Adults, 18 to 60 years7 or more hoursIn bed about 10:15 PM for about 8 hours before a 6:30 AM wake-up
Older adults, 61 to 64 years7 to 9 hoursIn bed about 10:15 PM for about 8 hours before a 6:30 AM wake-up
Older adults, 65 years and older7 to 8 hoursIn bed about 10:15 PM for about 8 hours before a 6:30 AM wake-up

A note on the examples: each one adds 15 minutes for falling asleep (the calculator’s starting setting) and counts backwards from the wake-up time. For toddlers and preschoolers, the recommended total includes naps, so where a child still naps, the night portion is shorter and the real bedtime will usually be later than the illustration. Treat every example as a starting point to test for a few days, not as a prescription.

Notice what the table also shows: a recommended duration is not a bedtime by itself. You still have to count backwards from a real wake-up time, which is exactly what the sections above do. Children’s sleep has its own patterns, naps and nightly battles that a general table flattens out, so work bedtimes out child by child: fix the wake time first, then count back by the hours in your child’s row of the table.

The table gives your range. To find your own number inside it, run the experiment sleep researchers trust: for two weeks, go to bed at the same time every night, weekends included, set no alarm, and let yourself wake naturally. Write down how long you slept each night.

The first few days usually run long — that is your body clearing a sleep backlog, not your real need. By the end of the second week your wake time settles, and that average is your personal number. Keep the room dark and quiet during the experiment, and skip alcohol, which fragments sleep and skews the result. Once you know your number, count back from your wake-up time using the sections above and you have your bedtime.

Frequently Asked Questions

How does the sleep calculator work?

It works in whole sleep cycles. You give it one fixed time, a bedtime or wake-up time. It adds or subtracts your fall-asleep time (15 minutes unless you change it), counts in roughly 90-minute blocks, and offers the times where whole cycles end. Those end points are estimates from average cycle lengths, not measurements of your sleep stages, so treat them as planning points rather than a guarantee of an easy wake-up. Every result is an estimate, not a promise.

Why does the calculator add time for falling asleep, and how long does it really take to fall asleep?

Most healthy adults take about 10 to 20 minutes to fall asleep after lights out, so the calculator starts from 15 minutes as a middle estimate, changeable to your own number. Yours may be shorter or longer. If you regularly lie awake 40 minutes, your real bedtime needs to be about 25 minutes earlier. If much longer is your normal most nights, pay attention: very long or very short fall-asleep times can signal something is off with your sleep.

Is every sleep cycle exactly 90 minutes?

No. Ninety minutes is an average, not a metronome. Real cycles run from about 70 to 120 minutes, differ from person to person, and change across a single night, with deeper cycles early on and longer dreaming periods towards morning. The calculator uses 90 minutes because it is a workable planning average. If your results consistently feel wrong by roughly the same amount, nudge your bedtime or alarm by 10 to 15 minutes and test again for a few nights.

Do sleep calculators work?

They work as planning tools, not as measuring tools. The maths is simple: count backwards or forwards in cycles of about 90 minutes, and allow time to fall asleep. What no calculator can know is your exact cycle length on a given night, because it changes. So use the suggested times as well-reasoned starting points, test them for a few nights, and shift by 15 minutes if you keep waking up groggy.

If I go to sleep now, when should I wake up?

Add about 15 minutes to the time you get into bed, because that is roughly when sleep starts. Then count forwards in 90 minute cycles: four cycles is about 6 hours, five is about 7 hours and 30 minutes, six is about 9 hours. If a fixed alarm falls between two end points, keep the alarm and take the longer sleep. Waking mid-cycle on a full night usually feels better than cutting the night short to hit a boundary.

Should I aim for 5 cycles or 6 cycles?

For most adults, six cycles, about 9 hours, is the better target when life allows it, and five cycles, about 7 hours and 30 minutes, suits many adults as the shorter option. Which is right depends on how you function. If you wake before your alarm, feel alert all afternoon and do not rely on caffeine, your current amount is enough. If you are dragging by mid-afternoon most days, try the extra cycle, added gradually, 15 minutes at a time.

Does it matter what time you go to bed, if you are getting the same hours of sleep?

Partly. The total hours matter most. But timing is not irrelevant. Regularity lets your body clock prepare for sleep and waking; daylight anchors it; and the same hours feel worse when bedtime jumps by hours. For example, 2 AM to 10 AM gives eight hours, but whether it suits you depends on your body clock, regularity and obligations. Very late bedtimes only work with equally late mornings daily. For most people, steady timing beats the same hours at random times.

What should I do if I only slept for 2 hours?

Get up at your usual time, and get bright light, ideally outside. Keep the day normal, be careful with driving and anything safety-critical, and skip the long catch-up nap: if you nap at all, keep it short and early. Then protect the next night: go to bed at your normal time rather than crashing hours early and shifting your whole pattern. One short night is miserable but common, and your body will push you towards deeper sleep the next night.

Disclaimer: BedTimeSmart is a general wellness tool based on published sleep science. It is not medical advice. If you have ongoing trouble sleeping, loud snoring, or excessive daytime sleepiness, talk to a doctor or sleep specialist.

Related Calculators

Sources

Last updated: 19 October 2026