You may access this worksheet by linking (press F9) from the Social Security income line on Form 1040. In 2021, this was lines 6a and 6b, which may differ from prior years. This information then flows back to the Federal return.
This information is good for all years of UltimateTax.