Solar Curve Visualizer.
Solar Curve Calculator
Sunrise, sunset, how high the sun climbs, and the clear-sky sunlight on level ground, hour by hour, for any place and date.
The sun's path sets how long a day's light lasts and how strong it gets. In Boston on June 21 the sun rises at about 4:08 in the morning and sets at about 7:25 in the evening, Eastern Standard Time, a day of 15.3 hours, and stands 71° above the horizon at solar noon; on December 21 it stands 24° up and the day lasts 9.1 hours. This calculator works those numbers out for any latitude, longitude and date by the method of NOAA's Solar Calculator, and estimates the clear-sky sunlight reaching level ground through the day.
How the calculation works
Where the sun is. The calculator uses the method behind NOAA's Solar Calculator, which NOAA says is "based on equations from Astronomical Algorithms, by Jean Meeus." From the date it works out the sun's declination and the equation of time (how far the sun runs ahead of or behind the clock, up to about 16 minutes); with your latitude, longitude and time zone those give the sun's height at any minute. It adds NOAA's small allowance for the air bending sunlight near the horizon, and runs every five minutes through the day.
Sunrise and sunset. NOAA sets the sun's center 0.833° below the horizon at sunrise and sunset, "the approximate correction for atmospheric refraction at sunrise and sunset, and the size of the solar disk," which makes the day a few minutes longer than the geometric half-circle. Where the sun never reaches that point, the calculator says the sun stays up or stays down all day.
How close it gets. NOAA states that its calculator's sunrise and sunset are "theoretically accurate to within a minute for locations between +/- 72° latitude, and within 10 minutes outside of those latitudes," and that observed times vary with the atmosphere. The calculator reproduced the times from NOAA's method to the minute, and the noon height to a tenth of a degree, for these six places and dates (our check):
| Place and date | Sunrise | Solar noon | Sunset | Day | Noon height |
|---|---|---|---|---|---|
| Boston, June 21, 2026 | 4:08 | 11:46 | 19:25 | 15.3 h | 71.1° |
| Boston, December 21, 2026 | 7:10 | 11:42 | 16:15 | 9.1 h | 24.2° |
| Nashville, March 20, 2026 | 5:51 | 11:55 | 17:59 | 12.1 h | 53.9° |
| Anchorage, June 21, 2026 | 3:20 | 13:01 | 22:43 | 19.4 h | 52.2° |
| Sydney, September 22, 2026 | 5:45 | 11:48 | 17:51 | 12.1 h | 55.8° |
| Quito, November 24, 2026 | 5:57 | 12:00 | 18:05 | 12.1 h | 69.5° |
Local standard time. NOAA also publishes a shorter set of equations for the sun's position; checked against the full method for 2026 to 2028, their declination was off by up to 0.54°, about two minutes of sunrise near the equinoxes (our comparison), so this calculator uses the full method.
Clear-sky sunlight. The direct beam on a surface facing the sun is 1.353 × 0.7(AM0.678) kW/m², where AM is the air mass, the length of the sun's path through the air compared with straight overhead. The 1.353 is the solar constant, the 0.7 reflects that about 70% of the sunlight reaching the top of the atmosphere gets through, and the 0.678 is "an empirical fit to the observed data" (PVEducation, after Meinel and Meinel 1976). Air mass uses Kasten and Young's (1989) formula, which holds near the horizon. "Even on a clear day, the diffuse radiation is still about 10% of the direct component," so the calculator multiplies by 1.1, then by the sine of the sun's height for level ground (PVEducation). Adding up the day gives the whole-day figure.
What it does not do
- It assumes a cloudless sky at sea level. PVEducation notes that sunlight increases with height above sea level; clouds, haze and smoke cut it, sometimes by most of it.
- It does not apply daylight saving time. Add an hour to the clock times where it is in force.
- It does not account for hills, buildings or trees on your horizon, which make your own sunrise later and sunset earlier.
- It does not give light inside a greenhouse. Fisher, Donnelly and Faust put transmission into a greenhouse at usually 35 to 75%.
Sources
- NOAA Global Monitoring Laboratory. General Solar Position Calculations. Sunrise and sunset at a zenith of 90.833° and why; the shorter equations compared with the full method.
- NOAA Global Monitoring Laboratory. Solar Calculator: Calculation Details. The calculator's basis in Meeus's Astronomical Algorithms, its stated accuracy and the refraction allowance; the page notes the calculator is no longer actively maintained. The calculator's published source supplied the method used here.
- Honsberg, C. and S. Bowden. Air Mass, PVEducation. The direct-beam formula (Meinel and Meinel 1976), the Kasten and Young (1989) air mass, and diffuse light at about 10% of direct on a clear day.
- Honsberg, C. and S. Bowden. Arbitrary Orientation and Tilt, PVEducation. Sunlight on a flat surface as the incident sunlight times the sine of the sun's elevation.
- Fisher, P., C. Donnelly and J. Faust. Evaluating Supplemental Light for Your Greenhouse. Reprinted from the Ohio Florist's Association Bulletin, May 2001. Summer noon sunlight at about 2,000 µmol/m²/s and greenhouse transmission of 35 to 75%.
CC BY 4.0. Cite as "Open Agriculture Technology Solar Curve Calculator (openagriculturetechnology.com)".
Frequently asked questions.
How high does the sun get at noon where I live?
It depends on your latitude and the date. Enter both and the calculator gives the sun's height above the horizon at solar noon. In Boston it reaches about 71° on June 21 and about 24° on December 21, by NOAA's solar position method.
Why is solar noon not at 12:00?
Two reasons. Clock time is the same across a whole time zone, while solar noon moves 4 minutes for each degree of longitude. And the equation of time, which NOAA's equations calculate, runs the sun up to about 16 minutes ahead of or behind the clock through the year. Boston's solar noon is about 11:46 Eastern Standard Time on June 21 and 11:42 on December 21.
How are sunrise and sunset times calculated?
NOAA's method finds the time when the sun's center is 0.833° below the horizon, the approximate correction for the air bending sunlight and for the size of the sun's disk. That puts sunrise a few minutes earlier and sunset a few minutes later than the moment the sun's center crosses the geometric horizon.
How accurate are these sunrise and sunset times?
The calculator uses the method of NOAA's Solar Calculator, which NOAA says is theoretically accurate to within a minute between 72° north and south and within 10 minutes beyond. Real sunrise and sunset still vary with temperature, pressure and what is on your horizon.
How much sunlight reaches the ground on a clear day?
With the sun straight overhead, the formula PVEducation gives puts the direct beam at about 0.95 kW/m² at sea level, and about 1.04 kW/m² with diffuse light added (our arithmetic). On level ground it falls as the sun gets lower: the calculator works it out through the day for your place and date.
What is air mass in sunlight?
Air mass is the length of the sun's path through the atmosphere compared with the path when the sun is straight overhead. It is 1 at the zenith and grows as the sun drops, so more of the light is absorbed and scattered on the way down. The calculator uses Kasten and Young's 1989 formula, which PVEducation gives.
Can I convert watts per square meter of sunlight to PPFD?
Only with a conversion factor that depends on the share of sunlight in the photosynthetic band, which this calculator does not assume. For plant light, use a quantum (PAR) sensor or measured daily light integral. As a scale, Fisher, Donnelly and Faust put summer noon sunlight at about 2,000 µmol/m²/s.
How long is the day at the summer solstice in Anchorage?
By NOAA's method, about 19.4 hours on June 21, 2026, from about 3:20 to 22:43 Alaska Standard Time, with the sun 52° high at solar noon.