Sleep Calculator: Your Best Bedtime + Sleep Score (1-Minute Test)
Enter your wake-up time to see exactly when to go to bed, then answer 7 quick questions for a sleep score out of 100 and the 2 changes that would help you most.
Step 1
We'll work backwards from this to find your best bedtime.
Step 2
Adults need 7–9 hours. After 65, 7–8 hours is usually enough.
Please enter an age between 18 and 100. Teens need 8–10 hours of sleep.
Step 3 · Duration
Count only the time you're asleep, not the time you spend in bed.
Step 4 · Falling asleep
Think about most nights in the last month.
Step 5 · Staying asleep
Struggling means lying awake for 20 minutes or more.
Step 6 · Regularity
Include weekends and days off.
Step 7 · Daytime alertness
Like nodding off while reading or watching TV, or fighting sleep in meetings or while driving.
Step 8 · Satisfaction
Go with your first answer.
Last step
Pick all that apply. These can be signs of a sleep disorder that's worth checking.
Working out your best bedtime…

Tell us when you need to wake up, and this sleep calculator shows exactly when to go to bed. Answer 7 more quick questions to get a sleep score out of 100, see which part of your sleep is letting you down, and get the 2 changes most likely to help. It takes about a minute.
How the bedtime calculator works
We count back from your wake-up time by the amount of sleep you need, plus a little time to fall asleep:
- Adults 18–64 need at least 7 hours a night, according to the American Academy of Sleep Medicine and the Sleep Research Society. 7–9 hours is the recommended range, so we show bedtimes for 9, 8 and 7 hours, with 8 as the best middle ground.
- Adults 65 and older usually do well on 7–8 hours, according to the National Sleep Foundation, so we show 8, 7½ and 7 hours.
- Time to fall asleep: we add 15 minutes by default, or what you tell us, up to 20 minutes. We cap it on purpose. If it takes you much longer to fall asleep, going to bed even earlier usually makes it worse, because you spend more time lying awake.
What about 90-minute sleep cycles?
Many sleep calculators promise you’ll wake up refreshed if you time your alarm to the end of a 90-minute cycle. It’s a nice idea, but cycle length varies from person to person and from cycle to cycle through the night, so precise cycle timing isn’t reliable. Getting enough sleep and keeping a regular schedule matters far more. If you’re curious about what happens in each stage, see sleep stages explained.
How the sleep score works
Researchers describe good sleep as more than just hours. A widely cited model of sleep health (Buysse, Sleep, 2014) looks at several areas together. Our score rates 6 of them from your answers:
| Area | What counts as good |
|---|---|
| Sleep duration | 7–9 hours of actual sleep |
| Falling asleep | Within about 30 minutes |
| Staying asleep | Rarely lying awake 20+ minutes |
| Regularity | Wake-up time varies less than an hour |
| Daytime alertness | Rarely fighting to stay awake |
| Satisfaction | Usually waking up refreshed |
The “good” thresholds for falling and staying asleep follow the National Sleep Foundation’s sleep quality recommendations. Each area scores 0, 1 or 2, and the total is scaled to 100: 85+ is great, 70–84 good, 50–69 fair and under 50 poor. The questions are our own, so this isn’t a validated clinical questionnaire or a diagnosis. Its purpose is to point you to what to work on first.
The changes that help most
- Keep a regular wake-up time, weekends included. In a study of about 60,000 adults who wore activity trackers, people with the most regular sleep had a lower risk of dying during follow-up than the least regular, and regularity predicted it better than sleep length did.
- Stop caffeine at least 6 hours before bed. In a controlled study, a large dose of caffeine taken 6 hours before bedtime still cut sleep by about an hour.
- Get out of bed if you can’t sleep. After about 20 minutes, get up and do something calm in dim light, then go back when you’re sleepy. It’s one of the core techniques of CBT-I, which the American College of Physicians recommends as the first treatment for chronic insomnia, ahead of sleeping pills.
- Go easy on evening alcohol. It helps you fall asleep but disrupts the second half of the night. See alcohol and sleep.
For more, read how to fall asleep fast and how to sleep better after 40.
When to see a doctor about your sleep
- Loud snoring, pauses in breathing or gasping, especially with daytime sleepiness, can mean obstructive sleep apnea. It’s common, often undiagnosed, and treatable, and testing can often be done at home.
- An urge to move your legs in the evening that eases when you move may be restless legs syndrome. Low iron is a common, fixable cause.
- Trouble falling or staying asleep 3+ nights a week for 3+ months, with daytime effects, is chronic insomnia. It deserves proper treatment, not just more sleep hygiene tips.
- Feeling very sleepy during the day despite 7+ hours, or falling asleep at the wheel. Don’t drive when drowsy.
This test is for education only and isn’t medical advice. Read our medical disclaimer. It also isn’t designed for shift workers or teens, whose sleep needs and timing are different. See all our free health calculators.
Sources
- Watson NF, et al. Recommended amount of sleep for a healthy adult: a joint consensus statement of the American Academy of Sleep Medicine and Sleep Research Society. Sleep. 2015;38(6):843-844. PubMed 26039963
- Hirshkowitz M, et al. National Sleep Foundation’s sleep time duration recommendations: methodology and results summary. Sleep Health. 2015;1(1):40-43. PubMed 29073412
- Buysse DJ. Sleep health: can we define it? Does it matter? Sleep. 2014;37(1):9-17. PubMed 24470692
- Ohayon M, et al. National Sleep Foundation’s sleep quality recommendations: first report. Sleep Health. 2017;3(1):6-19. PubMed 28346153
- Windred DP, et al. Sleep regularity is a stronger predictor of mortality risk than sleep duration: a prospective cohort study. Sleep. 2024;47(1):zsad253. PubMed 37738616
- Drake C, et al. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. J Clin Sleep Med. 2013;9(11):1195-1200. PubMed 24235903
- Qaseem A, et al. Management of chronic insomnia disorder in adults: a clinical practice guideline from the American College of Physicians. Ann Intern Med. 2016;165(2):125-133. PubMed 27136449
- Kapur VK, et al. Clinical practice guideline for diagnostic testing for adult obstructive sleep apnea: an American Academy of Sleep Medicine clinical practice guideline. J Clin Sleep Med. 2017;13(3):479-504. PubMed 28162150
- Allen RP, et al. Restless legs syndrome/Willis-Ekbom disease diagnostic criteria: updated International Restless Legs Syndrome Study Group consensus criteria. Sleep Med. 2014;15(8):860-873. PubMed 25023924
This article is for informational purposes only and is not medical advice. See our Medical Disclaimer before changing your exercise, diet, or supplement routine.
See every method in action
New research-backed workouts on YouTube every week — no gym required.
Frequently asked questions
What time should I go to bed?
Count back 7u20139 hours from your wake-up time, plus about 15 minutes to fall asleep. To wake at 6:30 AM with 8 hours of sleep, for example, aim for lights out around 10:15 PM. The calculator above does the math for you.
How much sleep do adults need?
Adults 18u201364 need at least 7 hours a night, and 7u20139 hours is the recommended range. Adults 65 and older usually do well on 7u20138 hours.
Do 90-minute sleep cycles matter when choosing a bedtime?
Not much. Sleep cycle length varies between people and through the night, so timing your alarm to an exact cycle is unreliable. Getting enough sleep and keeping a regular schedule matter far more.
How long should it take to fall asleep?
Falling asleep within about 30 minutes is considered healthy. Regularly taking longer than that, especially 3 or more nights a week for months, can be a sign of insomnia.
Is it bad to sleep in on weekends?
A small lie-in is fine, but big shifts in your wake-up time act like jet lag. Research suggests regular sleep timing is linked to better health, so try to keep your wake time within about an hour every day.
When should I see a doctor about my sleep?
See a doctor if you snore loudly, stop breathing or gasp in your sleep, feel very sleepy in the day despite enough sleep, feel an urge to move your legs at night, or have trouble sleeping 3 or more nights a week for 3 months or more.
Is this sleep test a diagnosis?
No. It is an educational self-check built on published sleep-health research. It can point you to what to improve and flag signs worth discussing with a doctor, but only a clinician can diagnose a sleep disorder.