Get your taxes done using TurboTax

Exactly where are you seeing the 40,474?   What line on the 1040?  What’s on line 16?  I came up with 40,156 too.  There may be some other tax assessed on line 23 from Schedule 2.