**European Economic Area (EEA) developers**

> [!NOTE]
> If your billing address is in the European Economic Area, effective on 8 July 2025, the [Google
> Maps Platform EEA Terms of Service](https://cloud.google.com/terms/maps-platform/eea) will apply to your use of the Services. [Learn more](https://developers.google.com/maps/comms/eea/faq.md.txt). In addition, certain content from the Solar API will no longer be returned. [Learn more](https://developers.google.com/maps/comms/eea/solar.md.txt).

The Solar API provides solar potential data through the
[buildingInsights](https://developers.google.com/maps/documentation/solar/reference/rest/v1/buildingInsights/findClosest.md.txt) and [dataLayers](https://developers.google.com/maps/documentation/solar/reference/rest/v1/dataLayers/get.md.txt) endpoints. To use Solar API data,
understanding the following concepts may be helpful:

- [Solar irradiance and insolation](https://developers.google.com/maps/documentation/solar/concepts.md.txt#solar-irradiance)
- [Sunniness and sunshine quantiles](https://developers.google.com/maps/documentation/solar/concepts.md.txt#sunniness)
- [Rasters](https://developers.google.com/maps/documentation/solar/concepts.md.txt#rasters)
- [Flux](https://developers.google.com/maps/documentation/solar/concepts.md.txt#flux)

## Solar irradiance and insolation

A building's [solar potential](https://developers.google.com/maps/documentation/solar/reference/rest/v1/buildingInsights/findClosest.md.txt#solarpotential) is largely based on the amount of sunlight it
receives, along with other factors. *Solar irradiance* is the amount of light
that falls on a given area, while *solar insolation* is a measurement of the
average solar irradiance an area receives over time.

A *kilowatt* (kW) is a measure of *power* , or the rate at which something uses
energy, while a *kilowatt-hour* (kWh) is a measure of *energy* used or energy
capacity. Solar irradiance is measured in kilowatts, while solar insolation is
measured in kilowatt-hours.

1 kWh/kW equals 1 sun hour, which is defined as one hour where the intensity of
sunlight reaches an average of 1,000 Watts (1 kilowatt) of energy per square
meter.

For example, if a part of a roof has a solar insolation of 2000 kWh/kW/year, a 1
kW solar panel array placed there will produce 2000 kWh/year. A 4 kW array
placed in the same location will produce 8000 kWh/year.

[Standard Test
Conditions](https://footprinthero.com/standard-test-conditions) are
an industry standard benchmark used to determine solar panel power output. At
STC, the amount of power a solar panel outputs becomes its maximum power rating,
or capacity. A 1 kW panel will generate 1 kWh of energy under STC.

## Sunniness and sunshine quantiles

The Solar API defines "sunniness" as the level of sunlight received by a
particular section of a roof relative to the rest of the roof, annually on
average. Some parts of a roof may be darker than others, due to shade from
nearby buildings or tree cover, while other parts of a roof may be fully exposed
to the sky at all times and therefore receive more sunlight.

The [sunshineQuantiles](https://developers.google.com/maps/documentation/solar/reference/rest/v1/buildingInsights/findClosest.md.txt#sizeandsunshinestats) field in the [buildingInsights](https://developers.google.com/maps/documentation/solar/reference/rest/v1/buildingInsights/findClosest.md.txt) response provides 11
buckets, or deciles, of the sunniness of a roof or part of a roof. The
Solar API takes all of the points on the roof, sorts them by their
"sunniness," and identifies the highest, lowest, and 9 intermediate evenly
spaced values.

For example, assume that the sunniest part (1%) of a given roof receives
1100 kWh/kW/year, while the darkest part (also 1%) of the same roof
receives 400 kWh/kW/year. The next darkest 20% of the roof receives 500
kWh/kW/year. The next sunniest 50% of the roof receives 900 kWh/kW/year.
The remaining 28% receives 1000 kWh/kW/year.

## Rasters

The [dataLayers](https://developers.google.com/maps/documentation/solar/reference/rest/v1/dataLayers/get.md.txt) endpoint returns solar information encoded in [GeoTIFFs](https://developers.google.com/maps/documentation/solar/geotiff.md.txt), which
are a type of raster.

A *raster* is composed of a matrix of cells, or *pixels*, arranged in rows and
columns. Each pixel contains a value that represents information about that
location, such as elevation, tree canopy, sunlight, among others.

Rasters store *discrete* and *continuous* data. *Discrete* data, such as land
cover or soil type, is thematic, or categorical. *Continuous* data represents
phenomena that have no clear boundaries, such as elevation or aerial imagery.

Rasters are composed of *bands* , which measure different characteristics of a
dataset. Rasters can have a single band or multiple bands. Each band is composed
of a matrix of cells, or *pixels*, which store information. Pixels can store
float or integer values.

The *bit depth* of a pixel indicates the number of values that a pixel can
store, based on the formula 2^n^, where *n* is the bit depth. For
example, an 8-bit pixel can store up to 256 (2^8^) values ranging from
0 to 255.

![Three raster bands stacked to form a multiband raster.](https://developers.google.com/static/maps/documentation/images/raster_bands.svg)

## Flux

You can request [flux maps](https://developers.google.com/maps/documentation/solar/data-layers.md.txt) using the [dataLayers](https://developers.google.com/maps/documentation/solar/reference/rest/v1/dataLayers/get.md.txt) endpoint. The
Solar API defines *flux* as the annual amount of sunlight on roofs in
kWh/kW/year. In calculating flux, the Solar API takes the following
variables into account:

- **Location information:** The Solar API uses hourly solar irradiance data from various weather sets, which are typically on a 4 to 10 km grid. The API computes the position of the sun in the sky at each hour of the year. This is location-dependent and may vary as a result.
- **Weather patterns (clouds):** These are accounted for in the solar irradiance data.
- **Shade from nearby obstacles:** Shading from trees, other buildings, and other parts of the roof are taken into account in calculations.
- **Orientation:** The pitch and azimuth of each part of the roof.
- **True efficiency:** The values computed by the Solar API are independent of the panel efficiency. To calculate energy production, you must multiply by the kilowattage of the panels and factor in other system losses. For more information, see [Calculate solar costs and
  savings](https://developers.google.com/maps/documentation/solar/calculate-costs-us).

The Solar API does not take the following variables into account:

- **Inverter efficiency and other losses:** Most values are computed in DC kWh, but some are converted to AC kWh assuming an 85% system efficiency.
- **Soiling and snow:** These are not included in the calculations.