Skip to content
Tutorials Center
My learning

Topics

Lesson 24 of 37 · Climate Change

The Greenhouse Effect and Earth's Energy Balance

Learn how Earth balances incoming sunlight and outgoing heat, why greenhouse gases warm the planet, and calculate Earth's temperature without an atmosphere.

Earth is not too hot or too cold for life because of a delicate balance between the energy it receives from the Sun and the energy it sends back to space. Greenhouse gases in the atmosphere are a key part of that balance. Without them our planet would be a frozen world. Adding more of them makes the planet warmer. This lesson explains the physics step by step and lets you calculate the numbers yourself.

Weather and climate

Weather is the state of the atmosphere at a place and time: today's rain or temperature. Climate is the long-term pattern of weather, usually averaged over at least 30 years. A cold week does not disprove warming, just as one hot day does not prove it. Climate change means a lasting shift in these averages and patterns.

Energy in, energy out

The Sun delivers about 1361 watts per square meter (W/m²) to a surface facing it at the top of the atmosphere. This is called the solar constant. Earth is a sphere, but it intercepts sunlight over a disc of area πR² while its surface area is 4πR². So the average incoming energy is one quarter of 1361, about 340 W/m².

Not all of that is absorbed. The fraction reflected back is the albedo. Clouds, ice and snow, and bright desert sand reflect a lot; oceans and forests reflect little. Earth's average albedo is about 0.30, so roughly 30% is reflected and 70% absorbed.

In balance, absorbed power equals emitted power. A hot object emits thermal infrared radiation, described by the Stefan-Boltzmann law:

emitted power per m² = σ × T⁴

where σ = 5.670 × 10⁻⁸ W/(m²·K⁴) and T is in kelvin.

Setting the two equal gives the temperature of a planet without a greenhouse effect:

S × (1 − albedo) / 4 = σ × T⁴

Python Earth without greenhouse gases

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.

You should see about 255 K, which is roughly −18 °C. The real average surface temperature is about 15 °C (288 K). That difference of about 33 K is the natural greenhouse effect.

How the greenhouse effect works

Sunlight is mostly visible light and passes through the atmosphere. The warmed surface re-emits energy as infrared radiation. Greenhouse gases absorb some of that infrared and radiate it in all directions, including back down. This extra downward radiation keeps the surface warmer than it would otherwise be. The effect is not a glass roof trapping air like a real greenhouse, but the name stuck.

flowchart TD
A["Sunlight in"] --> B["Surface absorbs and warms"]
B --> C["Infrared radiation upward"]
C --> D["Greenhouse gases absorb and re-emit"]
D --> E["Some heat returns to surface"]
D --> F["Some escapes to space"]

Greenhouse gases slow the escape of heat; they do not create energy.

The main greenhouse gases are water vapor, carbon dioxide (CO₂), methane (CH₄), nitrous oxide (N₂O), ozone and human-made gases such as CFCs and HFCs. Nitrogen and oxygen, which make up about 99% of dry air, do not absorb infrared significantly.

Water vapor is the largest contributor, but it works as a feedback rather than a driver. Warmer air holds more vapor, which adds to warming. CO₂ stays in the atmosphere for a long time, so it sets the temperature that water vapor then amplifies.

Radiative forcing and enhanced greenhouse effect

Radiative forcing is the change in the energy balance at the top of the atmosphere (in W/m²) caused by some factor, such as more CO₂. A positive forcing warms. The extra warming caused by human additions of greenhouse gases is the enhanced greenhouse effect. A common simple expression for CO₂ forcing is:

ΔF = 5.35 × ln(C / C0) in W/m²

where C0 is a reference concentration. If CO₂ rises from the pre-industrial value of about 280 ppm to 420 ppm, the forcing is about 2.2 W/m².

Climate sensitivity is how much the global temperature rises for a doubling of CO₂. Recent assessments put the most likely equilibrium value at about 3 °C with a likely range of roughly 2.5 to 4 °C. Doubling gives a forcing of 5.35 × ln 2, about 3.7 W/m².

Python CO2 forcing and warming estimate

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.

This is a simplified estimate. The real climate also involves oceans that take a long time to warm, aerosols that cool, and many feedbacks.

Feedbacks

A positive feedback amplifies a change; a negative feedback reduces it.

  • Ice-albedo (positive): warming melts ice, the darker surface absorbs more sunlight, warming increases.
  • Water vapor (positive): warmer air holds more water vapor, a greenhouse gas.
  • Permafrost (positive): thawing frozen ground may release stored carbon and methane.
  • Clouds (mixed): some clouds cool by reflecting sunlight, others warm by trapping heat, so their net effect is a big source of uncertainty.
  • Increased radiation to space (negative): a hotter planet emits more infrared, which pushes back.

If you see "the greenhouse effect is bad", remember: the natural effect is essential for life. The issue is human-driven strengthening of it.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Why is the average incoming sunlight about 340 W/m² and not 1361 W/m²?

    The disc area is pi R squared, the sphere area is 4 pi R squared, so the average is one quarter.
  2. 2. Roughly how much does the natural greenhouse effect warm Earth's surface?

    Without it the surface would average about 255 K instead of about 288 K.
  3. 3. Which is a positive feedback?

    Melting ice lowers albedo and amplifies the original warming.
  4. 4. Which gases make up most of the dry atmosphere but do NOT absorb much infrared?

    Molecules of N2 and O2 have little interaction with infrared radiation.

Summary

  • Weather is short-term; climate is a long-term average.
  • Absorbed sunlight S(1 − albedo)/4 balances emitted energy σT⁴.
  • Earth without greenhouse gases would average about 255 K; the real value is about 288 K.
  • Greenhouse gases absorb and re-emit infrared; human additions strengthen the effect.
  • Feedbacks amplify or reduce warming, and clouds are a main uncertainty.

Next: The Carbon Cycle and Rising CO2