The Science Behind Weather
How sunlight, air pressure, water vapor and Earth's spin combine to make wind, clouds, rain and storms, and how forecasters turn measurements into predictions.

Step outside on a summer afternoon and you might watch the whole story of weather unfold in a few hours. The morning sky is clear. By lunchtime, puffy white clouds have popped up. By late afternoon one of them has grown into a dark tower, the wind gusts, and a downpour rattles the roof. Nothing came "from" anywhere. The ingredients were already there: sunshine, air, water and a spinning planet.
Weather is simply the state of the atmosphere at a particular place and time: its temperature, pressure, humidity, wind, cloud and precipitation. Climate, by contrast, is the long-term pattern of that weather over decades. This article explains the physics that drives day-to-day weather, from why the wind blows to how a thunderstorm builds, and how forecasters turn millions of measurements into tomorrow's prediction.
Where weather happens
Almost all weather takes place in the lowest layer of the atmosphere, the troposphere. It reaches roughly 8 kilometers above the poles and around 15 kilometers or more over the tropics, and it holds about three-quarters of the atmosphere's mass and nearly all of its water vapor. Above it sits the stratosphere, a calmer layer; airliners often cruise near the boundary between the two.
One defining feature of the troposphere is that it usually gets colder with height, by an average of about 6.5 °C per kilometer. That is why mountaintops can be snowy in June. It also matters for storms: when warm air near the ground sits beneath much colder air aloft, the atmosphere is "unstable," and rising air can keep rising.
The engine: uneven heating by the Sun
The Sun does not heat Earth evenly. Near the equator, sunlight strikes the surface almost head-on, concentrating its energy. Near the poles, the same sunlight arrives at a low angle and is spread across a much larger area. Land heats and cools faster than water. Dark forests absorb more sunlight than bright snow. These differences create warm and cold regions, and the atmosphere constantly tries to even them out.
Warm air is less dense than cool air, so it tends to rise; cool air sinks. That vertical motion, repeated across the globe, is the starting point for nearly every weather system. You can read more about how energy changes form, from sunlight to heat to motion, in our guide to energy and its forms.
Air pressure and the birth of wind
Air has weight. At sea level, the column of air above each square meter presses down with a force we measure as about 1,013 hectopascals (millibars) on average. Where air is rising, surface pressure tends to fall, creating a low. Where air is sinking, pressure rises, creating a high.
Wind is air moving from higher pressure toward lower pressure. The bigger the pressure difference over a given distance, the stronger the wind. On a weather map, that shows up as closely packed isobars (lines of equal pressure).
But the wind does not blow straight from high to low, because Earth is spinning underneath it. The Coriolis effect deflects moving air to the right in the Northern Hemisphere and to the left in the Southern Hemisphere. The result:
| Feature | Northern Hemisphere | Southern Hemisphere | Typical weather |
|---|---|---|---|
| Low-pressure system | Air spirals inward, counterclockwise | Air spirals inward, clockwise | Clouds, rain, wind |
| High-pressure system | Air spirals outward, clockwise | Air spirals outward, counterclockwise | Clearer, calmer, drier |
Sinking air in a high warms as it is compressed, which discourages cloud formation. Rising air in a low cools as it expands, which encourages it. That single contrast explains why forecasters get excited about falling barometers.
Water: the atmosphere's shape-shifter
Water vapor is an invisible gas, and warm air can hold far more of it than cold air. When a parcel of air cools, its capacity to hold vapor drops. Once it cools to its dew point, the vapor begins condensing into tiny droplets around specks of dust, sea salt or smoke. Billions of those droplets make a cloud.
Air cools mainly by rising, and there are four common ways to lift it:
- Convection: sun-warmed ground heats the air above it, which rises in bubbles called thermals. This builds the puffy cumulus clouds of summer afternoons.
- Fronts: where a cold air mass meets a warm one, the denser cold air wedges underneath, forcing warm air upward.
- Mountains: wind blowing against a range is pushed up the slope, often dropping rain or snow on the windward side and leaving a dry "rain shadow" beyond.
- Convergence: when surface winds flow together, the air has nowhere to go but up.
Condensation also releases heat, the same heat that was absorbed when the water evaporated. That released energy warms the rising air and helps it climb higher, which is why moist air fuels such powerful storms. The journey of water from ocean to cloud to river is covered in detail in The Water Cycle Explained.
Cloud droplets are far too small to fall as rain. Precipitation forms when droplets collide and merge, or, in colder clouds, when ice crystals grow at the expense of surrounding droplets until they are heavy enough to fall. Whether that reaches the ground as rain, snow, sleet or freezing rain depends on the temperature of the layers it passes through on the way down.
Fronts and air masses
An air mass is a huge body of air that has taken on the temperature and humidity of the region where it formed: cold and dry over northern Canada in winter, warm and humid over the Gulf of Mexico. The boundary between two air masses is a front.
- A cold front advances quickly and lifts warm air abruptly. Expect a line of showers or thunderstorms, a wind shift and a temperature drop.
- A warm front slides gently over retreating cold air. Expect high, thin clouds first, then thickening layers and steady, longer-lasting rain.
- A stationary front stalls, sometimes bringing days of drizzle to the same place.
- An occluded front forms when a cold front catches up with a warm front, often in a mature storm system.
Anatomy of a thunderstorm
Thunderstorms show all of these processes working together. On a hot, humid day, rising thermals build cumulus clouds. If the atmosphere is unstable, the released heat of condensation keeps the updraft going and the cloud towers upward, sometimes past 12 kilometers, flattening into an anvil shape at the top of the troposphere.
Inside, strong updrafts carry water drops and ice particles up and down. Collisions between ice crystals and soft hail pellets separate electric charge, typically leaving the upper cloud positive and the lower cloud negative. When the charge difference becomes large enough, lightning jumps. A lightning channel can heat the surrounding air to roughly 50,000 °F (around 27,000 °C), several times hotter than the Sun's surface. The air expands so violently that it produces a shock wave we hear as thunder.
Because light arrives almost instantly and sound travels about a kilometer every three seconds, you can estimate a storm's distance by counting the seconds between flash and rumble.
Safety: If you can hear thunder, you are close enough to be struck. Go indoors or into a hard-topped vehicle and wait 30 minutes after the last thunder before going back outside. Never shelter under an isolated tree.
How forecasts are made
Modern forecasting has three steps.
- Observe. Thousands of surface stations, ships and buoys record temperature, pressure, humidity and wind. Weather balloons carrying instrument packages called radiosondes are launched twice a day from hundreds of sites worldwide to sample the atmosphere's vertical structure. Radar maps precipitation, and satellites watch clouds, water vapor and temperature from orbit.
- Compute. Those observations feed numerical weather prediction models: computer programs that divide the atmosphere into a three-dimensional grid and solve the physical equations for motion, heat and moisture step by step into the future.
- Interpret. Forecasters compare several models, and run "ensembles" with slightly different starting conditions to see how much the outcomes spread. A wide spread means lower confidence, which is why you see percentages like "60 percent chance of rain."
The atmosphere is a chaotic system: tiny uncertainties in today's measurements grow over time. That is why forecasts are generally reliable a few days ahead and become much less specific beyond about a week or two.
Try this: be a backyard meteorologist
Imagine a family keeping a simple weather journal for two weeks. Each morning and evening they note:
- temperature (an outdoor thermometer in the shade),
- cloud type (puffy cumulus, layered stratus, wispy cirrus),
- wind direction (watch a flag or tie a ribbon to a fence),
- precipitation (a straight-sided jar makes a basic rain gauge).
After a fortnight, look for patterns. Do wispy cirrus clouds tend to appear a day before rain? Does the wind shift before a cooler day arrives? Compare your notes with the official forecast. It is a hands-on way to see fronts and pressure systems at work. For more outdoor ideas, browse our outdoor science lessons.
Key ideas to remember
- Weather is driven by uneven heating of Earth's surface by the Sun.
- Pressure differences make wind; Earth's rotation bends it into spirals around highs and lows.
- Rising air cools, its water vapor condenses, and clouds and precipitation form.
- Fronts mark the boundaries of air masses and are hot spots for changing weather.
- Forecasts combine observations, physics and computing, with honest uncertainty that grows with time.
Questions to discuss with children: Why do you think it is often windier on top of a hill? Where does a puddle go on a sunny day? Why might the same cloud bring rain to one town and not the next? To explore more topics like these, visit the Earth and environment section.
Sources and further reading
- JetStream: An Online School for Weather, NOAA National Weather Service
- Earth's atmosphere, Met Office
- The Troposphere, UCAR Center for Science Education
- Lightning Safety: Understanding Lightning, NOAA National Weather Service
- Earth Observatory, NASA


