Sleep works in 90-minute cycles, and waking up mid-cycle is what makes you feel groggy even after 8 hours. The key is timing your alarm to the end of a complete cycle. Five full cycles gives you 7.5 hours, which often feels more restful than 8 hours that interrupts cycle six. This calculator works backward from your desired wake time to find optimal bedtimes, or forward from your bedtime to find the best alarm times. It also accounts for the average 14-minute sleep onset latency — the time it takes most people to actually fall asleep after getting into bed.

Sleep Calculator

Recommended Bedtime
Total Sleep Time
Expected Quality

How to Use This Calculator

  1. Enter either your wake-up time or your bedtime — the calculator works both directions
  2. View the optimal sleep and wake times aligned to 90-minute cycle boundaries
  3. See options for 4, 5, and 6 full cycles (6, 7.5, and 9 hours) so you can choose based on your schedule
  4. The 14-minute sleep onset time is included — your 'bedtime' means lights out, not in bed scrolling
  5. Adjust if you know you fall asleep faster or slower than average

How It Works

This sleep calculator uses established formulas to provide accurate results.

The basic rule:

  • Bedtime — Bedtime = Wake Time - (Cycles × 90 min) - Fall Asleep Time — Count back from wake time by sleep cycle duration.

Health metrics are general guidelines. Consult your healthcare provider for personalized medical advice.

Tips & Considerations

  • Consistency matters more than duration. Going to bed and waking at the same time every day — including weekends — improves sleep quality more than adding extra hours on random nights.
  • The 7.5 hour target (5 cycles) works for most adults. If you consistently feel great on 6 hours (4 cycles), you may be among the rare genuine short sleepers.
  • Blue light from screens suppresses melatonin production. Stop screen use 30-60 minutes before bed, or use a blue light filter with warm tones.
  • Caffeine has a half-life of 5-6 hours. A coffee at 2pm means 50% of the caffeine is still active at 7-8pm. Set a caffeine cutoff of noon if you have trouble falling asleep.

Frequently Asked Questions

How many sleep cycles do I need?

5-6 cycles (7.5-9 hours) is optimal for most adults.

What is a sleep cycle?

A 90-minute cycle through light, deep, and REM sleep stages.

Is the Sleep Calculator free to use?

Yes, completely free with no signup required. Use it as many times as you need — there are no limits or hidden fees.

How accurate is this calculator?

This calculator uses standard practical calculation formulas trusted by users. Results are reliable estimates for planning purposes. For critical decisions, we recommend consulting a qualified professional to verify.

What wake up time should I enter?

Enter the most accurate wake up time value you have available. If you're estimating, use a conservative figure. You can always run the calculator again with different values to see how changes affect the results.