Solar Irradiance Calculator: GHI from Direct & Diffuse Radiation


Solar Irradiance Calculator

Answering the question: can solar irradiance be calculated using diffuse_rad_w and direct_rad_w? Yes, by combining these two components, you can determine the total solar energy reaching a surface.


Enter the direct radiation component, often called Direct Normal Irradiance.
Please enter a valid number.


Enter the diffuse radiation component, scattered by the atmosphere.
Please enter a valid number.


Total Global Horizontal Irradiance (GHI)
1000.0 W/m²
850.0 W/m²
Direct Component

150.0 W/m²
Diffuse Component

Total Irradiance is the sum of the direct and diffuse radiation components.

Dynamic bar chart comparing Direct, Diffuse, and Total Irradiance.


What is Solar Irradiance?

Solar irradiance is the measure of power per unit area received from the Sun in the form of electromagnetic radiation. It’s a critical metric for a wide range of applications, including predicting energy generation from solar power plants, understanding building heating and cooling loads, and in climate modeling. The standard unit for solar irradiance is Watts per square meter (W/m²).

To answer the core question, yes, total solar irradiance on a surface can be calculated by combining its primary components: Direct and Diffuse radiation. Understanding these two values is fundamental to a GHI calculation formula and designing efficient solar energy systems.

  • Direct Normal Irradiance (DNI): This is the solar radiation that comes in a straight line from the sun without being scattered by the atmosphere. It’s the component that creates sharp shadows and is primarily used by concentrating solar power (CSP) systems.
  • Diffuse Horizontal Irradiance (DHI): This is sunlight that has been scattered by molecules, aerosols, and clouds in the atmosphere. It arrives at the Earth’s surface from all directions. On a completely overcast day, nearly 100% of the irradiance is diffuse.

Solar Irradiance Formula and Explanation

The total solar radiation received by a horizontal surface on the ground is known as Global Horizontal Irradiance (GHI). The relationship between these components is straightforward: GHI is the sum of the horizontal components of direct and diffuse radiation.

The most precise formula is:

GHI = DHI + DNI × cos(θ)

Where θ (theta) is the solar zenith angle (the angle between the sun’s rays and the vertical). For simplicity, this calculator assumes the direct radiation input (`direct_rad_w`) is already projected onto the horizontal plane (i.e., it represents `DNI × cos(θ)`), leading to the simplified formula:

Total Irradiance = Direct Horizontal Component + Diffuse Horizontal Irradiance

This approach is practical when you have component values measured on a horizontal plane, which is common for many weather data sets. For a deeper dive into the physics, see our article on understanding solar panel efficiency.

Variables in Solar Irradiance Calculation
Variable Meaning Unit (Auto-Inferred) Typical Range
DNI Direct Normal Irradiance W/m² 0 (night/overcast) to 1050 (clear sky)
DHI Diffuse Horizontal Irradiance W/m² 50 (clear sky) to 500+ (overcast)
GHI Global Horizontal Irradiance W/m² 0 (night) to 1120+ (clear sky)

Practical Examples

Example 1: Clear, Sunny Day

On a bright, clear day around noon, the direct component of sunlight is very high, while the diffuse component is relatively low.

  • Inputs: Direct Radiation = 900 W/m², Diffuse Radiation = 120 W/m²
  • Units: Watts per square meter (W/m²)
  • Result: Total Global Irradiance = 1020 W/m²

Example 2: Fully Overcast Day

On a cloudy day, the direct beam from the sun is blocked, and almost all light is scattered. Therefore, the diffuse component dominates.

  • Inputs: Direct Radiation = 20 W/m², Diffuse Radiation = 350 W/m²
  • Units: Watts per square meter (W/m²)
  • Result: Total Global Irradiance = 370 W/m²

These examples illustrate the dynamic relationship between DNI and DHI, a key concept in photovoltaic system design.

How to Use This Solar Irradiance Calculator

  1. Enter Direct Radiation: Input the value for the direct component of solar radiation (DNI). If you’re unsure, use the default value which represents a fairly sunny condition.
  2. Enter Diffuse Radiation: Input the value for the diffuse, scattered component (DHI).
  3. Select Units: Choose your preferred unit from the dropdown menu. The calculator supports W/m², kW/m², and MJ/m²/hr. All calculations will update automatically.
  4. Interpret the Results: The main output shows the Total Global Horizontal Irradiance (GHI). You can also see a breakdown of the direct and diffuse contributions and a visual comparison in the bar chart.

Key Factors That Affect Solar Irradiance

The amount of solar radiation reaching the Earth’s surface is not constant and is influenced by several factors.

  • Sun Angle: The most significant factor. When the sun is high in the sky (low zenith angle), its rays pass through less atmosphere, resulting in higher irradiance. This varies with time of day and season.
  • Geographic Location: Locations closer to the equator generally receive more intense solar radiation than those at higher latitudes.
  • Cloud Cover: Clouds are the primary blockers and scatterers of sunlight. Thick clouds can reduce direct radiation to nearly zero.
  • Altitude: Higher altitudes have less atmosphere for the sunlight to pass through, which generally leads to higher DNI and lower DHI.
  • Atmospheric Conditions: Aerosols like dust, pollution, and water vapor in the atmosphere scatter and absorb sunlight, reducing the amount that reaches the ground.
  • Albedo: This refers to the reflectivity of the ground. Surfaces like snow or sand can reflect radiation back into the atmosphere, which can sometimes increase the total irradiance measured by a horizontal sensor. Interested in how angle affects solar collection? Check out our solar panel angle calculator.

Frequently Asked Questions (FAQ)

1. What’s the difference between solar irradiance and solar insolation?

Irradiance is an instantaneous measure of power per area (W/m²), like the speed of a car. Insolation is the total amount of energy received over a period of time (e.g., kWh/m²/day), like the total distance a car has traveled.

2. Can I use this calculator for a tilted solar panel?

This calculator determines Global Horizontal Irradiance (GHI). To find the irradiance on a tilted surface (Plane of Array or POA irradiance), more complex calculations involving the panel’s tilt and azimuth angle are needed. This is a crucial step in proper solar power calculator models.

3. Why would diffuse radiation be higher than direct radiation?

This is very common on overcast or cloudy days. The clouds block the direct beam from the sun (low DNI) but scatter the light across the whole sky, resulting in high DHI.

4. What are typical irradiance values?

On a clear day at noon, the GHI can exceed 1000 W/m². On a very cloudy day, it might be only 100-200 W/m². The world average solar radiation at the top of the atmosphere is about 1361 W/m².

5. How are these units converted?

The calculator uses these standard conversions: 1 kW/m² = 1000 W/m²; 1 MJ/m²/hr = (1,000,000 Joules / 3600 seconds) / m² ≈ 277.78 W/m².

6. What do the terms `diffuse_rad_w` and `direct_rad_w` mean?

These are common variable names in meteorological datasets. `diffuse_rad_w` refers to the diffuse radiation in Watts, and `direct_rad_w` refers to the direct radiation in Watts. This calculator helps you understand how to use them.

7. Can DNI be greater than GHI?

Yes. DNI is measured on a surface perpendicular to the sun, while GHI is on a horizontal surface. When the sun is low in the sky, `cos(θ)` is small, so GHI can be much lower than DNI.

8. Where does this data come from?

Direct and diffuse irradiance data is collected by weather stations using specialized instruments called pyrheliometers (for DNI) and pyranometers (for DHI and GHI).

© 2026 SEO Calculator Experts. All rights reserved.



Leave a Reply

Your email address will not be published. Required fields are marked *