Have you looked at Form 8995-A? That goes through the calculations, step-by-step.
You have clicked a link to a site outside of the Intuit Accountants Community. By clicking "Continue", you will leave the community and be taken to that site instead.