California has a field for "mandatory retirement contributions," but the other state I'm familiar with (OR) does not. Both these states have "mandatory union dues" fields, too.
Point being just emphasizing what's already been stated: it really varies from state to state how this is calculated.
Are you investing in your retirement for the benefit of your future? Or to get a CS credit?