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 sunrise, sunset, day length, and civil twilight for any location and date. Includes monthly sunrise/sunset table and polar day/night detection.
| Month | Sunrise | Sunset | Day Length |
|---|---|---|---|
| Jan | 07:24 | 16:47 | 9h 23m |
| Feb | 06:58 | 17:24 | 10h 26m |
| Mar | 06:15 | 17:56 | 11h 41m |
| Apr | 05:23 | 18:29 | 13h 6m |
| May | 04:44 | 19:00 | 14h 16m |
| Jun | 04:29 | 19:23 | 14h 54m |
| Jul | 04:42 | 19:21 | 14h 39m |
| Aug | 05:11 | 18:49 | 13h 37m |
| Sep | 05:43 | 17:58 | 12h 15m |
| Oct | 06:15 | 17:08 | 10h 53m |
| Nov | 06:51 | 16:32 | 9h 41m |
| Dec | 07:19 | 16:25 | 9h 6m |
Sunrise and sunset times depend on your geographic location, the date, and atmospheric refraction. At the equator, day length varies little throughout the year — about 12 hours year-round. But at higher latitudes, the difference is dramatic: London ranges from 8 hours in December to 16.5 hours in June. Beyond the Arctic/Antarctic circles, entire days of continuous sunlight (midnight sun) or darkness (polar night) occur.
The calculation involves solar declination (the sun's north-south position, ±23.45° over the year), the observer's latitude, and the equation of time (which accounts for orbital eccentricity and axial tilt). Atmospheric refraction lifts the apparent sun by about 0.83° at the horizon, adding a few minutes to visible daylight.
It gives sunrise, sunset, solar noon, day length, and civil twilight times for any location on Earth. The monthly table lets you see how daylight varies through the seasons — essential for planning outdoor activities, agriculture, photography, and solar energy systems.
Knowing sunrise and sunset is essential for photographers (golden hour), gardeners (frost timing), outdoor enthusiasts, pilots, and anyone planning activities around natural light. The monthly table reveals seasonal patterns at a glance.
Hour angle at sunrise: cos(H₀) = −tan(φ)tan(δ), where φ = latitude, δ = solar declination. Sunrise = solar noon − H₀/15. Sunset = solar noon + H₀/15. Day length = 2H₀/15 hours.Result: Sunrise: 05:25, Sunset: 20:31
New York on June 21: day length ≈ 15 hours 6 minutes. Solar noon at 12:58 PM EDT (sun is south of true south due to equation of time correction).
Calculate sunrise, sunset, day length, and civil twilight for any location and date. Includes monthly sunrise/sunset table and polar day/night detection. 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:
It is approximately — sunrise to solar noon equals solar noon to sunset. But "12 hours from sunrise" is not meaningful; day length determines the gap between the two events.
When the sun never sets — occurs inside the Arctic/Antarctic circles during their respective summers. At the North Pole, the sun stays above the horizon for 6 months continuously.
Time zones cover 15° of longitude but your location may be offset. Also, the equation of time adds up to ±16 minutes of correction from Earth's orbital mechanics.
Within ±2 minutes for most locations. It uses the standard astronomical formulas but omits altitude correction and precise atmospheric refraction, which add ~1 minute of precision.
Yes — higher elevation means you can see farther over the horizon, advancing sunrise by a few minutes. This calculator assumes sea level.
A correction (±16 minutes) for Earth's elliptical orbit and axial tilt that makes solar noon shift relative to clock noon through the year, forming the analemma pattern.
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.