Balcony and window sunlight calculator

How much sun does your balcony or window get? Enter the direction it faces, the floor, the buildings opposite and any balcony above, and see the hours of direct sun for every day and month of the year, with a 3D model.

Tap or click the map to move the spot. On a phone, move and zoom with two fingers; with a mouse, drag and scroll.

Facing direction: The direction you look when you stand at the window and look out.

Facing directionS 180°
NESW
2:36 AM

On October 1 this balcony gets 11 h 4 min of direct sun.

7:12 AM–6:16 PM

Most sun March 11 h 36 min
Least sun May 0 min

Useful low winter sun reaches the balcony.

When the sun reaches it

When the sun reaches itJanFebMarAprMayJunJulAugSepOctNovDec12a3a6a9a12p3p6p9p12a

Each cell is one hour on the 15th of the month. Darker cells get more minutes of direct sun.

Direct sun by month

4.6 Jan
8.2 Feb
12 Mar
6.6 Apr
0.0 May
0.0 Jun
0.0 Jul
3.1 Aug
11 Sep
9.5 Oct
5.9 Nov
3.1 Dec

Hours of direct sunlight on the 15th of each month.

Calculated with Astronomy Engine, an open-source library verified against the US Naval Observatory and NASA JPL. How we calculate

How to use this tool

  1. Set the place and direction. Enter your location and set the direction the balcony or window faces: the direction you look when you stand in it and look out.
  2. Describe the surroundings. Set the height of your floor, the buildings opposite (height and distance), the depth of any balcony or roof above, and whether the balcony has side walls.
  3. Read the result. The summary shows how many hours of direct sun the balcony gets on the selected day and when. The heatmap shows every hour of every month at a glance, and the bar chart gives the monthly totals.
  4. Check the 3D model. Drag the time slider to see exactly when the sun reaches the balcony and when the buildings opposite or the balcony above cast their shadow.

How the calculation works

For every few minutes of the day, the tool checks four things:

  1. Is the sun in front of the facade? The sun must be less than 90° to either side of the facing direction.
  2. Is it above the buildings opposite? Their roofline forms a raised horizon. The angle is arctan((their height − your floor height) ÷ distance).
  3. Is it below the overhang? A balcony or roof above blocks the sun when its height in the plane of the facade (the profile angle) is steeper than the angle from the bottom of the opening to the edge of the overhang.
  4. Is it within the side walls? For a recessed balcony, the side walls cut off sun that comes in too steeply from the side.

The result is for the foot of the opening: floor level at the window or balcony door, in the middle of its width. The outer edge of the balcony usually gets a little more sun, the back of the room less.

Worked example

A south-facing balcony 6 m above the ground in Ljubljana, with 15 m high buildings 20 m away and a 1.2 m deep balcony above. Around the equinoxes the sun reaches the balcony door all day. On the December solstice the low sun stays behind the buildings opposite, so it gets no direct sun at all. On the June solstice it also gets none, but for the opposite reason: the high summer sun is blocked by the balcony above. Set the balcony above to 0 and the summer sun returns; move up to the fifth floor and the winter sun returns. This is exactly how a well-designed south facade keeps rooms warm in winter and cool in summer.

Hot balconies

West- and south-west-facing balconies get strong afternoon sun in summer, when the air is already warm. If the tool shows more than three hours of direct sun between about 13:00 and 19:00 in summer, plan for an awning, external blinds or plants for shade. The guide which direction does my house face explains what each orientation means.

Last updated September 23, 2026

Frequently asked questions

Which direction is best for a balcony?

In the Northern Hemisphere, south-facing balconies get the most hours of sun over the year and the best winter sun. West-facing balconies get evening sun, which many people enjoy, but they can be very hot in summer. East-facing balconies are pleasant for breakfast and cool in the afternoon.

How do buildings opposite affect my balcony?

They block the sun whenever it is lower than the angle from your balcony to their roofline. That matters most in winter, when the sun is low. The higher your floor and the further away the buildings, the less they block.

Why does a balcony above reduce summer sun?

In summer the midday sun is high, so a balcony or roof above shades your opening. In winter the sun is low enough to shine underneath. That is why overhangs are a good passive way to keep south-facing rooms cool in summer.

What is a recessed balcony?

A balcony set into the facade (a loggia), with walls on both sides. The side walls block sun coming in at a steep angle from the side, which shortens the sunny hours in the morning and evening.