Both inputs are built from quarterly SEC filings. TTM interest expense is the sum of interest expense, usually tagged InterestExpense in XBRL, over the last four quarters. Companies do not file a separate fourth-quarter report, so the fourth quarter is derived by subtracting the nine-month year-to-date amount in the third-quarter 10-Q from the full-year amount in the 10-K. The TTM tax rate is TTM income tax expense divided by TTM pretax income. It is not an average of four quarterly rates, which would overweight quarters with small or unusual pretax results.
Pairing a twelve-month interest total with a twelve-month tax rate keeps the calculation consistent: both halves cover the same period. If the company's effective rate is distorted by a loss, a large tax credit, or a one-time tax item, analysts commonly limit the rate to the range of 0% to 100% or use the statutory rate instead. Refinancing, new borrowing, or repayment during the year changes interest expense quarter by quarter, and the TTM figure reflects the average debt load over that year rather than the load at the latest balance-sheet date.
TTM after-tax interest expense is the add-back that turns TTM operating cash flow into TTM cash flow to the firm, and then, after capital expenditures, into TTM free cash flow to the firm. Those measures describe cash available to lenders and shareholders together, which is why the after-tax cost of interest is put back in.