Calculation of Tax Owed

I use the Taxable Income from Form 1040 Line 15 and the tax computation algorithm on Page 77 of the IRS 1040 instructions at https://www.irs.gov/pub/irs-pdf/i1040gi.pdf.  The answer I get for the tax I would owe is different from the answer calculated by TT.  Why is that?