Home/Sleep Cycle Calculator
Health

Sleep Cycle Calculator

Find your ideal bedtime or wake-up time based on 90-minute sleep cycles, track your sleep score, streaks, and badges.

Sleep Cycle Calculator - Wake Up Fresh at the End of a Cycle

Find the best bedtime or wake-up time based on 90-minute sleep cycles, time your naps to avoid grogginess, learn when to stop drinking coffee, and log every night to build a sleep score, streaks and badges. Everything is calculated and stored on your device - nothing is uploaded anywhere.

Wake up at the right point in the cycle. Enter when you need to rise and get the bedtimes that let you complete full 90-minute sleep cycles. Track your score and streaks as you build a better rhythm.

100% private - sleep logs stay in your browser Instant results - no signup, no limits 4 tools in one: sleep, naps, caffeine and logging
1

Set your time

Tell it when you are going to bed or when you must wake up - it lists every cycle option with a hypnogram and timeline.

2

Check naps and caffeine

See which nap length leaves you refreshed, and the exact hour to put the coffee down for your bedtime.

3

Log and improve

Log each night to grow your score, streak and badges, watch the trend chart, and export everything as CSV.

Results update instantly - you get several options so you can choose more or fewer full sleep cycles.

Not sure? Most adults take about 15 minutes to fall asleep - the default already assumes that.

Recommended: 7-9 hours/night

What if I go to bed earlier/later?0 min

5:15 AM

4 cycles · 6.0h sleep

AwakeREMLightDeep

Estimated Sleep Stages

Wind Down
Sleep
8:00 PM11:00 PM5:15 AM

6:45 AM

5 cycles · 7.5h sleep

Recommended
AwakeREMLightDeep

Estimated Sleep Stages

Wind Down
Sleep
8:00 PM11:00 PM6:45 AM

8:15 AM

6 cycles · 9.0h sleep

AwakeREMLightDeep

Estimated Sleep Stages

Wind Down
Sleep
8:00 PM11:00 PM8:15 AM

How to Use This Sleep Calculator

Workflow

  1. Use the Sleep Calculator to find optimal bedtimes or wake times based on 90-minute sleep cycles.
  2. Check the Nap Calculator to see exactly when you should wake up from a nap to avoid grogginess.
  3. Use the Caffeine Cutoff tab to calculate when to stop drinking coffee so it doesn't disrupt your sleep.
  4. Log your sleep daily in the Sleep Log to track your sleep score, streaks, and pay off sleep debt.

Understanding the Metrics

  • Sleep Cycles: Waking up at the end of a 90-minute cycle helps you feel refreshed.
  • Sleep Score: Calculated based on duration, cycle alignment, bedtime consistency, and optimal timing.
  • Sleep Debt: The gap between the sleep you got and what you needed over the last 7 days.
  • Data Privacy: All your sleep logs are saved locally in your browser. Nothing is uploaded to a server.

Please note

This calculator offers general guidance based on average sleep cycles. It is not medical advice - if you regularly sleep poorly or feel exhausted during the day, please speak with a healthcare professional.

About This Tool

The Sleep Cycle Calculator is a free online tool that helps you wake up feeling refreshed instead of groggy. Have you ever slept for 8 or 9 hours but still woken up feeling like you got hit by a truck?

That happens because your alarm went off while you were in the middle of a deep sleep cycle. This tool uses the science of 90-minute sleep cycles to calculate the exact time you should go to bed or wake up.

It also includes a nap calculator, a caffeine cutoff timer, and a sleep score tracker with streaks and badges to help you build a healthier bedtime routine. Everything runs instantly in your browser.

How to Use

  1. 1Choose if you want to find out when to "Go to Sleep" or when to "Wake Up".
  2. 2If you know when you need to wake up, enter that time to see the best times to fall asleep.
  3. 3If you are going to bed right now, enter your current time to see the best times to set your alarm.
  4. 4Use the Nap Calculator to find the perfect length for a quick power nap without waking up tired.
  5. 5Check the Caffeine Calculator to see exactly when you should have your last coffee of the day.
  6. 6Track your sleep score and try to earn badges by keeping a consistent streak!

Frequently Asked Questions

Human sleep happens in cycles of roughly 90 minutes, moving from light sleep to deep sleep and back. If your alarm wakes you up in the middle of a deep sleep cycle, you will feel groggy and exhausted. Waking up at the end of a cycle makes you feel alert and refreshed.

Caffeine has a half-life of about 5-6 hours, meaning it stays in your system long after you drink it. The calculator looks at your target bedtime and tells you the exact cutoff time to stop drinking coffee so it doesn't ruin your deep sleep.

A 20-minute nap is perfect for a quick energy boost without feeling groggy. If you are highly sleep-deprived, a 90-minute nap allows you to complete one full sleep cycle. The tool will help you set a timer for both.

The tool tracks your sleep score locally. By consistently going to bed and waking up at the times recommended by the calculator, you improve your sleep score, build streaks, and unlock fun digital badges to keep you motivated.

Your sleep score and streaks are saved locally in your browser, but they are never uploaded to a server. Your personal sleep habits and bedtimes remain completely private.

We Value Your Privacy

We use cookies to enhance your browsing experience, serve personalized ads, and analyze our traffic. By clicking "Accept All", you consent to our use of cookies. Read more in our Privacy Policy and Cookie Policy.