Sleep Calculator

Find your best bedtime or wake time using 90-minute sleep cycles. Add your last 7 nights to see your sleep debt too.

15 minutes is a typical average if you're not sure.
Sets the recommended sleep range used for the sleep-debt math below.
Add your last 7 nights (optional, for sleep debt)
Leave any night blank to skip it. Hours only, e.g. 6.5.

This uses population averages, not your actual sleep stages. It's a starting point to test against how you actually feel, not a diagnosis.

How sleep cycles work

Sleep isn't one flat state, it's a series of cycles, each moving through light sleep, deep sleep, and REM before starting over. The commonly used average for one full cycle is 90 minutes, which is why bedtime calculators count backward or forward in blocks of 90. Waking up at the end of a cycle, rather than in the middle of deep sleep, tends to feel less groggy, even if the total hours are similar. That's the whole idea behind this calculator: instead of just picking a round number of hours, it lines your wake-up or bedtime up with a cycle boundary.

90 minutes is an average, not a rule

Real sleep cycles run anywhere from about 70 to 120 minutes, and they shift across the night, with more deep sleep earlier and more REM later. So a calculator using a flat 90-minute cycle is giving you a reasonable estimate to test, not a precise readout of your own sleep architecture. If a suggested time consistently leaves you groggy, that's useful information about where your own cycles run long or short.

What the cycle counts mean

Four cycles works out to about 6 hours of sleep, five cycles to about 7.5 hours, and six cycles to about 9 hours. Most adults land somewhere in the 7-to-9-hour range recommended by sleep researchers, which is why five or six cycles is usually the more sustainable target, with four cycles better suited to an occasional short night than a regular schedule.

What sleep debt actually measures

Sleep debt is simply the running difference between how much sleep your age-based range recommends and how much you actually got, added up across recent nights. It's a rough tally, not a precise metabolic measurement, but it's a useful way to see a pattern that a single bad night hides: five nights of six hours each adds up to more missed sleep than one very late night followed by a normal week.

Up next: Caffeine timing matters just as much as bedtime — the caffeine calculator shows your cutoff for a full night's sleep. And if your cycle length isn't a textbook 28 days, the cycle length calculator shows your real pattern.

Sleep and your cycle

The same bedtime doesn't produce the same sleep all month. In the luteal phase, the second half of the cycle after ovulation, progesterone rises and core body temperature climbs roughly 0.3 to 0.5°C above where it sits in the follicular phase. Since falling and staying asleep both depend partly on core temperature dropping, a warmer baseline is associated with more fragmented sleep: more awakenings, lighter sleep, and less time in deep sleep, even when total time in bed doesn't change. If the back half of your cycle reliably feels like worse sleep on the same schedule, that's a physiological pattern showing up, not a lapse in sleep discipline.

Perimenopause and night waking

Night waking is one of the most commonly reported sleep complaints during perimenopause. Fluctuating estrogen and progesterone are linked to hot flashes and night sweats that interrupt sleep directly, along with more general sleep fragmentation as hormone levels become less predictable cycle to cycle. The 90-minute cycle math on this page still applies, but the more useful signal during perimenopause is usually the pattern across weeks, not any single night's number. For the wider picture of what's shifting during this transition, see our perimenopause guide.

This page describes the pattern; it doesn't diagnose it. If disrupted sleep is new, worsening, or affecting your daily life, that's worth raising with a healthcare provider.

A calculator resets every time. Your baseline doesn't.

Tonight's number comes from a population formula and disappears once you close the tab. Gaia keeps every night you log, sleep debt included, next to your mood, energy, and cycle day, so weeks from now you're looking at your own pattern instead of running the same math over again.

Download Go Go Gaia

Common Questions About Sleep Timing

Start from your wake-up time and count back in 90-minute sleep cycles, then subtract the time it usually takes you to fall asleep. Waking at the end of a cycle, rather than in the middle of one, is what makes mornings feel less groggy. Five cycles (7.5 hours of sleep) is a common target for adults, with four cycles (6 hours) and six cycles (9 hours) as the shorter and longer options.

A sleep cycle is one pass through the stages of sleep, from light sleep down to deep sleep and back up through REM. Ninety minutes is the commonly used average for calculating bedtimes, but real cycles vary from about 70 to 120 minutes and shift across the night, so any bedtime or wake-time estimate is a starting point to test, not an exact schedule.

Sleep debt is the running gap between how much sleep you needed and how much you actually got. Add up the difference between your recommended nightly range and your actual hours slept for each of the last several nights. A night where you slept less than recommended adds to the debt; a night where you slept more or matched it does not subtract further once you are caught up.

Most adults ages 18 to 64 do best with 7 to 9 hours a night. Teens typically need more, around 8 to 10 hours, and adults 65 and older often settle into 7 to 8 hours. These are population ranges from sleep research, not a diagnosis of what your body specifically needs, which is why tracking your own pattern over time tells you more than any single number.

Yes. In the luteal phase, the second half of the cycle after ovulation, core body temperature rises roughly 0.3 to 0.5 degrees Celsius and sleep tends to become more fragmented, with more awakenings and less deep sleep. Going to bed at the same time can produce noticeably worse sleep in the luteal phase than in the follicular phase, and that is a hormonal pattern, not a discipline problem.

There is no fixed formula, but a common way to think about it is paying it back gradually: adding roughly 45 extra minutes of sleep across several nights rather than trying to sleep off a whole week's shortfall in one long weekend sleep-in, which mostly resets your schedule without actually clearing the debt.

Educational content, not medical advice. This calculator gives you an estimate based on published sleep-cycle averages, not a diagnosis. It cannot detect insomnia, sleep apnea, or other sleep disorders, and it isn't a substitute for a sleep study or a conversation with a healthcare provider. Go Go Gaia is a tracking tool, not a substitute for professional medical care.