Date & Time

Sunrise and Sunset Calculator

Live

Sunrise and Sunset with subject-specific controls, reviewable intermediate detail, and private browser processing.

About Sunrise and Sunset Calculator

Sunrise and Sunset with subject-specific controls, reviewable intermediate detail, and private browser processing. Enter date, time, latitude, longitude, iana time zone in a purpose-built sunrise and sunset calculator interface designed for this subject. Calendar, time-zone, or solar arithmetic is evaluated from entered location and time assumptions. The result includes calculated date or time, details, time basis, supporting detail, and clear units or diagnostics. Results depend on entered assumptions, supported formats, browser capabilities, and rounding. Processing stays in your browser, and UtilityPages does not store the values you enter.

Set up Sunrise and Sunset Calculator

Workspace

Structured calculation

Follow the input-to-result path; the fields below remain the source of every value.

Complete the fields to prepare a result.

Enter date.

Enter time.

Enter latitude.

Enter longitude.

Enter iana time zone.

Sunrise and Sunset Calculator result

Enter the values above, then calculate to see a detailed result.

How Sunrise and Sunset Calculator works

Calendar, time-zone, or solar arithmetic is evaluated from entered location and time assumptions.

How it works

Calendar, time-zone, or solar arithmetic is evaluated from entered location and time assumptions. Results depend on entered assumptions, supported formats, browser capabilities, and rounding.

Examples

Sunrise and Sunset Calculator worked example

Example input
{
    "date": "2026-07-16",
    "time": "12:00",
    "latitude": 41.8781,
    "longitude": -87.6298,
    "time_zone": "America/Chicago"
}
Expected result
{
    "result": "Approximate daylight 9.3 hours",
    "details": [
        {
            "item": "Sunrise solar time",
            "value": 7.35
        },
        {
            "item": "Sunset solar time",
            "value": 16.65
        }
    ],
    "time_basis": "Simplified solar-declination model"
}

Privacy

This tool does not store your inputs or results on UtilityPages.org.

Citations & sources

  1. Solar calculations

Frequently asked questions

How does the Sunrise and Sunset Calculator work?

Calendar, time-zone, or solar arithmetic is evaluated from entered location and time assumptions.

What information should I enter?

Enter date, time, latitude, longitude, iana time zone. Use values and units from the same scenario so the result is internally consistent.

What results does this tool provide?

It reports calculated date or time, details, time basis, including intermediate context where it helps you review the answer.

What limitations should I know about?

Results depend on entered assumptions, supported formats, browser capabilities, and rounding.