How the GDP Gap Calculator works
The GDP gap, also called the output gap, measures how far an economy's actual output sits from its potential output — the level it could sustain at full employment without triggering excess inflation. It is a core diagnostic in macroeconomics for judging whether an economy is running hot, running cold, or roughly at trend.
The formula
The gap is expressed as a percentage of potential GDP:
GDP Gap % = (Actual GDP − Potential GDP) / Potential GDP × 100
Actual GDP is the real (inflation-adjusted) gross domestic product the economy produced over a period. Potential GDP is not directly observed — it is an estimate of maximum sustainable output, commonly produced by agencies such as the Congressional Budget Office using production-function models and trend-filtering techniques. The calculator also reports the gap in raw dollar terms (Actual − Potential) alongside the percentage.
Reading a positive versus negative gap
A positive gap (actual GDP above potential) is called an expansionary or inflationary gap: labor and capital are stretched beyond sustainable capacity, and inflationary pressure tends to build. A negative gap (actual GDP below potential) is a recessionary gap: factories, offices, and workers are underused, and slack exists in the economy. A gap near zero suggests the economy is operating close to its long-run trend.
Connecting the gap to unemployment with Okun's Law
Okun's Law is an empirical rule of thumb linking the output gap to the labor market: Cyclical unemployment ≈ −(GDP Gap %) / Okun's coefficient. The coefficient describes how many points of output gap correspond to one point of unemployment above (or below) its natural rate; a commonly cited value for the US economy is around 2. The calculator adds this cyclical unemployment estimate to the natural rate of unemployment you enter to produce an implied overall unemployment rate. Because Okun's Law is a statistical regularity rather than an exact identity, treat this figure as a directional estimate, not a precise forecast.
Worked example
Suppose actual real GDP is $21,000 billion and potential real GDP is $21,500 billion. The gap is $21,000B − $21,500B = −$500 billion, or −500 / 21,500 × 100 ≈ −2.33% — a recessionary gap. With an Okun's coefficient of 2, cyclical unemployment is approximately −(−2.33) / 2 ≈ 1.16 percentage points above the natural rate. At a 4.0% natural rate, that implies unemployment near 5.16%.
Limitations to keep in mind
- Potential GDP is an estimate, not a measured quantity — different institutions (CBO, Federal Reserve, IMF) can publish somewhat different figures for the same period, and estimates are revised as new data arrives.
- Okun's coefficient varies across countries and time periods; 2 is a common US rule-of-thumb value, not a universal constant.
- This calculator performs the standard arithmetic only — it does not forecast GDP, unemployment, or policy responses.