The best way to calculate this is to look up online a resource calculator that will help you do this. It is not an easy calculation and many sites can help.
The easiest way to calculate a home equity line of credit is to find a calculator online that can find the payment amount for you. Otherwise, you could easily miscalculate the amount.