induwara.lk
induwara.lkSri Lanka · Utility

Sri Lanka Sunrise & Sunset Time Calculator

Find the exact sunrise, sunset, solar noon, day length, twilight and photography golden-hour times for any Sri Lankan city on any date. All in Sri Lanka Standard Time (UTC+5:30), computed with the NOAA solar algorithm — no signup, no ads, no location permission.

By Induwara AshinsanaUpdated Jul 2, 2026
Sunrise & sunsetAsia/Colombo · any city, any date
NOAA algorithm
Quick pick
ColomboSun north of equator
Sunrise
6:00 AM
06:00
Sunset
6:31 PM
18:31
Solar noon
12:15 PM
12:15
Day length
12 h 30 m
-7 s shorter than yesterday
06:0012:1518:31

Twilight (dawn & dusk)

TwilightDawnDusk
CivilSun −6°05:3718:53
NauticalSun −12°05:1119:20
AstronomicalSun −18°04:4419:47

Photography windows

Morning golden hour
05:3706:30
5:37 AM6:30 AM · 52 min
Evening golden hour
18:0118:53
6:01 PM6:53 PM · 52 min
Morning blue hour
05:3705:46
5:37 AM5:46 AM · 9 min
Evening blue hour
18:4418:53
6:44 PM6:53 PM · 9 min

Times are computed with the NOAA solar algorithm for Sri Lanka Standard Time (UTC+5:30, no daylight saving), and cross-checked against a second independent NOAA implementation on this site. Accurate to about a minute; atmospheric refraction uses the standard −0.833° horizon convention.

How it works

This calculator uses the solar-position method published by the NOAA Global Monitoring Laboratory. It is pure astronomy — the same math NOAA's own online Solar Calculator runs — so every result is deterministic and works offline in your browser. Nothing is sent to a server, and no GPS permission is requested.

The chain of formulas, all in degrees unless noted:

  1. Convert the calendar date to a Julian day, then to Julian centuries since J2000.0: T = (JD − 2451545) / 36525.
  2. Compute the sun's geometric mean longitude and mean anomaly, add the equation of centre to get the true and then apparent solar longitude.
  3. From the obliquity of the ecliptic derive the solar declination δ and the equation of time (EoT), the gap between clock time and true solar time.
  4. Find solar noon in local clock minutes: 720 − 4·lon − EoT + 60·5.5 for Sri Lanka's fixed UTC+5:30.
  5. Solve the hour angle H for the target altitude: cos H = (cos z − sin φ · sin δ) / (cos φ · cos δ), where φ is latitude and z is the zenith — 90.833° for sunrise and sunset (the −0.833° horizon accounts for refraction and the sun's radius), and 96°, 102° and 108° for civil, nautical and astronomical twilight.
  6. Sunrise = solar noon − 4·H and sunset = solar noon + 4·H (minutes). Day length is the difference. Golden hour (sun between +6° and −6°) and blue hour (−6° to −4°) come from the same hour-angle formula at those altitudes.

If |cos H| > 1 the sun never reaches that altitude, so the tool reports a polar day or polar night instead of an invalid time — never relevant inside Sri Lanka, but correct for custom coordinates far from the equator. Because Sri Lanka lies within about 10° of the equator, the declination swing barely changes the hour angle, which is why sunrise and sunset move so little across the year. Every result is cross-checked against a second, independently written NOAA implementation on this site; the two agree to the second.

Worked examples

Colombo — 21 June 2026 (longest day)

Near the June solstice · lat 6.9271° N, lon 79.8612° E

  1. Solar declination δ ≈ +23.44° (June solstice).
  2. Equation of time ≈ −1.77 min → solar noon = 720 − 4×79.8612 + 1.77 + 330 ≈ 12:12.
  3. Hour angle H ≈ 93.83° → 4·H ≈ 375 min ≈ 6 h 15 m either side of noon.
  4. Sunrise ≈ 12:12 − 6:15 = 05:57 · Sunset ≈ 12:12 + 6:16 = 18:28.
  5. Day length = 2 × 6 h 15 m ≈ 12 h 31 m — Colombo's longest day of the year.

Colombo — 21 December 2026 (shortest day)

Near the December solstice

  1. Solar declination δ ≈ −23.44° (December solstice).
  2. Solar noon ≈ 12:09 (equation of time ≈ +2.04 min).
  3. Hour angle H ≈ 87.9° → 4·H ≈ 351 min ≈ 5 h 51 m either side of noon.
  4. Sunrise ≈ 06:17 · Sunset ≈ 18:00 · Day length ≈ 11 h 43 m.
  5. The year's swing is only 12 h 31 m − 11 h 43 m ≈ 48 minutes — the equator effect.

Beach shoot — Colombo, 20 December 2026

Planning an evening golden-hour engagement session

  1. Sunset that evening ≈ 18:00; civil dusk ≈ 18:22.
  2. Evening golden hour (sun +6° down to −6°) ≈ 17:29 → 18:22.
  3. Blue hour (sun −4° to −6°) follows ≈ 18:14 → 18:22 for cool twilight tones.
  4. Have the couple in position by 17:25 so the whole warm window is usable.

Frequently asked questions

Sources & references

Sunrise, sunset and solar-noon values for the worked-example dates were last cross-checked against the NOAA Solar Calculator on 2026-07-02. Sri Lanka Standard Time is a fixed UTC+5:30 with no daylight saving.

Related tools

Rate this tool
Be the first to rate

Comments & feedback

Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.

Found a bug, edge case, or want another city added?

Email me at [email protected] — most fixes ship within 24 hours.