Skip to main content
Sleep Better Timer

Sleep Better Timer

Sleep duration calculator widget

Add a compact sleep duration calculator to your website. Free iframe embed in 14 languages with no analytics inside the widget.

Copy this iframe into a page that allows embeds. Keep its accessible title and allow scrolling; use at least 320 px width and adjust the height for results.

<iframe src="https://sleepbettertimer.com/embed/en/duration" title="How many hours did I sleep?" width="100%" height="1100" loading="lazy" referrerpolicy="no-referrer" style="border:0; max-width:680px;"></iframe>

The widget uses no analytics, cookies or saved inputs. Your website may have its own privacy policy. Only this dedicated embed can be framed; regular site pages remain protected.

Optional attribution link

<a href="https://sleepbettertimer.com/sleep-duration-calculator" rel="nofollow">Sleep Better Timer</a>

Planning estimates only, not medical advice, sleep measurement or a treatment plan. Times are local clock plans, not timezone conversions. Daylight-saving changes can alter elapsed time. Check imported calendar dates and times.

How many hours did I sleep?