Tag principal and interest calculator