Twilight Phases (Dawn & Dusk)
Runs entirely in your browser — your inputs never leave this page.
How this tool works
- 1
Computes solar right ascension, declination, and equation of time for the given timestamp.
- 2
Translates celestial coordinates into local topocentric coordinates (Altitude and Azimuth).
- 3
Calculates object shadow length ratios: Shadow = Height / tan(Altitude).
Common uses
- Solar photovoltaic panel tilt and azimuth orientation optimization.
- Architectural daylight analysis and neighboring building shadow studies.
- Landscape photography and golden hour planning.
Frequently asked questions
Solar azimuth is the compass direction from which the sunlight is coming, measured in degrees clockwise from True North (0° North, 90° East, 180° South, 270° West).
More in Time & Sun
- Sunrise & Sunset FinderFind precise daily sunrise, sunset, dawn, dusk, civil twilight, nautical twilight, and golden hour photography times worldwide.
- Moon Phase CalculatorFind the moon phase, illumination percentage, and moon age for any date — past, present, or future.
- Golden Hour CalculatorFind today’s golden hour, blue hour, sunrise, and sunset times for any location — perfect for photographers.
- Time Zone ConverterConvert any time between world time zones instantly, with daylight saving handled automatically. Plan meetings across continents.
- Solar Tilt CalculatorEnter your latitude or address to get the optimal solar panel tilt angle for year-round production, plus winter and summer settings tuned to where you live.
- Dark Sky FinderEnter any location to estimate your Bortle dark-sky class, check tonight's moon phase for stargazing, and find the nearest certified Dark Sky Places within driving distance.
- Moon Phase CalendarBrowse any month and year to see the moon phase for every day — how much of the disc is lit, the moon’s age, and the exact dates of the full moon and new moon, with a countdown to the next full moon.
- Moon Position CalculatorEnter any location and time to find exactly where the moon is: its altitude and azimuth in your sky, how far away it is, how big it will look, when it rises and sets, and the sub-lunar point where it stands straight overhead.
- Time Difference CalculatorPick any two of 40 major world cities and see the exact time difference right now, both live clocks side by side, and what 9 AM, noon and 6 PM in one city mean in the other.
- US Time Zone MapA clickable map of the United States colored by time zone, with a live clock for every zone and plain-words explanations of the 15 states that are split between two zones.
- World Time Zone MapSee the world divided into the 25 standard UTC offset bands, click any band to find its offset and the nearest major city’s exact time, and compare the tidy bands with the real zones below.
Planning Patio Shade in Phoenix with Winter and Summer Sun Angles
A homeowner in Phoenix, Arizona, wants to eat lunch on his patio in December without sitting in full desert sun, and he is deciding whether a 6-foot garden wall will shade the table. Guessing is pointless in Phoenix, where the sun behaves very differently in June and December, so he opens the Sun Position Calculator for his address. His patio faces south, which in Arizona is either the best seat in the house or a griddle, depending entirely on the season.
For December 21, the shortest day of the year, the tool shows the sun climbing only to about 33.1 degrees above the horizon at solar noon, due south. Shadow math is simple division: shadow length equals height divided by the tangent of the sun's elevation. Tan of 33.1 degrees is about 0.652, so the wall's noon shadow is 6 / 0.652, roughly 9.2 feet long, pointing north. His table sits 7 feet from the wall, comfortably inside the shade at lunchtime.
Then he checks June 21 for contrast. The noon sun in Phoenix reaches about 80 degrees, nearly overhead, and the same wall casts a shadow of 6 / tan(80 degrees), or 6 / 5.67, barely 1.1 feet. The 47-degree swing between the two solstices is the whole story of desert shade: a wall that protects you all winter noon is almost useless in summer, which is why he adds a shade sail angled for the high summer sun. The sail earns a second look for a reason he had not considered: by 3 in the afternoon the summer sun has swung around to the west, so a horizontal sail still lets low light slip under its western edge, and he adds a simple drop curtain on that side to finish the job.
He also checks 9 in the morning, when the family actually drinks coffee outside. The sun is lower and in the southeast, so shadows stretch far to the northwest and the patio's east side is the sunny one. Designing for the hour you really use the space, rather than noon by default, is the difference between a patio that works and one that photographs well. He writes the key numbers, winter noon shadow, summer noon shadow, and the 9 AM coffee-hour direction, on a card taped inside a kitchen cabinet, so next year's questions get answers instead of another round of guessing with a tape measure.
Common mistakes to avoid
- Designing shade from summer angles only. At mid-northern latitudes the noon sun swings more than 45 degrees between solstices. A pergola tuned for July can leave a December table in full sun, so always check both solstices; a design tested against a single date is a coin flip dressed as a plan.
- Misreading the azimuth scale. On most sun tools, azimuth 180 degrees means the sun is due south, which is where it sits at solar noon in the northern hemisphere. Confusing that with a south-referenced scale flips your whole plan, and when two tools disagree by roughly 180 degrees, this scale difference is almost always the cause.
- Forgetting that shadows point away from the sun. A low morning sun in the east throws long shadows to the west. People routinely place the shade structure on the wrong side by picturing the shadow falling toward the sun instead of away from it, so sketch the shadow on paper for the exact hour before buying anything.
Pro tips
- Check three dates, both solstices and an equinox, to see the full yearly range of sun angles for your exact spot.
- Solar noon is not always 12:00 on the clock; daylight saving and your position in the time zone can shift it by half an hour or more.
- Measure your wall or tree height honestly, including fences on a slope, because shadow length scales directly with height, and a surprising number of nominal 6-foot fences stand under 5 feet 9 on the low side of the yard.
Applied Geospatial: Aviation, Marine, Time & Map APIs
Where mapping meets the real world: how planes navigate the curve of the Earth, how ships measure the sea, how time zones really work, and how developers build on map tiles and APIs. Written for Sun Position Calculator (Solar Azimuth & Elevation) and the everyday mapping tasks around it.
Great-Circle Navigation: Why Planes Arc
The shortest path between two points on a sphere is a great circle — the route you get slicing the planet through its center. On a flat map this looks like a dramatic arc, which is why New York to Tokyo flights swing near Alaska. The map is lying; the plane is flying straight.
Airlines do not fly perfect great circles. Jet streams — rivers of wind at 35,000 feet — can add 100 mph to ground speed or subtract it. Dispatchers nudge routes into favorable winds, trading a few extra miles for much faster trips. The planned track is a great circle bent by the weather.
For flight planning, distances come in flavors. Great-circle miles are the geometric minimum; filed flight plans run 3 to 7 percent longer for airways and maneuvering. Fuel planning adds reserves on top. When a tool reports 5,500 miles for a transatlantic hop, the airline plans for 5,800.
Airports are identified by two code systems. The 3-letter IATA codes (JFK, LHR, CDG) are for travelers; the 4-letter ICAO codes (KJFK, EGLL, LFPG) are for pilots and air traffic control, with the first letter naming the region. Both point to the same runways.
At Sea: Nautical Miles, Knots & Rhumb Lines
A nautical mile is one minute of latitude — about 1.15 land miles or 1.85 kilometers. Because it derives from the Earth's geometry, it is the natural unit for marine navigation: one minute of latitude traveled equals one nautical mile made good, anywhere on the planet.
Speed at sea is measured in knots — nautical miles per hour. The word comes from sailors tossing a knotted rope overboard and counting knots paid out against a sandglass. A container ship at 20 knots covers about 480 nautical miles a day, which is why your overseas order takes weeks.
Sailors historically steered rhumb lines: courses of constant compass bearing. A rhumb line spirals toward the pole and runs longer than the great circle, but it is trivially easy to follow — just hold the heading. Modern ships with GPS follow great circles, but the rhumb line remains the backup every navigator learns.
Ports are the fixed points of maritime geography. Each major harbor publishes exact coordinates for its harbor entrance, and shipping contracts price by port pair. A few miles of error in a port position can misroute a vessel into the wrong traffic lane — precision matters even on the open ocean.
This page shows the first two chapters. Read the complete this category field guide →