Free sleep calculator widget

Give your readers instant bedtime and wake-up times based on 90-minute sleep cycles. Paste one snippet into any page, works with WordPress, Squarespace, Wix, Webflow and plain HTML.

Live preview

Copy the code

WordPress: add a "Custom HTML" block and paste the code. Squarespace / Wix: use an "Embed" or "Code" block.

What the widget does

  • Two modes: "I need to wake up at…" gives bedtimes, "I'm going to bed at…" gives alarm times.
  • Shows 4, 5 and 6 full sleep cycles (6, 7.5 and 9 hours) and allows 15 minutes to fall asleep.
  • No cookies, no tracking, no ads, nothing to install.
  • The same maths as our full sleep cycle calculator and bedtime by wake-up time tables.

Is the sleep calculator widget free?

Yes. It is free for blogs, health sites, schools, clinics and newsletters with web versions. There is no sign-up, no ads and no tracking inside the widget.

Will the widget slow down my page?

No. It is a single small page (under 10 KB) loaded lazily in an iframe, so it only loads when a reader scrolls to it.

Can I change the size or colours?

Choose light or dark below, and change the width and height values in the code to fit your layout. The widget adapts to any width from about 280 pixels.