Skip to main content
Date tools100% FreeInstant

Sunrise and Sunset Calculator for Any Location and Date

This free calculator works out sunrise, sunset, solar noon, day length and the start and end of civil twilight for any date and place on Earth from latitude and longitude, using the NOAA solar equations.

By Debmedia Technologies LLP · Kolkata, India · Updated

What Is It and When Do You Need It?

The sun's times change every day and from place to place. Photographers, gardeners, pilots and walkers all plan around them.

Enter a date, your coordinates and your UTC offset.

How to Use This Tool

  1. Enter or paste your input in the box or boxes above.
  2. Choose the options, if there are any.
  3. Press the button to run the tool.
  4. Read the result and use the copy button where one is shown.

How the Calculation Works

The tool follows the NOAA equations. It finds the sun's position for the date, including the equation of time and declination. The hour angle at the official horizon of 90.833 degrees gives sunrise and sunset, and 96 degrees gives civil twilight. Times are shifted by your UTC offset. No data is downloaded.

Worked Example

In London on 21 June 2024 (offset 1) the sun rises at about 04:43 and sets at about 21:21, a day length of about 16 hours 38 minutes.

Common Uses

  • Photography and golden hour.
  • Gardening and farming.
  • Hiking and camping.
  • Solar planning.

Tips and Common Mistakes

  • Include daylight saving in the UTC offset.
  • Longitude west of Greenwich is negative.
  • Add a few minutes of safety for outdoor plans.
  • Check the first result against a case you already know, so you can trust the tool for the rest.
  • Nothing you type leaves your device. The work is done by your browser, so it also works with a slow connection once the page has loaded.

Next, you may need the day of the week calculator, time zone converter, date difference calculator, date add and subtract calculator.

Everything runs in your browser. Nothing you type is uploaded, stored or sent to any outside service.

Frequently Asked Questions

Within about one or two minutes for most places. Hills, weather and the air near the horizon can shift real sunrise by a few minutes.
In a map app: tap your location and read the numbers. North and east are positive, south and west are negative.
Your time zone's difference from UTC on that date, including daylight saving. London in summer is 1, Kolkata is 5.5, New York in winter is -5.
In summer the sun may not set (midnight sun) and in winter it may not rise. The tool says so.

Disclaimer: results are calculated in your browser from the numbers you enter. Check important results before you rely on them for money, health, safety or legal decisions.