Solar Declination Calculator

Solar Declination Calculator

Calculate solar declination, subsolar latitude, noon sun elevation, and the matching seasonal signal for any date and observer latitude on JSCalc-Blog.com.

Solar Date Presets
📍Inputs and Options
Used to compute day number N unless an override is entered.
Leave blank to use the selected calendar date.
North is positive, south is negative.
The simple method is easy to audit; NOAA-style is smoother through the year.
Refraction option changes very low noon sun angles most.
Observer mode flips labels automatically for southern latitudes.
Use 2 decimals for most solar angle checks.
Use positive degrees for hills, buildings, or a raised skyline.

Solar Position Results

Solar Declination -- degrees
Subsolar Latitude -- where the sun is overhead at solar noon
Noon Elevation -- above local horizon
Season Label -- based on selected basis
Day number N--
Formula used--
Latitude difference--
Noon elevation formula--
Horizon check--
🔢Key Solar Geometry Values
23.44°Earth axial tilt
N - 81Simple phase shift
90°Zenith elevation
Equinox declination
📐Formula Breakdown

Simple sine approximation

Declination ≈ 23.44 × sin((360 / 365) × (N - 81)), with the angle converted to radians before taking the sine.

This version is excellent for quick checks because it reaches about +23.44° near the June solstice, 0° near equinoxes, and -23.44° near the December solstice.

NOAA-style approximation

First compute fractional year γ = (2π / 365) × (N - 1). Declination in radians is then a small Fourier series using sin and cos terms through 3γ.

The calculator converts that radian result back to degrees, then treats the declination as the subsolar latitude.

Noon solar elevation

Geometric noon elevation = 90° - |observer latitude - declination|. Local horizon altitude is subtracted from the final practical clearance angle.

🗓Declination Milestone Table
Solar markerApprox dateDay NDeclinationSubsolar point
March equinoxMar 2079About 0°Equator
June solsticeJun 21172About +23.44°Tropic of Cancer
September equinoxSep 22265About 0°Equator
December solsticeDec 21355About -23.44°Tropic of Capricorn
🌍Noon Elevation Quick Lookup
LatitudeMar equinoxJune solsticeDec solsticeInterpretation
90.0°66.6°66.6°Equatorial overhead sun near equinox
23.44° N66.6°90.0°43.1°Tropic of Cancer overhead in June
40° N50.0°73.4°26.6°Strong seasonal noon-angle swing
51.5° N38.5°61.9°15.1°Low winter sun at London latitude
66.56° N23.4°46.9°0.0°Arctic Circle solstice boundary
33.9° S56.1°32.7°79.5°Southern seasons reverse northern labels
Method Comparison Grid

Simple sine

Best for teaching, spreadsheet checks, and fast seasonal estimates. It follows the requested 23.44 × sin((360 / 365) × (N - 81)) approximation.

NOAA-style

Best for daily calculator use because the fractional-year Fourier terms better match the uneven apparent solar cycle.

Noon elevation

Both methods feed the same elevation rule: 90° minus the absolute distance between observer latitude and solar declination.

📊Common Latitude Reference Table
Place or lineLatitudeOverhead sun?Highest sunLowest sun
EquatorNear equinoxes90°66.6°
Tropic of Cancer23.44° NJune solstice90°43.1°
Tropic of Capricorn23.44° SDecember solstice90°43.1°
New York City40.71° NNo72.7°25.8°
Singapore1.35° NTwice yearlyNearly 90°65.2°
Sydney33.87° SNo79.6°32.7°
💡Solar Declination Tips
Latitude signs: Enter northern latitudes as positive values and southern latitudes as negative values. The subsolar latitude uses the same sign convention.
Horizon limits: A mountain, roofline, or tree line can reduce practical noon clearance even when the geometric solar elevation is positive.

On summer days, sun is high up in the sky. In winter, the sun are low in the sky. Why? This is because of the geometry of how the earth sits on its axis. The earth’s axis has a current tilt of approximately 23.44 degrees.

That’s why it matters. That is the single most important piece of information to help you understand the pattern of daylight and solar energy. You can plug those into calculator above and do the math yourself. All that information are useless unless you know what the numbers mean.

How the Sun Moves

The point on earth where solar declination reaches 0º marks the place where the sun is directy overhead at noon. On the equinoxes, the point lie on the equator. Everywhere along that line the sun is vertical. During the year, the subsolar point slowly shifts northward toward the Tropic of Cancer or southward toward the Tropic of Capricorn. That shift produce the seasons.

It’s a tiny shift in terms of angular degrees, but it make a huge difference in amount of energy that hits your roof. It also makes big differences in the length of your own shadow. People greatly underestimate the effect of where they live (their own latitude).

For instance, if you’re in New York, which has a latitude of 40 degrees north, then the sun does not rise directly overhead. You’ll see it at an angle much lower than 90 degrees. In fact, the tool show exactly what your elevation at noon is compared to that moving subsolar point. That’s important, because it tells us just how far above you the sun is, and therefore how much atmosphere it must pass through.

Less atmosphere means more intense sunlight with less scattering; that’s why it’s brighter. But a shallow angle cause that same amount of energy to be spread out across more area. So it’s redder and weaker.

So what’s with the two calculations? There’s the straightforward sine approximation, which is simple, clear, and follows along easy. A simple phase shift captures the annual cycle. It’s great for classroom examples and quick estimates. It works well when it doesn’t matter if your answer isn’t perfectly right, as long as it is clear.

Then there’s the NOAA-style one, which incorporates a Fourier series to capture how Earth’s orbit isn’t a circle at all but an ellipse. That means that you’re moving faster around the Sun in winter months than summer ones. So the days aren’t evenly spaced. The complicated equation ironed out those wrinkles. It produces a result that matches actual observations more closely.

If you’re planning on building a solar array, you would of wanted this one; you want to know exactly when peak irradiance occurs.

And here’s a table on the page that indicates which way your noontime elevation will shift depending on what city you’re in. Notice, for example, the difference between Singapore and London. In winter, the sun never rises much higher then 15 degrees over London. That means it remains close to 90 degrees practically all year long in Singapore. This is why passively heated homes are effective up North but totally ineffective near the equator.

If you’re not near the tropics, don’t expect the sun to be high overhead. Work within your available angles. Horizon adjustments are practical applications of this.

In other words, the geometric calculation assumes a flat earth with a 0-degree horizon. What about reality? There aren’t many places in real life where that’s the case. A tree line, hill, or a tall building can blocks the sun. This happens even when the theoretical elevation is still positive.

What this does is add a horizon offset to the equation for you to see just how much usable sunlight there actualy is. You may calculate that the noon time sun is at 10 degrees but a neighboring roof block out anything less than 12 degrees. There is no direct sunlight at all.

And that’s the thing most folks miss. They concentrate on how high the sun is and don’t pay attention to what is standing in their way.

“Managing expectations” is what tracking the sun is all about. You know where it will be, because you know the path of the earth (predictable) and how the earth tilts (fixed). You can’t alter its tilt, but you CAN arrange your panels, mirrors, or windows so as to capture the available light.

That’s what you’re doing whether you use the complex Fourier series or something simpler like a sine wave. You’re lining up your structure to match the sky. And once you figure out the angle, it’s just geometry from there.

Solar Declination Calculator