Embed this calculator

Give your readers a free, useful bedtime calculator right on your own site. Just copy the snippet below and paste it into your page — no account, no API key, no maintenance.

Copy this code and paste it anywhere in your page's HTML:

Advertisement

How it works

The widget is a small, self-contained page that loads inside an iframe. It calculates bedtimes using the same 90-minute sleep-cycle math as our main calculator, entirely in the visitor's browser — no data is sent anywhere. It keeps a small “Powered by Dozofy” credit link at the bottom, so please don't remove or hide it; that's what keeps this widget free.

Tip: you can resize the iframe (width and height attributes) to fit your layout, and add &lang=fr, &lang=es, &lang=de, &lang=ru, &lang=ar or &lang=zh to the src URL to match your site's language.