Calculators#453Verified Pro

Sleep Cycle Calculator

Plan healthier sleep around natural 90-minute sleep cycles and fall-asleep latency. Calculate ideal bedtimes for a target wake time, wake times from bedtime or right now, or power/full-cycle naps. Includes a visual sleep-cycle timeline chart, NSF/AASM age-group sleep recommendations, 12/24-hour clock auto-detection, one-click copy, and 7 responsive skins.

Customize Widget

Live preview active
Content3 options
Range of sleep cycles to display
NSF/AASM recommended sleep duration target
Layout4 options
Internal spacing density
Base UI font size
Horizontal alignment
Style7 options
Visual design preset
Light, dark, or system color scheme
Primary highlight and active control color
Card border radius in px
Card elevation shadow
Outer border thickness
Typography stack
Behavior4 options
wake = bedtimes for wake time; bed = wake times for bedtime; now = sleep now; nap = nap planner
Length of one sleep cycle in minutes (80–110, default 90)
Average minutes to fall asleep (default 15)
Localization2 options
12-hour AM/PM, 24-hour, or auto from page language
auto uses host html lang, fallback en
Live Interactive Preview

Copy and paste this snippet anywhere before the closing </body> tag:

<script src="https://100widgets.com/js.php?id=453" async></script>

Place this container where you want the widget to render, plus the script tag:

<div data-widget="sleep-calculator"></div>
<script src="https://100widgets.com/w/453.js" defer></script>

Step-by-Step Installation Guides

Need platform-specific instructions for embedding this widget? Read our quick step-by-step guides:

HTML / Any SiteWordPressShopifyWixSquarespaceWebflowGoogle Tag ManagerView All 18 Guides →

Key Features

Customizable Sleep Cycle Calculator with 20+ configuration options
Self-contained vanilla JavaScript with zero external dependencies
Works in both Mode A (container) and Mode B (script tag) embed modes
Full keyboard navigation and screen-reader accessibility
Light and dark color mode support with auto-detection
Fully responsive on mobile, tablet, and desktop viewports

How to Install in 3 Easy Steps

1

Customize

Adjust the colors, position, and text above to match your website design and branding.

2

Copy Code

Click "Copy" on the generated embed code snippet. No installation or registration needed.

3

Paste & Publish

Paste the snippet into your HTML, WordPress, Shopify, Webflow, or Wix page.

Frequently Asked Questions

How do I add Sleep Cycle Calculator to my website?

Simply copy the generated embed code snippet and paste it into your site HTML where you want the widget to appear.

Does this widget require jQuery or other libraries?

No, all 100Widgets components are completely standalone and have zero external dependencies.

Is this widget free to use?

Yes, it is 100% free for personal and commercial websites.