How exactly to calculate a HELOC attention tax deduction

How exactly to calculate a HELOC attention tax deduction Keeping