Sleep Calculator
Find the best time to sleep or wake up based on 90-minute sleep cycles.
Most adults need 7 to 9 hours of sleep a night. Sleep runs in cycles of about 90 minutes, so waking up at the end of a cycle — rather than in the middle of deep sleep — is what makes mornings feel easier.
Worked example
Say you need to wake up at 7:00 and it usually takes you 15 minutes to fall asleep. For 5 sleep cycles (7.5 hours), you need to be asleep by 23:30, so go to bed at 23:15.
For 6 cycles (9 hours), go to bed at 21:45; for 4 cycles (6 hours), go to bed at 00:45. Each step is one 90-minute cycle plus the 15 minutes it takes to fall asleep.
Sleep Calculator
Sleep Calculator: A Guide to Waking Up at the Right Time
How the number is worked out
Sleep does not run in one smooth block. It runs in cycles of roughly 90 minutes, moving from light sleep into deep sleep and then into dreaming sleep, then back again. Most adults get through about five or six cycles a night. Waking up mid-cycle, especially out of deep sleep, is what makes mornings feel awful even after a long night. Waking at the end of a cycle, when sleep is lightest, tends to feel much easier.
The sleep calculator works backwards or forwards from that 90-minute rhythm. If you tell it when you want to wake up, it subtracts whole cycles, plus about 15 minutes for the average time it takes to fall asleep, and gives you bedtimes. If you tell it when you plan to go to bed, it adds cycles forward and gives you wake times. The 15 minutes matters: going to bed is not the same as falling asleep, and people who ignore it end up a quarter of an hour short every night without noticing.
Five cycles is 7.5 hours of sleep, six cycles is 9 hours. Most adults do well on five cycles, and some need six. Fewer than four cycles, which is under 6 hours, leaves most people noticeably worse the next day: slower thinking, worse mood, stronger cravings. The calculator does not decide how much sleep you need; it shows you the times that fit whole cycles around the amount you choose.
Reading your result
You get a set of times, not one answer, and that is deliberate. Pick the time that fits your life. If the calculator offers 10:45 pm and 12:15 am for a 7:30 am alarm and you know you cannot be in bed before midnight, the later time is the honest choice — a shorter night at the end of a cycle usually beats a longer night cut short mid-cycle, though neither beats simply getting enough sleep.
Read the result as a schedule to test, not a rule to obey. Try one bedtime for a week and notice how you feel in the first hour after waking, not just how long you were in bed. If you wake groggy every day despite whole cycles, the problem is usually total sleep time or sleep quality, not the arithmetic. Snoring, waking often, or feeling unrefreshed after 8 or 9 hours are worth raising with a qualified health professional, because no calculator can spot a sleep disorder.
Consistency matters too: going to bed at 10:30 pm one night and 1:30 am the next scrambles your body clock even if both nights are long enough. The same bedtime and wake time every day does more for how you feel than any single cleverly timed night.
Common mistakes
The biggest mistake is counting time in bed as time asleep. If you go to bed at 11 pm, scroll on your phone for 40 minutes, and fall asleep at 11:40, your night started at 11:40, not 11. The calculator already allows 15 minutes to drift off; if you regularly take longer, shift your bedtime earlier by that much.
The second is the weekend lie-in. Sleeping until noon on Saturday after a week of 6:30 am alarms feels like catching up, but it pushes your body clock later and makes Monday morning harder. A lie-in of an extra hour is fine; three or four hours is a small act of self-sabotage.
The third is late caffeine and late heavy meals. Caffeine has a half-life of roughly five to six hours, so a strong coffee at 5 pm is still half there at 11 pm, quietly making it harder to fall into deep sleep even if you feel tired. Bright screens late at night have a similar effect. None of this needs perfection — just a regular wind-down: dim lights, no heavy food, and the phone charging outside the bedroom if you can stand it.
Worked example
Say you need to wake at 6:30 am and you usually take about 15 minutes to fall asleep. For five cycles, you need 7.5 hours of sleep plus 15 minutes to drift off, which is 7 hours 45 minutes before 6:30 am. Count back: 6:30 am minus 7 hours is 11:30 pm, minus 45 minutes more is 10:45 pm. So be in bed, lights out, at 10:45 pm.
For six cycles, you need 9 hours plus 15 minutes, which is 9 hours 15 minutes before 6:30 am: 6:30 am minus 9 hours is 9:30 pm, minus 15 minutes is 9:15 pm. Those are your two candidate bedtimes. If 9:15 pm is impossibly early for your life, 10:45 pm is the realistic pick, and the honest trade is one fewer cycle.
The same maths runs forward. In bed at 11:30 pm, asleep around 11:45 pm, five cycles ends at 7:15 am and six cycles at 8:45 am. That is why a 7:00 am alarm after an 11:30 pm bedtime often feels rough: it lands mid-cycle, about 15 minutes before a natural waking point.
A note on estimates: sleep cycles average about 90 minutes but vary person to person and night to night, so these times are estimates, not medical advice. If you regularly struggle to fall asleep, stay asleep, or feel unrefreshed, talk to a qualified health professional.
The Sleep Calculator suggests bedtimes or wake-up times based on 90-minute sleep cycles, so you can wake up at the end of a cycle instead of in the middle of one. It is for anyone who wants to plan their sleep around their schedule.
Frequently Asked Questions
How does the Sleep Calculator work?
It counts backwards or forwards in 90-minute sleep cycles from the time you set. You get a list of suggested times to go to bed or wake up.
What do I need to enter?
Pick whether you want a bedtime or a wake-up time, enter that time, and add how long it usually takes you to fall asleep. The calculator shows your suggested times right away.
How many hours of sleep do I need?
Most adults need 7 to 9 hours a night. Sleep runs in cycles of about 90 minutes, so the calculator aims to wake you at the end of a cycle rather than in deep sleep — that is why it suggests times in 90-minute steps. Five to six full cycles is a good target.
Is 6 hours of sleep enough?
For most adults, no — 6 hours is only 4 sleep cycles, below the 7 to 9 hours most adults need. A few people feel fine on 6 hours, but most feel slower, moodier and hungrier the next day. If 6 hours is all you can get, time it to whole cycles — for example, go to bed at 00:45 for a 7:00 wake-up — and try to add a cycle when you can.
How to use this tool
Wake up refreshed by timing your sleep in 90-minute cycles. Calculate the perfect bedtime or wake-up time in one click.
Read More →More tools
BMR Calculator
Find out how many calories your body burns at rest and per day.
BMI Calculator
Calculate your BMI and find your healthy weight range.
Protein Calculator
Calculate your daily protein target in grams, based on your weight, activity level and goa...
Food Database
Look up calories, protein, carbs and fat for any food.
Meal Log
Log what you eat and see your daily totals.
Exercise Log
Track your workouts and calories burned.
Water Tracker
Stay hydrated — track every glass.
Daily Tracker
Everything you logged today, in one place.
⚠️ The information on this site is for general guidance only and is not medical advice. Please consult a qualified health professional before making changes to your diet, exercise, or health routine.