Country & language

Sets the currency, units and country-specific rules (tax, VAT, salary) in calculators. General tools stay the same.

Pages that are not translated yet open in English.

↑ ↓ to move · Enter to open · Esc to close

Sleep Calculator

Enter the time you have to get up, or the time you are going to bed. We add the minutes you need to drift off, count whole 90-minute sleep cycles and check the total against the hours recommended for your age – and in Ramadan, we split the night into a block before suhoor and a block after Fajr.

Quick answer: Count back whole 90-minute sleep cycles plus about 15 minutes to fall asleep. To wake up at 7:00 AM, go to bed at 11:15 PM (5 cycles, 7.5 hours of sleep) or 9:45 PM (6 cycles, 9 hours) – both inside the 7–9 hours recommended for adults.

Updated · Free · No sign-up

Sleep Calculator inputs

More options
min

Result

Go to bed at

11:15 PM

5 sleep cycles · 7.5 h of sleep

Other bedtimes: 9:45 PM (6 cycles, 9 h) · 12:45 AM (4 cycles, 6 h) · 2:15 AM (3 cycles, 4.5 h)

All options

Go to bed atSleep cyclesSleep timeFor your age (7–9 h)
9:45 PM69 hWithin the 7–9 h recommended
11:15 PM57.5 hWithin the 7–9 h recommended
12:45 AM46 hBelow the 7–9 h recommended – occasional nights only
2:15 AM34.5 hBelow the 7–9 h recommended – occasional nights only

Includes 15 minutes to fall asleep.

For general information only – not medical advice. Consult a healthcare professional.

Why the calculator counts in 90-minute blocks

Sleep is not one long stretch. After you drop off you pass through three stages of non-REM sleep – light, then deeper, then the slow-wave stage that is hardest to wake from – before reaching REM sleep, when most dreaming happens. REM first arrives about 90 minutes after you fall asleep, and the sequence then repeats through the night. Early cycles hold most of the deep sleep; later ones hold longer REM periods, which is why cutting the night short costs you mostly REM.

The calculator uses that average to place your alarm at the end of a cycle, when sleep is lightest, instead of in the middle of deep sleep, where waking up brings the heavy-headed feeling known as sleep inertia.

Bedtime = wake-up time − (cycles × 90 min) − time to fall asleep

Wake-up time = bedtime + time to fall asleep + (cycles × 90 min)

It then compares each option with the sleep recommended for your age and leads with the latest bedtime that still meets the minimum – 5 cycles for adults and over-65s, 6 for teenagers.

Three worked examples

An adult up at 7:00 AM

With 15 minutes to fall asleep, five cycles mean bed at 11:15 PM and 7.5 hours of sleep; six cycles mean 9:45 PM and 9 hours. Both are inside the 7–9 hours the National Sleep Foundation recommends for ages 18–64. Four cycles – bed at 12:45 AM – give 6 hours, which is fine for an odd night but below the 7-hour minimum as a habit. If you usually take half an hour to drop off, set that under the advanced options and the five-cycle bedtime moves to 11:00 PM.

A teenager up at 6:00 AM for school

Teenagers need 8–10 hours, so five cycles (7.5 h) fall short. The calculator leads with six cycles: bed at 8:45 PM. Going to bed at 10:15 PM – what many teenagers actually do – gives five cycles and is flagged as below the recommendation.

Ramadan: suhoor at 4:00 AM, up at 8:30 AM

In Ramadan the night is broken by suhoor and Fajr, so the calculator plans two blocks. Back in bed at 5:15 AM after Fajr, with 15 minutes to drop off, leaves 3 hours before 8:30 AM – exactly two cycles, so the morning alarm goes at 8:30 AM. To reach 7.5 hours in total you need three cycles before the suhoor alarm, which means bed at 11:15 PM. If work starts earlier – suhoor at 4:30 AM, back in bed at 5:45 AM and up at 7:00 AM – the morning block is too short for a full cycle, and even four cycles before suhoor (bed at 10:15 PM) give only 6 hours. That is the night to stay up after Fajr and add a 90-minute nap in the afternoon.

Bedtimes for common alarms

Adults, 15 minutes to fall asleep:

Alarm6 cycles (9 h)5 cycles (7.5 h)4 cycles (6 h)
4:30 AM (Fajr)7:15 PM8:45 PM10:15 PM
6:00 AM8:45 PM10:15 PM11:45 PM
6:30 AM9:15 PM10:45 PM12:15 AM
7:00 AM9:45 PM11:15 PM12:45 AM

Going the other way, if you get into bed at 11:00 PM the best alarms are 6:45 AM (5 cycles) or 8:15 AM (6 cycles); 5:15 AM gives only four.

Sleep needed by age

AgeRecommended a nightCycles that reach it
Teenagers (14–17)8–10 h6 (9 h)
Adults (18–64)7–9 h5 or 6 (7.5 or 9 h)
Older adults (65+)7–8 h5 (7.5 h)

The AASM and Sleep Research Society put the adult line at “7 hours or more” with no upper limit, noting that more can suit young adults, people recovering from lost sleep and people who are ill.

What shifts your times

  • Your own cycle length. 90 minutes is an average; if you still wake groggy at a predicted time, move bedtime 10–15 minutes either way for a week.
  • Time to fall asleep. A late meal, caffeine or a screen in bed can stretch it; enter what is true for you.
  • Sleep debt. After short nights the body favours deep sleep, so an alarm can land in it even at a cycle boundary.
  • Ramadan and summer schedules. In the Riyadh armband study, fasting adults went to bed and woke later, and their total sleep fell by about an hour a night by the second week. The non-fasting group, living in the same city, did not change.

Common mistakes

  • Counting time in bed as sleep. The calculator adds the minutes it takes you to drift off; leave them out and every alarm is early.
  • Choosing the bedtime with the most cycles but not going to bed then – the five-cycle time you will keep beats the six-cycle time you won’t.
  • Using 4.5 or 6 hours as a regular plan. Waking at a cycle boundary makes a short night feel better; it doesn’t make it long enough.
  • In Ramadan, planning only the block before suhoor and losing the morning block to the phone.

When to get help

See a doctor if you regularly sleep 7 hours or more and still feel unrefreshed, if someone notices you snore loudly or stop breathing in your sleep, if you fall asleep at the wheel or in meetings, or if trouble falling or staying asleep lasts for weeks. Shift workers and anyone driving for a living should take daytime sleepiness seriously, in Ramadan and out of it.

For general information only – not medical advice. Consult a healthcare professional.

Frequently asked questions

What time should I go to bed to wake up at 6 or 7 AM?

With 15 minutes to fall asleep and five 90-minute cycles, bed at 10:45 PM for a 6:30 AM alarm and 11:15 PM for 7:00 AM; add one more cycle and it is 9:15 PM or 9:45 PM. A teenager up at 6:00 AM needs six cycles – bed at 8:45 PM – to reach the 8–10 hours recommended at that age.

How long is a sleep cycle?

About 90 minutes on average. Sleep moves through three stages of non-REM sleep into REM sleep, which first arrives about 90 minutes after falling asleep, and the cycle then repeats; real cycles run shorter or longer, so treat the times as a starting point.

How many hours of sleep do I need?

The American Academy of Sleep Medicine and the Sleep Research Society recommend 7 hours or more for adults. The National Sleep Foundation’s ranges are 8–10 hours at 14–17, 7–9 hours at 18–64 and 7–8 hours from 65 – which is why the calculator picks 5 cycles (7.5 h) for adults and 6 cycles (9 h) for teenagers.

Why do I wake up tired after 8 hours?

Often because the alarm lands in deep sleep: 8 hours is five cycles and a third, so you are pulled out part-way through the sixth. The grogginess is called sleep inertia. Going to bed 15 minutes earlier, so the alarm comes at 7.5 or 9 hours, or simply sleeping too little on earlier nights, are the usual fixes.

Is 6 hours of sleep enough?

Not as a habit for adults: 6 hours is four cycles, below the 7-hour minimum recommended by the AASM and SRS. For one night it is better to wake at the end of the fourth cycle – 12:45 AM to bed for a 7:00 AM alarm – than to sleep 6.5 hours and wake mid-cycle.

How should I plan sleep around suhoor and Fajr in Ramadan?

Split it. With a 4:00 AM suhoor alarm, back in bed at 5:15 AM and up by 8:30 AM, go to bed at 11:15 PM for three cycles before suhoor and set the morning alarm for 8:30 AM after two more – 7.5 hours in total. If the morning block is too short for a cycle, the night block alone has to carry it, or add an afternoon nap.

Do people really sleep less in Ramadan?

Often. In a Riyadh study that tracked 8 fasting Muslims with armband sensors, total sleep fell from 5.9 hours a night before Ramadan to 4.8 hours in its second week, while bedtimes moved later; the non-Muslim comparison group did not change. Planning both blocks on purpose is how you keep the total up.

Is a short nap or a 90-minute nap better?

Both work if you avoid waking from deep sleep in between. In NASA’s 1994 study of long-haul pilots, a planned 40-minute rest gave about 26 minutes of sleep and better alertness through descent and landing; a 90-minute nap covers a full cycle, which suits recovering lost night sleep.

What changed

  • – Page fully reviewed: the calculator now checks every option against the sleep recommended for your age (teenager, adult, 65+) and leads with the latest bedtime that still meets it, lists 3 to 6 cycles, and adds a Ramadan mode that plans a block of sleep before the suhoor alarm and a second block after Fajr, with the morning alarm at the end of a whole cycle.

Sources

Last reviewed: · Reviewed by Chelsea, CalcBright's animated guide, for the CalcBright editorial team · How we check our numbers