Investors & landlords

If my line 8 on 8960 is 25,000 and my AGI was 220,000 and my itemized deduction of SALT is limited to 10,000 in federal itemized,  but my State taxes are really 20,000. Is the deduction:

1. (25000/220000)*10,000

OR

2.(25,000/220,000)*20,000 ?

 

Two softwares are doing differently . Turbo is doing 2 above. Wondering which is right per IRS.