Find a bedtime or wake-up time that leaves enough room for sleep. Choose your age group, adjust your sleep target, and see your whole schedule in one place.
Plan your sleep schedule
Set your time on the left. Your schedule updates on the right as you make changes.
Plan young children’s sleep across the whole day
Babies and preschoolers may need naps as well as night sleep. An adult overnight schedule would leave out that important time.
Open the baby sleep calculator
Open the toddler sleep planner
Choose an age of 6 or over to use this overnight planner.
Check your inputs
Enter a valid time, sleep target and time to fall asleep. Your updated schedule will appear here.
Your bedtime plan
For a 7:00 AM wake-up
These are clock-time estimates, not measured sleep stages. Night waking is included only to the extent you estimate it above.
Compare nearby sleep targets
These are clock-time estimates, not measured sleep stages. Allow extra time for any night waking.
Your inputs stay in this page. This tool does not assess sleep quality or predict the best sleep stage for an alarm.
Sleep calculator guide
Use the guide to check the calculation, choose a realistic target, and understand what a clock-based estimate can tell you.
01How to use the calculator
Choose the time you know, then set how much sleep you want to allow.
- Choose a direction. Select “My bedtime” if your wake-up time is fixed. Select “My wake-up time” if you know when you will get into bed.
- Enter a clock time. Check AM or PM. The “Use now” button switches to bedtime mode using your device’s local clock.
- Choose your age group. This sets a starting target and shows its source. You can then edit the target.
- Allow time to fall asleep. The default is 15 minutes for illustration. Replace it with your own estimate.
Results update when you change a field. The calculate button confirms the schedule. The comparison rows let you try a different duration without re-entering the time.
Use Copy for a text summary, Print / save PDF for a compact result sheet, Share for this tool’s public link, or Embed for an isolated calculator without this guide.
02Formula, variables and worked example
Time in bed includes your sleep target, time to fall asleep and any estimated waking during the night.
- T
- Time in bed, in minutes.
- H
- Your desired time asleep, in hours.
- L
- Your estimated time to fall asleep, in minutes.
- W
- Your wake-up clock time.
- B
- The time you get into bed.
- A
- Estimated awake time during the night, in minutes. The default is 0.
W = B + (60 × H + L + A)
Example: wake up at 7:00 AM
Suppose H = 8 hours and L = 15 minutes.
B = 7:00 AM − 8 hours 15 minutes
Bedtime = 10:45 PM the previous evening
You would be asleep around 11:00 PM under that assumption. In the other direction, a 10:45 PM bedtime gives a 7:00 AM wake-up.
If you expect 20 minutes awake overnight
For 8 hours asleep, 15 minutes to fall asleep and 20 minutes awake: 480 + 15 + 20 = 515 minutes in bed. A 7:00 AM wake-up means getting into bed at 10:25 PM the previous evening. This estimate cannot predict or prevent waking.
03How much sleep should you plan for?
Your age group gives a starting reference; it does not determine your individual sleep need.
| Age | Daily sleep reference | Planner starting target |
|---|---|---|
| 6–12 years | 9–12 hours | 10 hours |
| 13–17 years | 8–10 hours | 9 hours |
| 18–60 years | At least 7 hours | 8 hours |
| 61–64 years | 7–9 hours | 8 hours |
| 65+ years | 7–8 hours | 7.5 hours |
Reference: CDC sleep recommendations by age. The starting targets are this tool’s editable examples, not separate clinical recommendations. “At least 7” is a minimum reference, not a 7-hour prescription.
Children under 6 may split sleep between naps and nighttime. The calculator routes that age group to dedicated planners instead of applying one overnight block.
If your target falls outside the displayed reference, the tool keeps your chosen value and shows a notice. A value inside the range still cannot establish whether your sleep is sufficient.
04Why a sleep cycle is not a precise alarm timer
Sleep stages change through the night, so a fixed clock interval cannot identify your next light-sleep phase.
NHLBI describes cycles that restart about every 80–100 minutes. Non-REM includes light and deep stages, followed by REM. Deep sleep tends to occur earlier; REM tends to take up more time later.
A cycle-based estimate uses this extra assumption:
- N
- The model’s cycle count.
- C
- An assumed cycle length in minutes.
For example, 5 × 90 ÷ 60 = 7.5 hours. The arithmetic is exact; the cycle assumption is not a measurement. Compare that model in the 90-minute cycle calculator. This homepage prioritizes the duration you enter.
05Bedtimes for an 8-hour sleep target
These examples allow 8 hours asleep and 15 minutes to fall asleep.
| Wake-up time | Get into bed | Asleep around |
|---|---|---|
| 5:00 AM | 8:45 PM, previous evening | 9:00 PM |
| 6:00 AM | 9:45 PM, previous evening | 10:00 PM |
| 7:00 AM | 10:45 PM, previous evening | 11:00 PM |
| 8:00 AM | 11:45 PM, previous evening | Midnight |
| 9:00 AM | 12:45 AM, same day | 1:00 AM |
These are examples, not universal bedtimes. For a different age, sleep target or settling time, use the calculator above.
Back to the calculator ↑06What the result can and cannot tell you
The result reserves time for sleep; it cannot tell whether you actually sleep well during that time.
- Night waking changes the total. If you spend 30 minutes awake after falling asleep, an 8-hour sleep opportunity may yield about 7.5 hours asleep.
- Clock changes need separate attention. The tool uses local clock arithmetic without a calendar date. Check daylight-saving changes and travel across time zones yourself.
- A single night is only one observation. Use a sleep diary to compare your own patterns over time.
A steady routine and a quiet, comfortable bedroom can help support sleep. CDC also advises seeking care for regular sleep problems. Persistent daytime sleepiness, loud snoring or breathing pauses deserve medical attention.
This is an educational planning tool. It does not diagnose a condition, assess fitness to drive, or replace personalized advice.
07Frequently asked questions
Does this calculator guarantee that I wake up refreshed?
No. It plans time in bed from your inputs. It cannot measure sleep quality, breathing, sleep stages or how alert you will feel.
Does choosing an age group change my schedule?
Yes. It sets an editable starting sleep target in the same form. Changing the target or settling time immediately updates your schedule.
Is the sleep target the same as time in bed?
No. The target is time asleep. The calculator adds your estimated time to fall asleep when finding bedtime or wake-up time.
Can I use a time that is not on a quarter hour?
Yes. Enter any whole minute from 0 to 59. Check AM or PM to avoid a twelve-hour error.
What happens when the schedule crosses midnight?
The result identifies the previous, same or next day relative to the time you entered. It does not select a calendar date.
Will sharing reveal my inputs or results?
Share sends only the public tool link. Copy results creates a text summary. The calculator does not save a history of your inputs.
What is included in the printed or embedded version?
Print includes your current inputs and schedule on a compact result sheet. Embed starts a separate working calculator with default inputs; it excludes the guide and your personal result.
Can I plan sleep for a baby or preschooler here?
Select Under 6 years for links to age-specific planners. This overnight calculator does not replace a full-day plan that includes naps.
08Choose a tool for your next question
09Sources and method notes
The calculation is clock arithmetic. The health references support the age guidance and explanation of sleep stages.
- CDC: About Sleep — age-based duration references, sleep quality and when to seek care.
- NHLBI: Sleep Phases and Stages — sleep cycles, non-REM and REM.
The default settling time and the planner’s starting targets are disclosed examples. They are not measurements of you. No medical review claim is attached to this calculator.