About the calculation
How we work out the sun
Last updated
We work out how many hours of direct sun reach the facade and the floor you choose — not just which way the wall faces. The basis is public elevation and building data from Kartverket, the Norwegian mapping authority, and from Matrikkelen, the national property register.
Every address is worked out the same way
The same method runs for every address, built on the same public elevation and building data. No manual adjustment and no guesswork per home — which is what makes the figures comparable from one address to the next.
More than which way the wall faces
Most property listings say which direction a facade faces. That says nothing about whether the building next door or the trees actually let the sun through. We work out whether the sun gets past what stands in the way — buildings, vegetation and terrain — not just the compass direction.
Percent of possible sun
Where the report has a stored horizon, a percentage appears under each month: the hours of sun on the wall, divided by the hours the sun is above the horizon in front of the wall (within 88° of the wall's direction). The percentage uses the same leaf-on hours as the bar. Possible sun is counted with no terrain, buildings or trees. A month shows “–”, not 0 %, when no sun is possible, when possible sun is under half an hour, or when the report has no monthly figures.
Worked out at your entrance
If the building has one entrance, we work out the sun at the middle of each wall. If it has several, we work it out at your entrance: on the part of each wall nearest the address point. A long block can have sun at one end and shade from the neighbouring building at the other, so each entrance gets its own answer.
Sources and licences
All the sources and licences are listed here. Other pages carry only a short source line that links here.
- Elevation data: © Kartverket's laser scan, Oslo: flown 18 May 2024; other areas: the scan date is shown on the report where it is known (CC BY 4.0 / NLOD).
- Building data: © Matrikkelen, the public register of buildings and addresses (NLOD).
- Building outlines, street lines, district boundaries, lakes and rivers: © OpenStreetMap contributors (ODbL).
- The map under Oslo in 3D: © Kartverket's topographic map (CC BY 4.0).
- Build year: Statistics Norway (CC BY 4.0).
- Price per m²: Oslo kommune (NLOD 2.0), source Boligmappa.
- Our tables as CSV and JSON files: CC BY 4.0. Use them freely, and credit Soltreff and the sources.
The credit line on reports, images and data files:
Elevation and building data: © Kartverket (CC BY 4.0 / NLOD) · Building outlines: © OpenStreetMap contributors (ODbL).
Calculation version
Every report is stamped with a calculation version and the date the source data was scanned. Together they say which calculation the figures came from, so two reports for the same home can be compared even if they were retrieved months apart.
We change the version when an improvement to the calculation can move a figure on the report — not when we change the look or the wording. So if a figure moves between two versions, it is the calculation that has got better, not the home that has changed. A downloaded PNG or PDF carries the same stamp, so a saved answer can always be traced back to the calculation that made it.
Checked against the physics, not against the ground truth outside
The position of the sun is checked against known astronomy: the calculated solar elevation and direction match the reference values for Oslo at the solstices and the equinoxes.
The shadows have no ground truth to be measured against. The figures have not been compared with other sun tools or with shadows photographed on site, and they are not going to be — we dropped that plan rather than point at a check nobody was going to run.
What remains is a set of requirements the machine re-checks for every single building: the sun cannot, for instance, get smaller the higher up the floors you go. Break one of them and the calculation stops. That does not catch an error in the method itself, and we say so plainly rather than calling it quality assurance.
One limit is worth naming. The sun is a disc about half a degree wide, not a point. We count the sun as up at about when its upper edge reaches the horizon, with refraction in the air included. Outdoors that makes the changeover between sun and shade soft by a couple of minutes rather than instant, so read a single point in time as roughly that, not to the minute. Hours across a month or a year are not affected: the softness falls evenly on both sides and cancels out.
December is a minimum figure where the leaves are confirmed
Where the laser scan is confirmed flown with leaves on the trees, the elevation data cannot tell us whether a tree is deciduous or a spruce. December is therefore worked out as if the leaves stayed on all winter. The figure you get is a minimum: if a deciduous tree is in the way, the home gets more sun in December than the figure promises — never less.
If there is foliage between the sun and the wall, the report also shows what gets through once the leaves are gone, and December stands as a range from the minimum figure upwards. If no foliage is in the way, there is nothing to get through, and the two ends land on the same figure. That is an honest limit, not an excuse.
Where we have not confirmed that the scan was flown with leaves on the trees, the report says so and calls the December figure an estimate, not a minimum. The figure is then not validated against the leaf assumption, and should be read that way. That includes Bergen and Kristiansand.
The figures are indicative
We calculate as carefully as we can from public data, but we do not guarantee the figure is right, and it is not documentation. If it is going into a sales prospectus, a valuation or a planning case, someone who is accountable for it has to check it. If you use Soltreff at work, tell us — we would like to know what you need.
We cover Oslo, Bergen, Trondheim, Stavanger, Kristiansand, Bærum, Drammen, Fredrikstad, Sandnes, Sandefjord, Ålesund, Sarpsborg, Tønsberg and Larvik for now (see all the municipalities we cover), plus parts of neighbouring municipalities. The rest of Norway is coming.