Skip to content
Tutorials Center
My learning

Topics

Lesson 26 of 37 · Water and the Atmosphere

Energy Balance and the Greenhouse Effect

Work out why Earth is about 33 degrees warmer than a bare rock would be: solar energy, albedo, the Stefan-Boltzmann law and a simple one-layer greenhouse model.

Earth's temperature stays fairly steady because the energy that arrives from the Sun is balanced by the energy that Earth sends back into space. This is the planet's energy balance. If the balance shifts, the planet warms or cools until a new balance is reached. In this lesson you build the simplest possible model of that balance and see where the greenhouse effect comes from.

Energy from the Sun

At Earth's distance, sunlight delivers about 1,361 W/m² to a surface facing the Sun directly. This is the solar constant S. Earth is a sphere, so on average the energy is spread over the whole surface: a disc of area πR² intercepts the sunlight, but the surface area is 4πR². The average incoming energy is therefore S / 4, about 340 W/m².

Not all of it is absorbed. Clouds, ice, snow, bright deserts and the ocean surface reflect part. The fraction reflected is the albedo a. For Earth, the average albedo is about 0.3: roughly 30% of sunlight is reflected and 70% absorbed.

absorbed solar energy = (S / 4) × (1 − a)

Energy leaving: radiation

Every object with a temperature above absolute zero emits electromagnetic radiation. The Stefan–Boltzmann law gives the power per unit area of a perfect emitter (a black body):

P = σ × T⁴

with σ = 5.670 × 10⁻⁸ W/(m²·K⁴) and T in kelvin (K = °C + 273.15). Hot objects emit far more (T⁴) and at shorter wavelengths. The Sun's surface (about 5,800 K) emits mainly visible light; Earth emits infrared.

Earth without a greenhouse effect

Set outgoing equal to absorbed energy:

σ × T⁴ = (S / 4) × (1 − a) → T = [ S (1 − a) / (4σ) ]^(1/4)

Python Earth's effective temperature

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The result is about 255 K (−19 °C), much colder than the real average of roughly 288 K (+15 °C). The gap of about 33 K is the natural greenhouse effect. Without it, the oceans would freeze.

How the greenhouse effect works

Sunlight passes through the atmosphere easily and warms the surface. The warm surface sends out infrared radiation. Greenhouse gases (water vapor, carbon dioxide, methane, nitrous oxide, ozone and others) absorb part of this infrared and re-emit it in all directions, including back down. The surface therefore receives energy from both the Sun and the atmosphere, and ends up warmer than it would be otherwise.

A real greenhouse works mainly by blocking air movement, not by the same radiative process, so "greenhouse effect" is a name by comparison. The mechanism in the atmosphere is the absorption and re-emission of infrared.

A one-layer model

Suppose the atmosphere absorbs a fraction ε of the infrared from the surface and is transparent to sunlight. The atmosphere emits equally up and down. Balancing energy at the surface and in the atmosphere gives:

T_surface = T_eff × [ 2 / (2 − ε) ]^(1/4)

With ε = 0 there is no greenhouse effect and the surface is at T_eff. As ε grows toward 1, the surface gets warmer.

Python One-layer greenhouse model: vary the absorption

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The model is a teaching tool. Real atmospheres have many layers, convection, clouds and different gases that absorb at different wavelengths. Still, it shows the key idea: more infrared absorption means a warmer surface.

Albedo feedback

Albedo itself responds to temperature. If ice melts, dark ocean or land replaces bright ice, albedo falls, more sunlight is absorbed, and warming increases further. This is the ice–albedo feedback. Clouds, water vapor and vegetation have feedbacks, too, some amplifying a change (positive) and some damping it (negative).

Python Albedo change and effective temperature

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

flowchart LR
    SUN["Sunlight<br/>S/4 = 340 W/m²"] --> REF["30% reflected"]
    SUN --> ABS["70% absorbed by surface and air"]
    ABS --> IR["Infrared radiation"]
    IR --> GHG["Greenhouse gases absorb<br/>and re-emit"]
    GHG --> SPACE["Escape to space"]
    GHG --> BACK["Back to surface"]

A simplified energy flow.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Why is the average solar energy per square meter of Earth about S/4?

    A disc of area πR² intercepts the light but it is spread over a sphere of area 4πR².
  2. 2. What is albedo?

    Albedo is the reflected fraction; Earth's average is about 0.3.
  3. 3. Without any greenhouse effect, Earth's average temperature would be about

    The effective temperature is about 255 K, or −19 °C.
  4. 4. Which pair of statements about the greenhouse effect is correct?

    The natural greenhouse effect warms Earth by about 33 K; more greenhouse gases absorb more infrared.

Summary

  • Average absorbed solar energy is (S/4)(1 − albedo), about 240 W/m².
  • A body radiates σT⁴; balancing gives Earth an effective temperature of about 255 K.
  • The actual mean surface temperature is about 288 K; the 33 K difference is the natural greenhouse effect.
  • Greenhouse gases absorb and re-emit infrared; more of them warm the surface further.
  • Feedbacks such as ice–albedo can amplify or dampen changes.

Next: Air Pressure and Wind