# Bed Time Calculator for Raycast

URL: https://www.raycast.com/khlebobul/bed-time-calculator

> Calculate the best time to go to bed or wake up based on sleep cycles, with natural language time input.

- Install: raycast://extensions/khlebobul/bed-time-calculator
- Author: [Gleb Shalimov](https://www.raycast.com/khlebobul)
- Installs: 620
- Platforms: macOS, Windows
- Categories: Productivity
- Updated: 2026-11-20
- Source: https://github.com/raycast/extensions/tree/e38232e713cc42a58cac81b8d3af9261fd1624e5/extensions/bed-time-calculator/

## Commands

- **Sleep Now**: I'm going to sleep right now and want to know when to wake up
- **Sleep At**: I know when I'll fall asleep and want to know when to wake up
- **Wake up At**: I know when I'll wake up and want to know when I should fall asleep

## README

### Bed Time Calculator

[![X](https://img.shields.io/badge/X-000?style=for-the-badge&logo=x)](https://x.com/khlebobul) [![Telegram](https://img.shields.io/badge/Telegram-000?style=for-the-badge&logo=telegram&logoColor=2CA5E0)](https://t.me/khlebobul)

This is a simple extension for Raycast that will help you calculate the best time to sleep or wake up.

##### How does this work?

Have you ever experienced waking up in the morning feeling drowsy and not fully rested despite having slept well? Perhaps you've concluded that you're simply not at your best in the mornings?

If the above scenario resonates with you, you might be experiencing the effects of sleep inertia. This is a common phenomenon that impacts as many as 9 out of 10 individuals who wake up to an alarm clock.

You can determine either the ideal bedtime if you know when you need to wake up, or the optimal wake-up time if you know when you plan to go to bed.

A sleep cycle denotes a repetitive 90-minute period during which the body experiences distinct sleep stages. These stages are grouped into four phases, with the initial two considered as light sleep, and the latter two as deep sleep.

**Phases of the Cycle:**

- N1 (Onset of light sleep)
- N2 (Light sleep)
- N3 (Deep Sleep)
- REM (Rapid Eye Movement, characterized by vivid dreaming)

Typically, you'll feel most revitalized if you awaken during the lighter phases of sleep. Awakening during a deeper phase increases the likelihood of feeling drowsy and not fully rested.
