JavaScript: Calculate the nth root of a number June 8, 2023 by Tarik Can you use something like this? Math.pow(n, 1/root); eg. Math.pow(25, 1/2) == 5