Sleep Calculator
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free sleep calculator. Find the best time to go to bed for your wake-up time, or when to wake up if you sleep now, in full 90-minute sleep cycles.
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the sleep calculator
- Choose what you know: the time you need to wake up, or the time you're going to bed.
- Enter the time.
- Set how long it takes you to fall asleep. The default is 15 minutes, about average for healthy adults.
The sleep calculator lists the best times to go to bed (or to wake up), for 6, 5, 4 and 3 full sleep cycles, with the hours of sleep each gives. The 5- and 6-cycle options, 7.5 and 9 hours, are highlighted as recommended for adults.
How sleep cycles work
Sleep isn't one steady state. Through the night, you go through repeated cycles, each lasting roughly 90 minutes on average, made up of stages:
- Light sleep (N1 and N2): the transition into sleep, and the stage where you spend about half the night.
- Deep sleep (N3): slow-wave sleep, when the body repairs itself. There's more of it early in the night.
- REM sleep: rapid eye movement sleep, when most dreaming happens. REM periods get longer towards morning.
Waking up during deep sleep is what usually leaves you groggy, a feeling called sleep inertia. Waking near the end of a cycle, in lighter sleep, tends to feel easier. That's the idea behind the sleep calculator: plan your sleep in whole cycles so your alarm goes off between them.
How the times are calculated
To find a bedtime: wake-up time − time to fall asleep − (number of cycles × 90 minutes).
To find a wake-up time: bedtime + time to fall asleep + (number of cycles × 90 minutes).
For a 6:30 am alarm, allowing 15 minutes to fall asleep:
| Go to bed at | Sleep | Cycles |
|---|---|---|
| 9:15 pm | 9 hours | 6 |
| 10:45 pm | 7.5 hours | 5 |
| 12:15 am | 6 hours | 4 |
| 1:45 am | 4.5 hours | 3 |
If you go to bed at 11:30 pm, the sleep calculator suggests waking at 7:15 am (5 cycles) or 8:45 am (6 cycles), or 5:45 am if you must (4 cycles).
How much sleep do you need?
Health organisations recommend:
- Adults (18–64): 7 to 9 hours a night.
- Older adults (65+): 7 to 8 hours.
- Teenagers (14–17): 8 to 10 hours.
- School-age children (6–13): 9 to 11 hours.
So for most adults, 5 cycles (7.5 hours) or 6 cycles (9 hours) fit the recommendation. Regularly sleeping 6 hours or less is linked to poorer concentration, mood and long-term health, even if waking at the end of a cycle makes it feel easier in the morning.
Why 90 minutes is an average
Cycle length varies between people, and between cycles in the same night, from about 80 to 120 minutes. The time it takes to fall asleep varies too. So treat the sleep calculator's times as a good starting point rather than an exact prescription.
Try a time for a week. If you still wake groggy, shift your bedtime 15 minutes earlier or later until mornings feel easier. Many people find their own rhythm this way.
Tips for better sleep
- Keep a regular schedule, even at weekends. A consistent wake-up time is the most powerful habit for good sleep.
- Get daylight in the morning, which helps set your body clock.
- Limit caffeine after early afternoon. Caffeine can stay in your system for many hours.
- Keep the bedroom cool, dark and quiet.
- Put screens away for the last half hour or so before bed.
- Avoid big meals and alcohol close to bedtime; alcohol in particular disrupts later sleep cycles.
- Get up if you can't sleep after about 20 minutes, and do something calm in dim light until you feel sleepy.
Naps
A short nap of 10 to 20 minutes gives a boost without grogginess, because you wake before deep sleep. A 90-minute nap covers a full cycle. Naps of 30 to 60 minutes are the ones most likely to leave you groggy. Avoid napping late in the afternoon if it makes night-time sleep harder. For a quick timer, use the online timer.
Shift work
If you work nights or rotating shifts, the same cycle maths applies. Use the sleep calculator with your planned wake-up time before a shift, keep the room as dark as possible, and keep the same sleep times on consecutive work days. Converting between 12-hour and 24-hour rotas? The military time converter helps.
When to see a doctor
Talk to a doctor if you regularly have trouble falling or staying asleep, snore loudly or stop breathing in your sleep, feel very sleepy during the day despite enough time in bed, or have an urge to move your legs at night. These can be signs of conditions like insomnia or sleep apnoea, which are treatable.
Privacy and accuracy
Your times stay in your browser. Nothing is uploaded or saved. The sleep calculator uses fixed 90-minute cycles and the time you set to fall asleep, with exact clock arithmetic across midnight and no AI involved. It's general guidance, not medical advice.
Sleep for teenagers and students
Teenagers' body clocks naturally shift later, which is why many find it hard to fall asleep early and wake up for school. They also need more sleep: 8 to 10 hours. For a 7:00 am wake-up, the sleep calculator suggests 9:45 pm or 11:15 pm (with 15 minutes to fall asleep), and 9:45 pm, giving six cycles, is the better choice for most teens. Before exams, consistent sleep helps memory more than late-night revision.
Jet lag and time changes
When you travel across time zones, your body clock takes about a day per hour of difference to adjust. Use the sleep calculator with the local wake-up time at your destination, get daylight in the morning there, and avoid long naps. For working out times across zones, the time zone converter helps.
Tracking how you feel
Sleep needs vary. Keep a simple note for two weeks: bedtime, wake time and how rested you felt (1 to 5). Compare it with the times from the sleep calculator. Patterns often appear quickly, such as feeling much better on 7.5 hours than on 6.5, which helps you choose your best bedtime.
Quick reference
- Sleep cycle: about 90 minutes of light, deep and REM sleep.
- Sleep latency: time to fall asleep.
- Sleep inertia: grogginess after waking during deep sleep.
- Chronotype: whether you're naturally an early bird or a night owl.
Set your own sleep latency in the sleep calculator for times that match you.
Weekend lie-ins
Sleeping much later at weekends shifts your body clock, a bit like flying across time zones, which can make Monday mornings harder. If you need extra sleep, try going to bed earlier rather than waking much later, and keep your wake-up time within about an hour of your weekday time. The sleep calculator can suggest a bedtime that fits.
A worked example
Priya starts work at 8:00 and needs to be up at 6:30 am. She usually takes about 15 minutes to fall asleep. The sleep calculator suggests going to bed at 10:45 pm for 5 cycles (7.5 hours) or 9:15 pm for 6 cycles (9 hours).
She'd been going to bed around 11:30 pm and waking up tired. She moves her bedtime to 10:45 pm, puts her phone on charge in the kitchen, and after a week notices she wakes up just before her alarm most mornings.
On Saturday she goes to bed at 11:30 pm with no alarm needed. The sleep calculator, in "go to bed at" mode, suggests waking at 7:15 am or 8:45 am, so she sets a gentle alarm for 8:45 am to keep her weekend lie-in from drifting too late.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit is a Google Ads agency that does PPC and nothing else: we build the campaigns, block the searches that waste money, write the ads, set up conversion tracking and send you a short report every week. Request a free PPC audit and we will show you, in dollars, what we would fix first.
Frequently asked questions
What time should I go to bed to wake up at 7 am?
Allowing 15 minutes to fall asleep, 9:45 pm (6 cycles) or 11:15 pm (5 cycles). The sleep calculator works it out for any time.
How long is a sleep cycle?
About 90 minutes on average, though it varies from roughly 80 to 120 minutes.
Is it better to sleep 6 hours or 7.5 hours?
7.5 hours. Adults need 7 to 9 hours; 6 hours regularly is too little for most people.
Why do I wake up tired after 8 hours?
You may be waking during deep sleep, or not sleeping as long as you think. Try adjusting bedtime by 15 to 30 minutes.
Does the sleep calculator account for time to fall asleep?
Yes. Set the minutes it usually takes you; the default is 15.
Is the sleep calculator free?
Yes, completely free, with no sign-up.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.