Temperature gradient in AP Environmental Science

In AP Environmental Science, a temperature gradient is the way temperature changes with altitude, and it's the basis for dividing Earth's atmosphere into five layers (troposphere, stratosphere, mesosphere, thermosphere, exosphere) per EK ERT-4.D.2.

Verified for the 2027 AP Environmental Science examLast updated June 2026

What is temperature gradient?

A temperature gradient describes how temperature changes as you move up through the atmosphere. Sometimes temperature drops with altitude, sometimes it rises, and each time the trend flips, you've crossed into a new atmospheric layer. That's literally how the layers are defined. The CED (EK ERT-4.D.2) says the troposphere, stratosphere, mesosphere, thermosphere, and exosphere are distinguished by their temperature gradients, not by their gas composition.

Here's the pattern to memorize. In the troposphere, temperature decreases with altitude (warm ground heats the air from below). In the stratosphere, temperature increases with altitude because the ozone layer absorbs UV radiation. In the mesosphere, temperature decreases again. In the thermosphere, it increases. Think of it as a zigzag, down-up-down-up, as you climb. Each reversal point (like the tropopause between the troposphere and stratosphere) acts like a lid, because the gradient there discourages air from mixing vertically.

Why temperature gradient matters in AP® Environmental Science

Temperature gradient sits in Topic 4.4 (Earth's Atmosphere) in Unit 4: Earth Systems and Resources, supporting learning objective 4.4.A, which asks you to describe the structure and composition of the atmosphere. The gradient is the 'structure' half of that objective. If you can sketch the zigzag temperature profile, you can name every layer and explain why the boundaries exist. It also pays off later in the course. Vertical temperature patterns control where air mixes and where pollutants get trapped, which is the physics behind thermal inversions and smog in the air pollution unit, and it explains why ozone-destroying CFCs do their damage specifically in the stratosphere.

How temperature gradient connects across the course

Atmospheric layers: mesosphere and exosphere (Unit 4)

The layers aren't arbitrary names to memorize. Each one exists because the temperature gradient flips direction at its boundary. The mesosphere is where temperature starts falling again above the warm stratosphere, and the exosphere is the thin outermost layer where the atmosphere fades into space.

Thermal inversions and air pollution (Unit 7)

Normally the troposphere's gradient (warm below, cool above) lets air rise and carry pollutants away. A thermal inversion flips that gradient near the ground, putting warm air on top of cool air like a lid, so smog gets trapped over cities. Same concept, smaller scale, big exam payoff.

Chlorofluorocarbons (CFCs) and the ozone layer (Units 4 and 9)

The stratosphere is warm precisely because ozone absorbs UV radiation there. That's why CFCs reaching the stratosphere are such a problem. Destroying ozone attacks the very thing that creates the stratosphere's reversed temperature gradient and shields life from UV.

Is temperature gradient on the AP® Environmental Science exam?

This shows up most often in multiple-choice questions. Classic stems ask you to identify the layer where 'temperature decreases with increasing altitude and weather systems develop' (that's the troposphere) or to name a defining feature of the stratosphere (temperature increases with altitude because of ozone). Tougher questions make you apply the gradient, like figuring out why a pollutant accumulates around 15 km. The answer hinges on the tropopause, where the gradient reverses and stops vertical mixing, so stuff piles up near the troposphere-stratosphere boundary. No released FRQ has used the phrase 'temperature gradient' verbatim, but air pollution FRQs about thermal inversions are testing exactly this idea, so be ready to explain why a flipped gradient traps pollutants near the surface.

Temperature gradient vs Thermal inversion

A temperature gradient is the general pattern of how temperature changes with altitude, and it exists everywhere in the atmosphere all the time. A thermal inversion is one specific, temporary situation where the troposphere's normal gradient flips near the ground (warm air sits above cool air), trapping pollutants. Every inversion is a gradient, but not every gradient is an inversion.

Key things to remember about temperature gradient

  • A temperature gradient is the change in temperature with altitude, and per EK ERT-4.D.2 it's what defines the five atmospheric layers, not differences in gas composition.

  • The pattern zigzags as you go up. Temperature falls in the troposphere, rises in the stratosphere, falls in the mesosphere, and rises in the thermosphere.

  • The stratosphere warms with altitude because the ozone layer absorbs UV radiation, which is why CFC damage to ozone matters there.

  • Where the gradient reverses (like the tropopause around 15 km), vertical air mixing stalls, so pollutants can accumulate at those boundaries.

  • Weather happens in the troposphere because its gradient (warm air below cooler air) drives the rising, mixing air that creates storms.

  • A thermal inversion is a local, temporary flip of the troposphere's normal gradient that traps smog near the ground, a major Unit 7 connection.

Frequently asked questions about temperature gradient

What is a temperature gradient in AP Environmental Science?

It's the change in temperature as altitude increases. The atmosphere's five layers (troposphere, stratosphere, mesosphere, thermosphere, exosphere) are defined by where this gradient reverses direction, which is essential knowledge ERT-4.D.2 in Topic 4.4.

Does temperature always decrease as you go higher in the atmosphere?

No. Temperature falls with altitude in the troposphere and mesosphere, but it rises with altitude in the stratosphere (ozone absorbing UV) and the thermosphere. That zigzag pattern is exactly what defines the layer boundaries.

What's the difference between a temperature gradient and a thermal inversion?

A temperature gradient is just the general altitude-temperature pattern, present everywhere. A thermal inversion is a specific event where the troposphere's normal gradient flips near the surface, with warm air capping cool air, which traps pollutants and causes smog.

Why does the stratosphere get warmer with altitude?

The ozone layer in the stratosphere absorbs incoming UV radiation from the sun, which heats that layer. This reversed gradient is the stratosphere's defining feature and a favorite multiple-choice answer.

In which layer does weather occur and why?

Weather occurs in the troposphere, the lowest layer, where temperature decreases with altitude. Warm surface air rises through cooler air above it, and that vertical mixing drives clouds, storms, and weather systems.