To calculate the ERC, qualifying wages are the compensation paid to an employee during the time period for which the credit is claimed. This includes any health plan expenses the employee received during that period.