To calculate federal withholding for payroll taxes, you can use the IRS tax tables or the IRS withholding tax estimator. Factors like your employees’ filing status and the number of allowances they claim will influence the amount to withhold.