Sleep calculator: what time should I go to bed?

Choose when you need to wake up or when you’re going to bed, and this sleep calculator works out the best times in 90-minute cycles, all in your browser.

What do you want to work out?
The time your alarm needs to go off.
In minutes, from 0 to 60. Most people take about 15.
Age group
Clock

How the sleep cycle calculator works

This sleep calculator works in 90-minute sleep cycles. Each cycle moves through lighter and deeper sleep, and many people find it easier to get up when the alarm lands at the end of a cycle rather than part-way through one.

The sum is simple:

The tool shows three to six cycles, which is 4.5 to 9 hours of sleep. Five and six cycles are marked “best” because they give 7.5 and 9 hours, which sit inside the usual range for adults. The age buttons highlight the hours suggested for children, teenagers, adults and over-65s.

Time to fall asleep is set to 15 minutes by default. Change it to anything from 0 to 60 minutes if you usually drop off faster or slower.

Why count cycles instead of hours? Eight hours is 5.3 cycles, so it ends part-way through one. Counting in cycles gives you a choice such as 7.5 or 9 hours, each with a matching bedtime or wake-up time.

Ninety minutes is an average. Cycle length varies from person to person and from night to night, so treat every time as a starting point, not a rule. If you wake up rested, your timing is probably working for you.

Regular sleep hours, a dark and cool bedroom and less caffeine later in the day are all common sleep tips. If you often find it hard to sleep, read the NHS advice on insomnia. Your settings are saved in your browser, so the calculator opens as you left it. Nothing is sent anywhere.

Sleep calculator questions

What time should I go to bed?

It depends on when you need to get up. Choose your wake-up time and the calculator counts back in 90-minute cycles, allowing for the time it takes you to fall asleep. Five or six cycles (7.5 or 9 hours) are marked “best”.

How long is a sleep cycle?

A sleep cycle is a stretch of lighter and deeper sleep that averages about 90 minutes, and you go through several in a night. The exact length varies from person to person and from night to night. That’s why the times here are a guide, and you may want to nudge them by a few minutes.

How many hours of sleep do I need?

It depends on your age and on you. As a general guide, children aged 6 to 12 are suggested 9 to 12 hours, teenagers 8 to 10, adults 7 to 9 and people aged 65 and over 7 to 8. If you often struggle to sleep, see the NHS page on insomnia.

How many sleep cycles do I need?

Five or six cycles, which is 7.5 or 9 hours, are marked “best” here and sit inside the usual adult range. Four cycles (6 hours) and three cycles (4.5 hours) are shown for shorter nights. Younger people are generally suggested more sleep, so check the age buttons.

Is it better to wake up at the end of a sleep cycle?

Many people find it easier to get up at the end of a cycle than part-way through one, but it isn’t the same for everyone. Because cycle length varies, try a time for a few days and see how you feel. Adjust the time to fall asleep if the results keep feeling a little off.