How to calculate “effective interest rate” (considering fees)?

How to calculate “effective interest rate” (considering fees)?

The comparison rate provides a good estimate by including interest and some fees. For a precise effective rate, you’d calculate the true annual cost (interest + all fees) as a percentage of the average loan balance.