Skip to main content
Virtual Laboratory
Earth & Space Simulations Free · No Account Free & source-available · CC BY-NC-SA 4.0

Atmospheric Heating & Greenhouse Effect

Solar shortwave radiation warms Earth's surface, which heats the troposphere through thermal infrared emission, latent heat, and convection; downward longwave radiation from the natural greenhouse effect keeps Earth's mean surface temperature near 15 °C, over 30 °C warmer than without an atmosphere. Adjust cloud cover, albedo, and greenhouse gases in this free 3D simulation below.

Atmospheric Heating & Greenhouse Effect — 3D Bench Preview

Interactive 3D Lab Preview

Runs right on this page in fullscreen · No account required

  • Use Wien's displacement law to distinguish solar shortwave radiation (0.50 µm peak) from surface thermal infrared longwave radiation (10.01 µm model-fitted peak), explain how evaporation (latent heat), convection, and longwave radiation jointly heat the lower atmosphere, and identify the downward branch of greenhouse-gas re-emission as downward longwave radiation.
  • Break down atmospheric attenuation of sunlight (reflection, absorption, and scattering) and downward longwave heat retention, and separate three distinct global fluxes: atmospheric absorption of surface longwave, emission to space, and downward longwave radiation (lesson baseline settings: 340 / 185 / 160 / 398 / 342 W·m⁻²).
  • Combine shortwave attenuation, downward longwave radiation, convection suppression, and adiabatic expansion cooling at altitude to explain clear-vs.-cloudy diurnal temperature ranges, afternoon temperature lag, clear-night radiative cooling and frost point, greenhouse warming, and why high plateaus have strong sunlight yet cold air.

Press Esc or your browser Back button anytime to return to the guide.

Principle, Mechanism & Key Concepts

Atmospheric Heating & Greenhouse Effect

What You Will Investigate
Goal 01

Use Wien's displacement law to distinguish solar shortwave radiation (0.50 µm peak) from surface thermal infrared longwave radiation (10.01 µm model-fitted peak), explain how evaporation (latent heat), convection, and longwave radiation jointly heat the lower atmosphere, and identify the downward branch of greenhouse-gas re-emission as downward longwave radiation.

Goal 02

Break down atmospheric attenuation of sunlight (reflection, absorption, and scattering) and downward longwave heat retention, and separate three distinct global fluxes: atmospheric absorption of surface longwave, emission to space, and downward longwave radiation (lesson baseline settings: 340 / 185 / 160 / 398 / 342 W·m⁻²).

Goal 03

Combine shortwave attenuation, downward longwave radiation, convection suppression, and adiabatic expansion cooling at altitude to explain clear-vs.-cloudy diurnal temperature ranges, afternoon temperature lag, clear-night radiative cooling and frost point, greenhouse warming, and why high plateaus have strong sunlight yet cold air.

On the Tibetan Plateau above 4000 m, intense sunlight burns your cheeks—so why does the air stay cold year-round with huge day-to-night temperature swings? And on a clear night, why do low-lying orchards form frost on leaves so readily while an enclosed greenhouse cools much more slowly?

Many people assume sunlight heats the air overhead directly. In reality, nitrogen and oxygen—the main gases in the troposphere—are nearly transparent to both visible shortwave sunlight and thermal infrared radiation, so most sunlight passes through the air to warm the ground first. Earth's surface then transfers energy to the lower atmosphere through evaporation (latent heat), sensible convection, and thermal infrared longwave radiation peaking near 10.01 µm. Water vapor, carbon dioxide, and clouds absorb much of that surface infrared and radiate it in all directions; the downward branch—downward longwave radiation—partially offsets surface heat loss and slows cooling.

The troposphere is largely transparent to visible solar shortwave radiation but strongly absorbs thermal infrared emitted by Earth's surface and re-radiates it in all directions. The Sun is the ultimate energy source of Earth's climate system, while the surface heats near-surface air through longwave radiation, latent heat of evaporation, and sensible convection—and downward longwave radiation slows surface cooling.
Global Annual Heating & Radiation Flux Model (W·m⁻² · Lesson Setting)Top of atmosphereAtmosphere (SW abs. 80; LW back-radiation ratio f = 75%–95%, lesson setting)Earth's surface (heats lower air via LW radiation, latent heat & convection)① Incoming 340② Abs. 160 (185 to sfc)Cloud/air 75Sfc refl. 25③ Surface LW 398Outgoing 239 (incl. window)④ Downward LW 342Net LW 56Wien Wavelengths & Diurnal RangeHigher T → shorter peak wavelength:• Sun (5772 K): λ_max ≈ 0.50 µm (shortwave)• Surface (289.4 K): λ_max ≈ 10.01 µm (LW)Clear vs. Overcast Diurnal Range:• Clear: weak day refl. + strong night cooling• Cloudy: strong day refl. + mild nightMicroclimate: Greenhouses & FrostGreenhouses curb airflow; heaters add heat
2D Visual Guide & Diagram — Atmospheric Heating & Greenhouse Effect

Cause-and-Effect Chain

01 Shortwave Attenuation & Transmission
Condition: Solar shortwave radiation (0.50 µm peak; global annual mean ~340 W·m⁻²) enters the atmosphere

Stratospheric O₃ absorbs UV, clouds and air reflect sunlight (75 W·m⁻²), molecules scatter blue–violet light, and the atmosphere absorbs shortwave directly (water vapor absorbs some near-IR; fixed at 80 W·m⁻² in this lesson model)

→ About 185 W·m⁻² reaches the surface; subtracting 25 reflected by the ground leaves 160 W·m⁻² absorbed (global annual lesson setting)
02 Surface Heating & Multi-Pathway Transfer
Condition: Earth's surface absorbs solar shortwave radiation and warms up

At a blackbody-fitted 289.4 K (for 398 W·m⁻²), the surface transfers energy via latent heat of evaporation, sensible convection, and thermal infrared longwave radiation peaking near 10.01 µm

→ Longwave radiation, latent heat, and sensible convection together transfer surface energy into the lower troposphere
03 Greenhouse Gas & Cloud Absorption and Re-Emission
Condition: Upward surface longwave radiation passes through a troposphere rich in H₂O, CO₂, and clouds (absorption and emission are distinct fluxes)

In NOAA's 100-unit budget, the surface emits 116 units, the atmosphere absorbs 104 (~90%), a small share escapes through the atmospheric window, and the atmosphere radiates both to space (49) and downward (98)

→ Default global annual settings in this lesson: 398 W·m⁻² surface longwave, 239 W·m⁻² outgoing longwave (OLR), and 342 W·m⁻² downward longwave radiation
04 Downward Longwave Slows Surface Cooling
Condition: The downward branch of atmospheric thermal re-emission—downward longwave radiation (default 342 W·m⁻²)

This single-layer lesson model expresses downward return with a back-radiation ratio f = L_dn / L_up (default 0.86; lesson range 75%–95%)

→ Default model net longwave loss N_night = 398 − 342 = 56 W·m⁻² (the natural greenhouse effect keeps Earth's mean surface temperature near 15 °C, over 30 °C warmer than without an atmosphere)

Core Formulas & Quantitative Relations

Wien's Displacement Law (Shortwave vs. Longwave Criterion)
λ_max = b / T (b = 2897.8 µm·K; Sun 0.50 µm shortwave vs. fitted surface 10.01 µm longwave)

Higher thermodynamic temperature T produces a shorter peak wavelength λ_max. The Sun's 5772 K effective temperature peaks in shortwave visible light, whereas a 289.4 K surface fitted to 398 W·m⁻² peaks in thermal infrared longwave (unrounded ratio 19.94×; NIST CODATA 2022).

Surface Shortwave Absorption & Attenuation Balance (Lesson Global Baseline, W·m⁻²)
S_sfc = S_in · (1 − R_atm − A_atm) = 185 ; S_abs = S_sfc · (1 − α_sfc) = 160

Lesson calibration sets S_in = 340 W·m⁻², default 65% cloud cover (R_atm ≈ 0.2206, model-fixed A_atm = 80/340 ≈ 0.2353), and α_sfc = 0.135. Over fresh snow (albedo 0.80), surface absorption plunges to 37 W·m⁻².

Downward Longwave & Model Net Longwave Equation (Single-Layer Illustrative Model)
L_dn = f · L_up (back-radiation ratio f ∈ [0.75, 0.95], lesson setting) ; N_night = L_up − L_dn

Illustrative single-layer lesson model (L_up = 398 W·m⁻², default f = 342/398 ≈ 0.86, default net longwave 56 W·m⁻²). Note that f is a downward-to-upward flux ratio, not atmospheric absorptance: real budgets separate absorption, window escape, upward emission, and downward longwave radiation. The diurnal range is derived independently from S_abs and N_night as an illustrative amplitude, not a coupled thermal balance temperature.

Typical Diurnal Phase Lag: Solar Radiation → Surface Radiation → Near-Surface Air Temperature (Uniform Time Axis, Illustrative)

On an ideal clear, calm day, solar elevation peaks at local solar noon (12:00, illustrative), yet near-surface air temperature usually peaks in the afternoon (around 14:00) and bottoms out near sunrise. Track the energy-budget crossover points—where heat gain shifts to net loss and back again (exact peak times vary with local solar noon, latitude, and surface type).

  • Afternoon maximum lag: Solar shortwave radiation peaks at local solar noon, but for a while afterward the surface and lower atmosphere still gain more energy than they lose. Air temperature keeps climbing until energy input falls to match output (around 14:00 in this ideal illustration), reaching the daily maximum.
  • Minimum near sunrise: Once the Sun sets, shortwave input drops to 0 and the surface loses heat continuously all night. Temperature falls until incoming sunlight after sunrise catches up with outgoing heat loss—the crossover from deficit to surplus—so the daily minimum usually occurs near sunrise.
  • Clear vs. cloudy diurnal swing: Clear skies allow weak daytime cloud reflection and weak nighttime downward longwave radiation, creating wide temperature swings; overcast skies attenuate more sunlight by day and return more longwave at night, flattening the curve. (Note: Step 5's 24h curve in the 3D bench uses fixed 06:00 minimum / 14:00 maximum phases to display illustrative amplitudes rather than solving the three-curve dynamic lag.)
A. Diurnal Lag: Solar, Surface LW & Air Temp. (Uniform Axis)0h6h12h14h18h24hSolar (12h, illus.)Surface LW (~13h, illus.)Air temp. (~14h, illus.)Min near sunriseB. Diurnal Range Ranking by Surface & Sky1. Clear land: largest (low heat cap. + clear sky)2. Clear ocean / cloudy land: moderate range3. Overcast ocean: smallest (high heat cap. + clouds)4. Airless body (Moon): no attenuation or LW returnSunlit ~127 °C, night ~−173 °C (range ~300 °C)

Concept Breakdown

01

Sunlight passes through the atmosphere before hitting the ground—so why does the troposphere warm from below and cool by about 6.5 °C per 1000 m on average?

Shortwave Attenuation, Multi-Pathway Surface Heating, and Tropospheric Cooling with Altitude

The Sun's effective surface temperature is 5772 K, placing its emission peak in visible shortwave light (0.50 µm). As sunlight crosses the atmosphere, stratospheric ozone absorbs ultraviolet light, clouds and particles reflect radiation, and air molecules produce Rayleigh scattering (preferentially scattering short-wavelength blue–violet light, giving clear skies their blue color). Water vapor also absorbs part of the solar near-infrared band (fixed at 80 / 340 ≈ 24% in this lesson's global model), yet most visible light reaches the ground. After the surface absorbs about 48% of incoming sunlight, NASA's global energy budget shows net surface heat outflow split across three pathways (as fractions of incoming solar energy): latent heat of evaporation (25%), sensible convection (5%), and net upward thermal infrared radiation (17%). Within that 17% net longwave term, about 12% escapes directly to space through the atmospheric window, leaving about 5%–6% net longwave transferred to the atmosphere alongside 25% latent heat and 5% convection. Fitted as a blackbody at 398 W·m⁻², Earth's surface sits near 289.4 K with a longwave peak at 10.01 µm (19.94× the solar peak). In NOAA's 100-unit budget, the surface emits 116 units of longwave radiation, water vapor, CO₂, and clouds absorb about 104 units (~90%), a small portion escapes through the atmospheric window, and the atmosphere radiates 49 units to space and 98 units back to the surface. The troposphere's average lapse rate (6.49 °C/km in NASA's standard atmosphere fit, ~6.5 °C/km) reflects both bottom-up surface heating (radiation + latent heat + sensible heat) and adiabatic expansion cooling of rising air under lower pressure aloft plus radiative cooling—while real weather profiles vary with inversions and convection.

Try in the 3D bench: Work through Steps 1–4. In Step 3, inspect the dual-axis Wien logarithmic peak scale (0.50 vs. 10.01 µm, 19.94×). In Step 4, note how this simplified model fixes atmospheric shortwave absorption at 80 W·m⁻² so the greenhouse-gas slider adjusts only downward longwave radiation.
02

Why do cloudy days have small temperature swings while clear nights cool rapidly—and why does the sunlit Tibetan Plateau stay cold?

Downward Longwave Heat Retention, Clear-vs.-Cloudy Cooling, and High-Plateau Cold

After greenhouse gases and clouds absorb thermal infrared radiation, they re-emit it in all directions; the downward branch returning to the ground is downward longwave radiation. This lesson uses a global annual baseline setting (surface longwave 398 W·m⁻², default downward longwave 342 W·m⁻², default net longwave loss 56 W·m⁻², back-radiation ratio f = 342/398 ≈ 0.86, lesson range 75%–95%; the natural greenhouse effect keeps Earth's mean surface temperature near 15 °C, over 30 °C warmer than without an atmosphere). Under overcast skies, thick clouds reflect more sunlight by day and strengthen downward longwave radiation at night (357 W·m⁻² at 100% cloud cover in this model), trimming net longwave loss to 41 W·m⁻² and shrinking the diurnal range. On clear, dry nights, downward longwave drops (314 W·m⁻² at 0% cloud cover, net longwave loss 84 W·m⁻²), driving rapid radiative cooling. According to the National Weather Service (NWS), frost forms only when a leaf or ground surface itself cools below 0 °C and reaches the frost point—real frost depends on surface temperature and moisture, not a single radiative flux cutoff. On the Tibetan Plateau above 4000 m, thin, dry air with few clouds weakens shortwave attenuation and yields fierce sunlight. Yet low atmospheric pressure at altitude drives adiabatic expansion cooling of rising air (shaping the tropospheric temperature profile), and sparse water vapor and CO₂ weaken downward longwave radiation for rapid nighttime heat loss—creating strong sunshine, low mean temperatures, and wide diurnal swings. By contrast, the airless Moon swings from about 127 °C in sunlight to about −173 °C in darkness (a ~300 °C span).

Try in the 3D bench: Open Steps 5–6 and drag Cloud cover between 0% (clear-night strong cooling proxy) and 100% (overcast heat retention) to compare the 24h illustrative amplitude curve (calculated independently from S_abs and N_night). Click Airless Moon for the no-atmosphere contrast, then open Mechanism Chamber in Step 7 to explore all three tabs.
03

What physical mechanisms actually drive greenhouse warming, orchard frost heaters, and reflective ground films?

Agricultural Microclimates: Greenhouses, Orchard Frost Heaters, and Reflective Mulch

Real agricultural microclimate controls do not all work by reflecting longwave radiation. First, an enclosed transparent greenhouse stays warm primarily by blocking convective air exchange between inside and outside air so warm air cannot mix away with the wind (NCERA-101 Controlled Environment Greenhouse Guidelines §6 likewise reports structure/ventilation and spectral properties separately). Longwave behavior varies by glazing: in Hanson's (1963, J. Appl. Meteorol.) field sample measurements using the nighttime net-radiation Protection Index (PI, the fractional reduction in net radiative loss relative to an uncovered surface), window glass reached PI = 93% (strongly absorbing thermal infrared and re-emitting both inward and outward—not mirror reflection), whereas polyethylene film reached PI = 26% (transmitting a substantial share of thermal infrared directly). Second, the FAO Frost Protection manual shows that orchard fires and heaters protect crops through direct heat release and convective mixing from burning fuel, not from smoke itself: typical combustion smoke particles average under 1.0 µm in diameter, scattering visible light while remaining nearly transparent to ~10 µm terrestrial longwave radiation with minimal effect on downward longwave flux. Accordingly, the Hypothetical smoke toggle in Steps 5 and 8 of the 3D bench is explicitly labeled an idealized teaching switch used only to demonstrate raising the model back-radiation ratio f. Third, plastic soil mulch mainly curbs latent heat loss from soil evaporation and convective heat loss, whereas silver reflective film under orchard trees raises surface albedo to bounce solar shortwave light up into shaded lower canopies for better fruit coloring.

Try in the 3D bench: In Step 7, open Mechanism Chamber → Tab ② (Greenhouse Airflow & Glazing) to compare blocked air exchange against glass re-emission and partial polyethylene transmission. In Step 8, complete the 15 s nighttime radiative-cooling proxy challenge (night only; raw-precision threshold L_dn ≥ 350.0 W·m⁻²) by adjusting cloud cover, water vapor/CO₂, or the teaching Hypothetical smoke control when the 5.0 s clear-night surge strikes.

Reference & Comparison Table

Shortwave Attenuation, Model Downward Longwave Radiation, and Illustrative Diurnal Amplitude Across Sky, Surface, and Airless Scenarios (Lesson Settings / Illustrative, Not Coupled Thermal Predictions)
Scenario / Simulation CaseDaytime Atmospheric AttenuationSurface Absorbed ShortwaveModel Downward LW & Ratio fNet Longwave & Independent Illustrative Range
Global annual baseline (65% cloud cover)Moderate (155 W·m⁻², 46%)160 W·m⁻²342 W·m⁻² (f = 86%, lesson setting)Default net LW 56 W·m⁻²; independent illustrative range 7.8 °C
Clear sky (0% cloud cover)Weak (100 W·m⁻², 30%)207 W·m⁻² (high)314 W·m⁻² (f = 79%, lesson setting)Net LW 84 W·m⁻² (strong cooling proxy); illustrative range 10.5 °C
Overcast sky (100% cloud cover)Strong (184 W·m⁻², 54%)135 W·m⁻² (low)357 W·m⁻² (f = 90%, lesson setting)Net LW 41 W·m⁻² (mild cooling); illustrative range 6.3 °C
Fresh snow cover (albedo 0.80)Unchanged at same cloud cover (default 155 W·m⁻²)37 W·m⁻² (148 reflected)342 W·m⁻² (f = 86%, lesson setting)Daytime net flux −19 W·m⁻² (negative); independent daytime swing 1.3 °C (illustrative)
Airless contrast (lunar surface)None (0 W·m⁻², 0%)294 W·m⁻² (340 reaches surface)0 W·m⁻² (no downward LW)Full 398 W·m⁻² LW escapes; independent illustrative range 24.9 °C (real Moon ~300 °C span)
Common Misconceptions

Common Misconceptions

Does the troposphere get colder with altitude only because high air is farther from Earth's surface heat source?

No. Earth's surface heats the lower atmosphere through longwave radiation, latent heat of evaporation, and sensible convection, and the tropospheric lapse rate (about 6.5 °C/km in standard atmosphere fits) results from both bottom-up surface heating and adiabatic expansion cooling of rising air under lower pressure aloft plus radiative heat loss. Compare altitude factors in Step 7 (Mechanism Chamber → ③ High-Altitude Plateau).

Does downward longwave radiation happen only at night, and do water vapor and CO₂ ignore all solar shortwave light?

No. Any atmosphere above absolute zero (0 K) emits thermal infrared radiation in all directions 24 hours a day, so downward longwave radiation acts both day and night. In the real atmosphere, water vapor also absorbs part of the solar near-infrared spectrum; this simplified lesson model fixes shortwave absorption at 80 W·m⁻² to isolate longwave effects (inspect Step 4).

Do smoky fires protect orchards from frost mainly by blocking 10 µm surface longwave radiation with thick black smoke?

No. According to the FAO Frost Protection manual, typical combustion smoke particles are smaller than 1.0 µm and are nearly transparent to ~10 µm terrestrial longwave radiation, contributing almost nothing to downward longwave flux. Orchard heaters prevent frost primarily by releasing heat directly and mixing air; the 3D bench's Hypothetical smoke switch in Steps 5 and 8 is labeled as an idealized parameter test only.

Do glass greenhouses and plastic hoop houses stay warm because their roofs reflect surface longwave radiation back like a mirror?

No. A greenhouse stays warm primarily because its enclosure suppresses convective air exchange with cooler outside air (NCERA-101 §6 reports ventilation and spectral glazing separately). Longwave performance depends on the covering: Hanson's (1963) field tests found a nighttime net-radiation Protection Index of PI = 93% for window glass (which absorbs thermal infrared and re-emits both inward and outward—not mirror reflection) versus PI = 26% for polyethylene film (which transmits much thermal infrared; PI measures fractional reduction in nighttime net radiative loss). Inspect both materials in Step 7 (Mechanism Chamber → ② Greenhouse Airflow & Glazing).

Practice Quiz

Test your understanding with 6 diagnostic questions

Check concepts, graphs, and experimental error reasoning with immediate feedback for every choice.

Embed & Source Availability

Embed this simulation

Paste this iframe snippet into your non-commercial course page or learning platform.

Free & Source-Available (CC BY-NC-SA 4.0)

This simulation is licensed under CC BY-NC-SA 4.0 for non-commercial educational use, embedding, and adaptation with attribution.

Browse All 159 Free Labs →
Sources, Revision & Feedback

Sources, Revision & Feedback

Quiz →