Sleep cycle calculator
calc_sleepCalculate sleep-cycle bedtimes or wake-up times to wake in light sleep, adjust cycle length and fall-asleep minutes, and list nap alarms.
Instructions
Sleep in whole cycles so you wake in light sleep: given a wake-up time, the bedtimes for 6, 5, 4 or 3 cycles; given a bedtime (or "now"), the wake-up times. Defaults: 90-minute cycles (70–110) and 15 minutes to fall asleep (0–60). With mode "bed"/"now" it also lists nap alarms (20, 30, 60 min and one full cycle). 12- or 24-hour clock. Web version: https://s3eidat.github.io/sleep-calc/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | wake: I must wake at "time"; bed: I go to bed at "time"; now: I go to bed now (server clock). | wake |
| time | No | "HH:MM" 24 h: the wake-up time (wake) or bedtime (bed). Default 07:00 / 23:00. | |
| clock | No | 12-hour (AM/PM) or 24-hour times in the output. | 12 |
| cycleMinutes | No | Length of one sleep cycle. | |
| fallAsleepMinutes | No | Minutes it takes you to fall asleep. |