A REM sleep calculator can't tell you exactly when you're in REM, but it can estimate when each sleep cycle ends, which is the practical time to wake up. The math: add about 15 minutes to fall asleep to your bedtime, then add 90 minutes per cycle. In bed at 10:30 PM, 5 cycles ends at 6:15 AM.
That's exactly what the sleep calculator does. Here's how the numbers work, what they assume, and why "timing your REM" is the wrong goal anyway.
Free toolSleep CalculatorBest bedtime or wake-up time, based on 90-minute sleep cycles.How does a REM cycle calculator work?
It counts forward in cycles from the moment you fall asleep.
Cycle end = bedtime + 15 minutes + (number of cycles x 90 minutes)
Each cycle moves through light sleep, deep sleep and then a REM period, which usually comes at the end of the cycle. So a cycle-end time is roughly when a REM period is finishing and sleep is at its lightest before the next cycle starts.
Worked example for a 10:30 PM bedtime, asleep by 10:45 PM:
| Cycle | Ends around | Total sleep | What the cycle tends to hold |
|---|---|---|---|
| 1 | 12:15 AM | 1 h 30 min | Mostly deep sleep, short REM |
| 2 | 1:45 AM | 3 h | Deep sleep, short REM |
| 3 | 3:15 AM | 4 h 30 min | Mixed |
| 4 | 4:45 AM | 6 h | Longer REM |
| 5 | 6:15 AM | 7 h 30 min | Long REM |
| 6 | 7:45 AM | 9 h | Longest REM |
For most adults, 6:15 AM (5 cycles) or 7:45 AM (6 cycles) are the times to aim for. The full breakdown of the math is in how to calculate your sleep cycle.
REM sleep calculator: when to wake up
The best time to wake up is at the end of a cycle, not in the middle of REM. Research on grogginess after waking, known as sleep inertia, finds that waking abruptly from deep (slow-wave) sleep produces the most grogginess, waking from light sleep the least, with REM somewhere in between.
So the goal isn't to wake during REM. It's to avoid being pulled out of deep sleep, and to let the long, REM-heavy cycles near morning finish. Both point to the same answer: wake near a cycle end, after enough cycles.
To use it:
- Pick your wake-up time.
- Count back 5 or 6 cycles of 90 minutes, then 15 more minutes to fall asleep.
- Go to bed at that time. The sleep calculator gives you the list in one tap.
Why no calculator can time your REM precisely
Every REM calculator, including ours, runs on averages. Your real night won't match them to the minute:
- Cycles vary in length. In a large lab analysis of more than 6,000 recorded cycles, the median was 96 minutes, with big differences between people. The first cycle of the night was consistently shorter.
- REM periods get more variable in length later in the night, in that same analysis.
- Your time to fall asleep changes from night to night.
- Errors add up. Five cycles that each run 6 minutes longer than 90 put you 30 minutes off by morning.
That's why cycle times are a target, not a guarantee. If you keep waking groggy at one time, shift your bedtime 15 minutes earlier or later for a few nights.
Phones and wearables that claim to track REM estimate it from movement and heart rate, not brain waves, so they can be off too. More in do sleep cycle alarm apps work.
How to calculate how much REM sleep you get
You can estimate your total REM, not time it. In healthy adults REM usually makes up roughly 20 to 25% of total sleep:
Estimated REM = total sleep x 0.20 to 0.25
| Total sleep | Estimated REM |
|---|---|
| 7 h | 84 to 105 min |
| 8 h | 96 to 120 min |
Because REM periods get longer through the night, the last cycle or two holds much of it. Cutting your night short by one cycle trims REM more than it trims deep sleep. That's the real case for enough total sleep, and for protecting the end of your night. What REM does and what cuts it short is covered in what is REM sleep.
What a REM calculator can't fix
- Too little sleep. Waking at a cycle end after 4.5 hours still leaves you short.
- Broken sleep. Frequent wake-ups reset the pattern, and no timetable predicts that.
- Sleep disorders. If you act out your dreams, have loud snoring with gasping or pauses in breathing, or are very sleepy in the day, see a doctor.