Find what time to go to bed to wake up at the end of a cycle, how much sleep each age needs, how much sleep debt you built up, how to nap and when to stop drinking coffee.
Waking at the end of a cycle is usually easier than waking in the middle of one.
Sleep is not one continuous block: it is organized in cycles of about 90 minutes, each with light sleep (N1 and N2), deep sleep (N3) and REM sleep. The idea behind the calculator is simple: if you know when you need to wake up, it subtracts the time it takes you to fall asleep (15 minutes by default) and multiples of 90 minutes. Waking near the end of a cycle, you are less likely to be pulled out of deep sleep with that groggy feeling called sleep inertia. To wake at 7 AM, for example, going to bed at 11:15 PM gives 5 cycles and 7.5 hours of sleep, and 9:45 PM gives 6 cycles and 9 hours.
The 90 minute cycle is an average, not a law. The first cycle of the night tends to be shorter, around 70 to 100 minutes, and the ones near morning longer, with more REM. It varies between people, with age and from night to night. That is why the tool lets you adjust the cycle between 70 and 120 minutes and the time to fall asleep between 0 and 60 minutes, and does not promise you will wake up refreshed: total hours still matter most.
How much to sleep depends on age. The consensus of the American Academy of Sleep Medicine (AASM) and the Sleep Research Society recommends 7 or more hours a night for adults; the National Sleep Foundation (2015) suggests 7 to 9 hours from 18 to 64, 7 to 8 from 65 and 8 to 10 for teenagers. Four 90 minute cycles add up to only 6 hours, below that range for most adults, and the tool shows this on every row instead of hiding it.
The other tabs answer the questions that usually come with it: how much sleep each age needs, how much weekly debt you built up (and why sleeping in on Saturday does not zero the balance), how to plan a short or one-cycle nap, and how late caffeine still gets in the way, with a half-life of about 5 hours. It is an educational tool. Persistent insomnia, loud snoring with breathing pauses or strong daytime sleepiness call for medical evaluation, not a schedule tweak.
How to use
Pick a tab, enter a time or an age and read the options.
In Wake at, enter the time you need to wake up and see when to go to bed; in Sleep at, enter the time you will lie down (or tap Now) and see the end-of-cycle times to wake up.
Open Settings to change the cycle length, the time to fall asleep, the age group and the 12 h or 24 h format. Each result can be copied as a time or as an alarm reminder.
Use By age, Debt, Nap and Caffeine for the other sleep questions, and tap Copy link to share the calculation with the same values already filled in.
Embed
Use this tool on your site
Paste the code into your HTML and the tool shows up on your page, without J-Kit's navigation and ads. It still runs in the browser of whoever visits your site.
These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.
It starts from the time you want to wake up (or lie down), adds or subtracts the time to fall asleep and multiples of the cycle length, 90 minutes by default. The results are times that land at the end of a cycle. Example: waking at 7 AM, 15 minutes to fall asleep and 5 cycles gives 11:15 PM.
The 90 minute cycle is an average: it varies from person to person and from night to night. This tool is educational, does not diagnose anything and cannot promise you will wake up refreshed.
Times to go to bed
To wake up at 7:00 AM, allowing 15 min to fall asleep and 90 min cycles, go to bed at one of these times:
8:15 PMthe evening before7 cycles10 h 30 min
Above the recommended rangeLongasleep by 8:30 PM
9:45 PMthe evening before6 cycles9 h
Within the recommended rangeasleep by 10:00 PM
11:15 PMthe evening before5 cycles7 h 30 min
Within the recommended rangeasleep by 11:30 PM
12:45 AMafter midnight4 cycles6 h
Slightly below the rangeasleep by 1:00 AM
2:15 AMafter midnight3 cycles4 h 30 min
Below the recommended rangeMinimumasleep by 2:30 AM
End of cycle is an estimate: waking a few minutes earlier or later is normal, and real cycles change from night to night. Sleeping as long as your body needs matters more than hitting the exact minute.
What happens in a sleep cycle
A night is a sequence of cycles, each moving through light sleep (N1 and N2), deep sleep (N3) and REM sleep. Typical values in healthy young adults:
N1, falling asleep (about 5% of the night): a short transition from wake to sleep, a few minutes long; it is easy to wake up.
N2, light sleep (about 45 to 55%): most of the night; body temperature and heart rate drop and you disconnect from your surroundings.
N3, deep sleep (about 15 to 25%): concentrated in the first cycles; it is the hardest stage to interrupt and the one that shrinks most with age.
REM (about 20 to 25%): the brain is active and most vivid dreams happen here; REM periods get longer in the cycles near the end of the night.
That is why cycles are not identical: the first is usually shorter (about 70 to 100 minutes) and the last ones longer (about 90 to 120). The 90 minute average is only a reference.
Settings
Clock format
The 90 minute default is the population average. If you have measured your own cycle (for example with a sleep tracker) or feel you wake better with another value, adjust it between 70 and 120 minutes.
Frequent insomnia, loud snoring with breathing pauses or strong daytime sleepiness deserve a health professional's evaluation. No schedule calculation fixes a sleep disorder.