Air Density Calculator
Calculate air density from pressure, temperature, and humidity using the ideal gas law. Includes altitude reference table and moist air corrections.
Calculate solar altitude, azimuth, zenith angle, and shadow length for any location, date, and time. Includes hourly sun path table.
| Hour | Altitude (°) | Status |
|---|---|---|
| 6:00 | 15.5 | Above horizon |
| 7:00 | 26.5 | Above horizon |
| 8:00 | 37.9 | Above horizon |
| 9:00 | 49.2 | Above horizon |
| 10:00 | 59.9 | Above horizon |
| 11:00 | 68.9 | Above horizon |
| 12:00 | 72.7 | Above horizon |
| 13:00 | 68.3 | Above horizon |
| 14:00 | 59.1 | Above horizon |
| 15:00 | 48.2 | Above horizon |
| 16:00 | 36.9 | Above horizon |
| 17:00 | 25.6 | Above horizon |
| 18:00 | 14.6 | Above horizon |
The position of the sun in the sky is determined by three factors: your latitude, the time of day, and the day of the year. The solar altitude (elevation angle) measures how high the sun sits above the horizon, while the azimuth indicates its compass direction. Together, these angles define shadows, solar panel tilt, building orientation, and daylight quality.
At solar noon, the sun reaches its highest altitude, which equals 90° minus the latitude plus or minus the solar declination (±23.45° over the year). In summer at 40°N latitude, the sun reaches about 73°; in winter, only 27°. This dramatic difference drives seasonal heating patterns and is the reason buildings need different shading strategies for summer vs. winter.
The equation of time — a correction up to ±16 minutes — accounts for Earth's elliptical orbit and axial tilt, which cause solar noon to differ from clock noon. This calculator computes precise solar angles at any location and time, useful for architects, solar engineers, photographers, and anyone who works with natural light.
Architects use sun angles for shading design and natural lighting. Solar installers optimize panel tilt and orientation. Photographers plan golden-hour shoots. Gardeners determine sunny vs. shaded areas. This calculator serves all these needs with precise solar geometry.
Solar declination: δ = 23.45° × sin(360/365 × (284+N)). Hour angle: H = 15°(t − t_solar_noon). Altitude: sin(α) = sin(φ)sin(δ) + cos(φ)cos(δ)cos(H). Azimuth: cos(Az) = (sin(δ) − sin(φ)sin(α))/(cos(φ)cos(α)).Result: Altitude: 72.5°, Azimuth: 177°
In New York on June 21 (summer solstice) at noon: declination ≈ 23.45°, maximum altitude = 90 − 40.71 + 23.45 ≈ 72.7°. Near solar noon, sun is almost due south.
Calculate solar altitude, azimuth, zenith angle, and shadow length for any location, date, and time. Includes hourly sun path table. Use it when you need a repeatable calculation in the physics / general category and want the setup, result, and supporting values kept together. This is especially helpful when small input changes, unit choices, or rounding decisions can change the final number.
Start by confirming that the inputs match the formula shown on the page. Then compare the main output with the worked example and any secondary values shown by the calculator. If the result will be used in another calculation, keep extra precision until the final step and record the assumptions beside the number.
Treat the result as a calculation aid rather than a substitute for context. For schoolwork, include the formula and substitution steps. For planning, technical, financial, or health-related decisions, verify important numbers against primary records, current rules, or a qualified professional before acting on them.
Last updated:
A correction factor (±16 minutes) that accounts for Earth's elliptical orbit and 23.45° axial tilt. It's why a sundial doesn't match a clock exactly.
Panels produce maximum power when perpendicular to sunlight. The optimal tilt angle approximately equals your latitude so panels face the sun at noon in equinoxes.
Jan 1 = 1, Feb 1 = 32, Mar 21 (equinox) ≈ 80, Jun 21 (solstice) ≈ 172, Sep 22 (equinox) ≈ 265, Dec 21 (solstice) ≈ 355.
The horizontal compass direction of the sun, measured clockwise from true North. 0° = North, 90° = East, 180° = South, 270° = West.
Only between the tropics (23.45°N to 23.45°S). At these latitudes, the sun passes through zenith (altitude = 90°) twice per year.
Air mass describes how much atmosphere sunlight passes through. AM1 = sun at zenith, AM1.5 = altitude 42° (standard for solar testing), AM2 = altitude 30°.
Calculate air density from pressure, temperature, and humidity using the ideal gas law. Includes altitude reference table and moist air corrections.
Calculate the angle of repose for granular materials. Find pile height, volume, slope ratio, and stability from friction coefficient and density.
Calculate angle of twist, shear stress, and torsional stiffness for solid or hollow shafts under torque. Compare materials side by side.