Sunrise & Sunset Times
Enter a latitude and longitude, or use your location, and see today’s sunrise, sunset, solar noon and day length. Everything is worked out in your browser from the sunrise equation, and you can copy an embed code to drop the same live widget onto your own site.
Find today’s sunrise, sunset, solar noon and day length for any spot on Earth. Enter a latitude and longitude or use your location, and this sunrise sunset calculator works out the times in your browser from the standard solar equations. Copy the embed code to drop the same live widget onto your own website.
- 100% free
- No sign-up
- No clutter or popups
- Works offline
- Accurate & distraction-free
North latitude and east longitude are positive; south and west are negative. Times are shown for the timezone above (or your own if it is blank).
London
Fri, Jul 31, 2026- Sunrise
- 5:23 AM
- Sunset
- 8:50 PM
- Solar noon
- 1:06 PM
Day length 15h 28m
Embed this widget on your site
Paste this snippet into your page. It shows the current day’s sun times and updates on its own.
<iframe src="https://hivly.net/embed/sunrise-sunset-widget/?lat=51.5074&lng=-0.1278&label=London&tz=Europe%2FLondon" width="340" height="380" style="border:0;max-width:100%" title="Sunrise and sunset times for London" loading="lazy"></iframe>How it works
- 1
Set the location
Type a latitude and longitude, name the place, or tap “Use my location” to fill them in.
- 2
Read today’s times
Sunrise, sunset, solar noon and the total day length appear at once, with a sun-arc showing where the sun is now.
- 3
Copy the embed code
Grab the iframe snippet and paste it on your own page. It shows the current day and updates itself.
Great for
- ✓ Photographers planning golden hour and blue hour
- ✓ Gardeners and growers tracking daylight hours
- ✓ Adding a live sunrise/sunset box to a local or travel site
- ✓ Anglers, hikers and stargazers timing dawn and dusk
No clutter, no popups, no waiting
This tool runs entirely in your browser, so it starts instantly and keeps working offline once the page has loaded. There is no sign-up, no popups fighting for your attention, and nothing is sent anywhere. Add it to your home screen and it opens like a real app.
Frequently asked questions
- How are the sunrise and sunset times calculated?
- They come from the standard sunrise equation (the same NOAA solar maths used by observatories), worked out in your browser from the latitude, longitude and date. No location or request is sent anywhere; the astronomy runs entirely on your device. Times account for atmospheric refraction, so they match published almanac times to within about a minute.
- What timezone are the times shown in?
- By default they show in your own device’s timezone. If you set the IANA timezone field (for example Europe/London or America/New_York), the times display in that zone instead, which is what you want when the widget is for a place other than where you are.
- Where do I find a latitude and longitude?
- Right-click a spot in most map apps to copy its coordinates, or use the “Use my location” button to fill in where you are. Latitude runs from -90 to 90 (north positive), longitude from -180 to 180 (east positive).
- What does the widget show at the poles?
- In the far north or south there are days when the sun never rises or never sets. On those days the widget says “polar day” or “polar night” instead of a time, and reports the day length as 24 hours or 0.
- Is the embedded widget free to use on my site?
- Yes. Copy the iframe snippet and paste it anywhere. It runs client-side with no key and no tracking, and carries a small “Powered by hivly.net” link. There is nothing to sign up for.
More tools
More from the Hivly network
Free sister tools on our other sites.