> I need to convert this calculation from VBScript to JavaScript: > qrate = -1 + (v5year*v5year) ^ (1/12) qrate = -1 + Math.pow(v5year*v5year, 1/12); should do the job. And the result is equal to VBScript expression. This expression can also be simplified to: qrate = -1 + Math.pow(v5year, 1/6);