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.
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 GaiaCommon Questions About Sleep Timing
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.