Try the calculator
Start with the time you need to wake up tomorrow, not a generic bedtime. Enter a wake-up time and choose how long you would like to sleep. Then adjust the earlier cues so the plan fits your evening.
This calculator does not track or score your sleep. It only helps you plan the evening backward from your wake-up time.
The values stay in your browser. They are not saved or sent anywhere.
Bedtime planner
Plan backward from tomorrow morning
Choose when you want to wake up and how long you would like to sleep. Then place a few useful markers before bedtime. This is a simple clock calculation, not medical advice or a promise about sleep.
What time should I go to bed?
A useful answer begins with a real constraint: the time you need to wake up. Work backward by the number of hours you want to spend in bed. If you want 8 hours in bed and you need to be up at 7:00, the suggested bedtime is 11:00. If you want 7 hours, it moves later. The same method works for a 6:00 wake-up or any other time you enter.
The 8-hour default is a starting point, not a rule for everyone. The AASM and Sleep Research Society consensus supports 7 or more hours regularly for healthy adults. It does not make 8 hours mandatory or define one bedtime for every person.
Once you have a bedtime, add only a few markers in front of it. Set a time for wind-down to begin, and a time to reduce stimulating screens. For a written version of this same approach, see how to plan a calmer evening around your wake-up time.
How the calculation works
The tool counts backward from the wake-up time by your chosen sleep duration. Then it places the editable wind-down and screen cues before the suggested bedtime. The caffeine cutoff appears as a Nocala starting recommendation, not an input. To choose a cutoff and see where caffeine hides in an afternoon, read what time to stop drinking caffeine.
This is not a sleep-cycle or sleep-stage calculator. It does not add a hidden sleep-latency buffer. It does not estimate 90-minute cycles or guarantee an outcome. You stay in control of the sleep duration, the wind-down cue, and the screen cue.
Why these markers are here
The defaults follow Nocala’s Sleep Runway starting points: 8 hours of sleep, a 45-minute wind-down, a 90-minute reduction in stimulating screens, and a caffeine marker 8 hours before bed. These are defaults for planning. They are not universal rules. The app keeps sleep latency personal rather than silently adding a fixed number of minutes, and this calculator keeps the same boundary.
The supporting evidence is specific about what it can and cannot show:
- The AASM and Sleep Research Society consensus supports 7 or more hours regularly for healthy adults. It does not make 8 hours mandatory or define one bedtime for everyone.
- A 2023 systematic review and meta-analysis of caffeine and sleep and a 2025 randomized crossover trial support treating caffeine timing as dose- and person-dependent. That is why the calculator presents a recommendation. It does not ask you to enter one cutoff that is supposedly universal.
- A randomized pilot trial of restricting bedtime phone use tested 30 minutes, while a randomized e-reader study tested evening light exposure. Together they support reducing stimulating evening use. They do not promise that every screen needs the same cutoff.
- The AASM insomnia-treatment guideline and a systematic review of sleep-hygiene education support a wind-down cue as a calm transition. They do not support wind-down as treatment or as a guaranteed sleep improvement.
These publications support the direction of the planner. They do not prove that a scheduled marker will improve sleep for every person. They also do not prove that any exact offset is medically optimal.
Nocala is an iPhone app. It turns a wake-up time into a step-by-step evening plan called Sleep Runway. It is private and local. It needs no account. The basic plan works offline.
This web calculator shows the same backward-planning idea. It is not a medical device or a substitute for professional care.