Skip to content
Calculator.hair

Root Calculator

Square Root Calculator

Number to take the square root of

Press Calculate to see the results.

Cube Root Calculator

Number to take the cube root of

Press Calculate to see the results.

General Root Calculator

Find the nth root of any number: the value that, multiplied by itself n times, gives the number. The index n can be any whole number from 2 to 1,000.

Index of the root

Press Calculate to see the results.

This square root calculator also handles cube roots and general nth roots, giving each answer to 20 significant digits. For whole numbers it also gives the simplified radical form, such as √50 = 5√2.

A root undoes a power. The square root of x is the number that, multiplied by itself, gives x, so √49 = 7 because 7 × 7 = 49. The cube root of x is the number that gives x when used three times as a factor, so ∛125 = 5. In general, the nth root of x, written ⁿ√x, is the number r for which rⁿ = x. Roots can also be written as fractional exponents: ⁿ√x = x^(1/n), which is why √x = x^0.5.

Every positive number has two square roots, one positive and one negative, since (−7)² is also 49. The √ symbol always means the positive one, called the principal root. Negative numbers have no real square root, because any real number squared is zero or positive; their square roots are imaginary, such as √−9 = 3i. Odd roots behave differently: ∛−8 = −2, because (−2)³ = −8.

Numbers like 16, 81 and 1,000 are perfect powers with whole-number roots. Most roots, such as √2, are irrational: their decimals never end or repeat. For those, the exact value is often written in simplified radical form by taking perfect powers out from under the sign. √72 = √(36 × 2) = 6√2, and ∛54 = ∛(27 × 2) = 3∛2.

Estimating a Root

Before calculators, roots were found by educated guessing and refinement, and the same idea still makes a good mental check. Start by locating the number between two perfect squares. 27 sits between 25 and 36, so √27 is between 5 and 6, and closer to 5.

A fast refinement is the Babylonian method, also called Heron's method. Divide the number by your guess, then average the guess and the quotient. If the guess is too small, the quotient is too big, and their average lands closer to the true root. Repeat until the digits stop changing. The table shows √27 converging from a first guess of 5.

StepGuess g27 ÷ gAverage (next guess)
155.45.2
25.25.1923085.196154
35.1961545.1961515.1961524
45.19615245.19615245.1961524 (√27 = 5.196152…)

Estimating an nth Root

The Babylonian method is a special case of Newton's method, which works for any index. To estimate ⁿ√x, start from a guess g, then replace it with ((n − 1)·g + x ÷ gⁿ⁻¹) ÷ n. The new value is a weighted average that gives the old guess a weight of n − 1 and the quotient x ÷ gⁿ⁻¹ a weight of 1. Once the guess is close, each step roughly doubles the number of correct digits.

For example, to estimate the fifth root of 100, notice that 2⁵ = 32 and 3⁵ = 243, so the answer is between 2 and 3. Starting from 2.5, one step gives 2.512, the next gives 2.5118864, and the third agrees with the true value 2.5118864315 to ten digits.

Logarithms offer another route: ⁿ√x = 10^(log₁₀ x ÷ n). Since log₁₀ 100 = 2, the fifth root of 100 is 10^0.4 ≈ 2.5119. This was the standard technique when people used printed log tables or slide rules. This calculator instead uses exact integer arithmetic to find each digit, so the 20 digits it shows are all correct.

StepGuess gg⁵Next guess (4g + 100 ÷ g⁴) ÷ 5
12.597.656252.512
22.512100.022612.5118864418
32.5118864418100.0000022.5118864315

ⁿ√x = x^(1/n), xₖ₊₁ = xₖ − (xₖⁿ − x) ÷ (n·xₖⁿ⁻¹)

n
the index of the root (2 for square, 3 for cube)
xₖ
the current estimate; each Newton step usually doubles the correct digits

Frequently asked questions

What is the square root of a negative number?

It is not a real number. The principal square root of −x is √x times the imaginary unit i, so √−25 = 5i.

How do I simplify a square root?

Factor out the largest perfect square. √180 = √(36 × 5) = 6√5.

What is the difference between a square root and a cube root?

A square root multiplied by itself gives the number; a cube root must be multiplied by itself three times. √64 = 8 while ∛64 = 4.

Can I take the cube root of a negative number?

Yes. Odd roots of negative numbers are real and negative, for example ∛−27 = −3.

How is an nth root related to exponents?

The nth root of x equals x raised to the power 1/n, so the fourth root of 81 is 81^0.25 = 3.

How do I calculate a square root by hand?

Start with a guess and repeatedly average it with the number divided by the guess. For √20, start at 4: (4 + 20 ÷ 4) ÷ 2 = 4.5, then (4.5 + 20 ÷ 4.5) ÷ 2 ≈ 4.4722, already within 0.0001 of the true value 4.47214. This is Newton's method for square roots, and each step roughly doubles the number of correct digits.

Updated by Calculator.hair. How we build and check our calculators