Social Security COLA from CPI-W
calculate_social_security_colaComputes the Social Security cost-of-living adjustment for a year with the statutory formula: average CPI-W for July-September of the prior year over the same quarter a year earlier, rounded to 0.1%. Uses official BLS CPI-W values (live check). Reproduces the 3.6% COLA for 2027 that SSA announced in October 2026, and shows the Q3 index values behind it. Covers 1976 onward.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cola_year | Yes | Year the COLA is paid, e.g. 2027 (measured on Q3 2026 CPI-W). |