What Is the Difference Between a W-2 and a W-4? A W-4 provides an employer with an employee's tax ID number (usually SSN), marital status, number of allowances and dependents, and how much tax to withhold with each paycheck. The W-4 is filled out when an employee is hired or ...