Root Calculator

Calculate an integer nth root.

Reset

Understanding roots

Taking a root is the reverse of raising a number to a power, and it answers a question that comes up whenever a quantity has been multiplied by itself. If a square has an area of 144, how long is its side? If a cube holds 27 units of volume, how long is its edge?

Formula and method

nth root of x = sign(x) × |x|^(1/n)

The nth root: x — the value whose root is wanted. n — the root degree, a positive whole number: 2 for a square root, 3 for a cube root, 4 for a fourth root, and so on. |x|^(1/n) — the absolute value of x raised to the power one over n, which is the size of the root. sign(x) — the sign carried over from x, which matters only when n is odd. How the sign rule works. The calculator first takes the size of the root from the absolute value, then restores the sign according to the degree. When the degree is odd, a negative value has a negative real root: the cube root of −27 is −3, because (−3)³ = −27. When the degree is even, a negative value has no real root at all. Zero has a root of zero for any degree. The degree must be a positive whole number — a root of degree 1 is just the value itself. Raising the answer back to the degree is the natural check: the cube root of 27 is 3 because 3³ = 27, and the fourth root of 16 is 2 because 2⁴ = 16.

Worked example

Example 1 — value 27, root degree 3 (the live-page example) Find the cube root of 27. The degree is 3, which is odd, and the value is positive. Find the number that cubed gives 27: 3 × 3 × 3 = 27 Result: 3 (nth root) This is the stored example on the live page, and the arithmetic above reproduces it. The check is immediate: 3³ = 27, so 3 is the cube root of 27. The same value has other roots too — its square root is about 5.1962 — but the cube root is the one asked for, and it is exactly 3. Cube roots of whole numbers are whole numbers only for perfect cubes such as 1, 8, 27, 64 and 125.