Deductions & credits

I'm looking at the internal program worksheet on my return and the math just doesn't work that way.   I don't think it's possible for this to be a bug that only affects you.  I suggest you might have mixed up the entries of your 1099-SA and your contributions.  If that is not the problem, you will have to call customer support, they can do a screen share and look at your file with you.