TaxGuyBill
Level 15

Have you looked at Form 8995-A?  That goes through the calculations, step-by-step.