Temperature Gradient Calculator
Compute temperature gradient using validated scientific equations. See step-by-step derivations, unit analysis, and reference values.
Formula
Gradient = (T_top - T_bottom) / (Z_top - Z_bottom) * 1000
Where gradient is in C/km, T values are temperatures in Celsius at two altitudes, and Z values are altitudes in meters. Negative gradient means normal temperature decrease with height. Compare with DALR (-9.8 C/km) and SALR (~-6 C/km) for stability assessment.
Worked Examples
Example 1: Normal Tropospheric Profile
Problem: Surface 25 C at 0 m, upper station 5 C at 2000 m.
Solution: dT = 5 - 25 = -20 C, dZ = 2000 m Gradient = -20/2000 * 1000 = -10 C/km Steeper than DALR (-9.8) Absolutely Unstable
Result: Gradient: -10.00 C/km | Absolutely Unstable
Example 2: Morning Inversion
Problem: Surface 5 C at 0 m, 200 m level at 12 C.
Solution: dT = 12 - 5 = +7 C, dZ = 200 m Gradient = 7/200 * 1000 = +35 C/km Strong inversion trapping surface air
Result: Gradient: +35.00 C/km | Strong Inversion
Frequently Asked Questions
What is the temperature gradient in meteorology?
The temperature gradient or lapse rate is the rate at which temperature changes with altitude typically expressed in degrees Celsius per kilometer. A negative gradient means temperature decreases with altitude which is the normal condition in the troposphere averaging about -6.5 C/km. A positive gradient indicates a temperature inversion where temperature increases with height. The gradient is calculated as (T_top - T_bottom) / (Z_top - Z_bottom) * 1000. Understanding the environmental lapse rate is fundamental to atmospheric stability analysis and weather forecasting.
How does the temperature gradient determine atmospheric stability?
If the environmental gradient is steeper than the DALR (more negative than -9.8 C/km) the atmosphere is absolutely unstable and convection develops freely. If the gradient is between DALR and SALR (between -9.8 and -6 C/km) the atmosphere is conditionally unstable meaning it is stable for dry parcels but unstable once condensation begins. If the gradient is less steep than SALR the atmosphere is absolutely stable suppressing vertical motion. Temperature inversions represent the most stable condition trapping pollutants and suppressing cloud development.
What is a temperature inversion and why does it matter?
A temperature inversion occurs when temperature increases with height rather than the normal decrease. Inversions create extremely stable layers that suppress vertical mixing and convection. Surface inversions trap pollutants near the ground causing poor air quality in cities. Elevated inversions can cap convective development below them leading to explosive thunderstorm development if the cap is eventually broken. Marine inversions create persistent low stratus clouds along coastlines. Inversions are identified when the calculated gradient is positive.
What causes temperature inversions to form?
Inversions form through several mechanisms. Radiative cooling creates surface inversions on clear calm nights as the ground loses heat to space faster than the overlying air. Subsidence inversions form when air sinks and warms adiabatically in high pressure systems creating a warm layer over cooler surface air. Frontal inversions occur when warm air overrides cool air along a warm front. Marine inversions develop when cool ocean air is capped by subsiding air in subtropical high pressure belts. Advection inversions form when warm air moves over a cold surface.
How does the gradient affect air quality?
The temperature gradient strongly controls vertical mixing and therefore air quality. Strong inversions trap pollutants emitted at the surface creating smog events in cities. The mixing height defined by the base of a capping inversion determines the volume available for pollutant dilution. Steep unstable lapse rates promote vigorous mixing that disperses pollutants throughout a deep layer. Air quality forecasters closely monitor inversions especially in valleys and basins where topography further limits dispersion. Winter inversions in cities like Los Angeles and Beijing can persist for days creating severe pollution episodes.
What is the potential temperature gradient?
The potential temperature gradient (d theta/dz) removes the effect of adiabatic cooling from the temperature profile providing a direct measure of static stability. When d theta/dz is positive the atmosphere is stable. When zero it is neutral (well-mixed). When negative it is unstable. The potential temperature gradient is related to the Brunt-Vaisala frequency N through N^2 = (g/theta)*(d theta/dz). Meteorologists prefer the potential temperature gradient over the actual temperature gradient because it directly indicates stability without needing to compare against reference lapse rates.