Sunrise and Sunset Calculator tool

Sunrise and Sunset Calculator

Sunrise and sunset calculator estimates when the sun clears and dips below the horizon for any location and date.

What is a sunrise and sunset calculator?

A sunrise and sunset calculator estimates local sunrise, sunset, and daylight length from latitude, longitude, and date using a simplified solar model. Defaults near Delhi coordinates suit much of north India; change lat/long for your city. Hills, haze, and horizon buildings shift real observations by a few minutes. Kerala latitudes near eight degrees north see shorter winter days than Leh despite sharing the same IST wall clock.

How to use the sunrise and sunset calculator

  1. Enter latitude in degrees north (negative for south).
  2. Enter longitude in degrees east.
  3. Pick the date you are planning for.
  4. Read approximate sunrise and sunset times.
  5. Use daylight hours for outdoor or fasting plans.

About this calculator

Sunrise and sunset calculator estimates when the sun clears and dips below the horizon for any location and date. Enter latitude, longitude, and the date. You get approximate local sunrise, sunset, and total daylight hours.

Photographers plan golden hour. Ramadan observers estimate fasting windows. Trekkers check daylight on Himalayan routes. Farmers track seasonal day length. Results use a simplified solar model — accurate to within a few minutes for most of India, not accounting for local horizon hills.

India spans roughly 8°N to 37°N — daylight varies from about 11.5 hours in Kerala winter to 14+ hours in Leh summer. Cross-check with [[time-zone]] for IST offset. For date planning use [[date-difference]] and [[day-of-week]].

Formula for approximate sunrise and sunset

Solar declination and hour angle at 90.833° zenith → sunrise/sunset UTC, shifted by longitude
  • Latitude sets how long the sun stays above the horizon
  • Longitude shifts local solar time east or west within IST
  • Date drives declination through the day-of-year index

Sunrise example: Delhi coordinates on 30 May 2026

Enter latitude 28.6139°N, longitude 77.209°E, and date 2026-05-30. The simplified NOAA-style loop in this app returns about 13.8 hours of daylight for that row.

Use the formatted sunrise and sunset strings exactly as the result cards show for that input, and treat them as approximate. For photography golden hour, arrive 30 to 45 minutes before the listed sunrise or after sunset. For religious fasting tied to the visible sun, confirm with local observatory or community guidance if minutes matter.

Bangalore at 12.97°N on the same May date shows slightly different daylight length than Delhi because latitude changes declination geometry even under one national time zone.

Common uses

  • Delhi photographer planning golden hour shoot on 30 May
  • Kerala houseboat trip checking sunset time for docking
  • Trekker estimating daylight hours on Rohtang Pass in June
  • Farmer tracking solstice day length change over the season
  • Travel blogger comparing sunrise times Mumbai vs Bangalore

Frequently asked questions

What time is sunrise in Delhi on 30 May?

Enter latitude 28.61°N, longitude 77.21°E, date 2026-05-30. Delhi sunrise in late May is roughly 5:25–5:35 AM IST and sunset around 7:10–7:20 PM — about 13.5 hours daylight.

Why do sunrise times differ between Mumbai and Kolkata on the same date?

Longitude shifts local solar time. Kolkata is farther east, so the sun rises earlier in IST wall-clock time than Mumbai despite sharing the same time zone.

How accurate is this simplified solar calculator?

Within a few minutes for flat horizons at mid-latitudes. Mountains, buildings, and atmospheric conditions shift actual observed sunrise. Use official almanac data for legal or religious precision.

Does IST daylight saving affect sunrise times?

India does not observe daylight saving time. IST is UTC+5:30 year-round. Enter local date and coordinates — no DST adjustment needed.

Related calculators

Maintained by J Jaya Prakash · Last updated: October 2026