Sun & Shadow Simulator
See where the sun is and how long and in which direction shadows fall for any place, date and time – sun path, sunrise, sunset and hours of sun on a wall.
Tool
About this tool
About Sun & Shadow Simulator
Planning solar panels, a garden, a window or a building extension? Enter the location, date, time and the height of the building or object. The simulator works out the sun’s height and direction with the NOAA solar position formulas, the length and direction of the shadow, sunrise, solar noon and sunset, daylight hours and how many hours of sun a wall facing a chosen direction gets – and draws the day’s sun path with the shadow.
How it works
Example
How to use this tool
- Enter latitude, longitude and time zone (defaults: Lahore).
- Enter the date, time and object height.
- Read the shadow length and sun path; try other dates (21 June, 21 December).
Frequently asked questions
Does it include daylight saving time?
No – enter the offset in use on that date (for example 1 for UK summer time, 0 in winter).
Are hills and nearby buildings included?
No. It assumes a flat, open horizon. Real sunrise can be later behind hills or buildings.
How accurate is the sun position?
Within about a minute of time and a fraction of a degree for most places and dates, using the NOAA formulas. Real shadows are also affected by hills, trees and nearby buildings.