The square root of a number is the non-negative number that, multiplied by itself, gives : because . This calculator finds square roots and, by changing the index, cube roots, fourth roots and any nth root up to .
It gives more than a decimal. For whole numbers it writes the root in simplest radical form, the format expected in algebra homework (), shows the prime factorization behind it, and tells you whether the number is a perfect square (or perfect cube, and so on). For other numbers, it brackets the root between two consecutive integers, which is the quickest way to sanity-check an answer, and it can display every iteration of Newton’s method, the algorithm calculators actually use.
Negative numbers are handled correctly: odd roots of negative numbers are real (), while even roots give imaginary or complex results ().
How to use this calculator
- Enter the number under the radical sign (the radicand). Decimals and negative numbers are accepted.
- Keep the index at 2 for a square root, or enter 3 for a cube root, 4 for a fourth root, and so on.
- Read the root (exact when the number is a perfect power, otherwise to 12 significant digits), the simplified radical and the perfect-power check.
- Switch on Newton’s method to see each approximation converge on the answer, then open the steps.
The formula
The principal nth root of is the number with , also written as a fractional power:
Simplifying a radical. Factor into primes, then take out of the radical every factor that appears times: if , then . A radical is in simplest form when contains no factor raised to the power .
Newton’s method (for a square root, the Babylonian or Heron’s method) improves a guess with
Each step roughly doubles the number of correct digits.
Negative radicands. For odd , . For , with .
Worked example
Simplify √72. , so .
Cube root of 54. , so .
A perfect square decimal. , because .
Newton’s method for √10, starting from :
After four iterations the first ten digits are already correct.
Perfect squares and estimating roots
| 2 | 4 | 8 |
| 3 | 9 | 27 |
| 4 | 16 | 64 |
| 5 | 25 | 125 |
| 6 | 36 | 216 |
| 7 | 49 | 343 |
| 8 | 64 | 512 |
| 9 | 81 | 729 |
| 10 | 100 | 1000 |
| 12 | 144 | 1728 |
To estimate by hand, find the perfect squares on either side: , so the root lies between 8 and 9, a little closer to 8.5. An integer is a perfect square only if its last digit is 0, 1, 4, 5, 6 or 9, a quick filter before computing.
Roots beyond the square root
Roots of any index follow the same rules. The cube root answers "which number cubed gives x?" and, unlike the square root, exists for negative numbers. The fourth root is the square root of the square root: . In general , so any root can also be computed with the exponent calculator, and roots appear in the quadratic formula, the Pythagorean theorem, standard deviations and compound growth rates.
Frequently asked questions
How do I simplify a square root?
Write the number as a product of a perfect square and another factor, using the largest perfect square possible: 72 = 36 × 2, so √72 = √36 × √2 = 6√2. The calculator does this from the prime factorization, which guarantees the largest square is found.
What is the square root of a negative number?
There is no real one, because any real number squared is zero or positive. In the complex numbers, √−x = i√x with i² = −1, so √−16 = 4i. Odd roots are different: the cube root of −8 is −2, a real number.
Does a square root have two answers?
The equation x² = 49 has two solutions, 7 and −7. The symbol √49, however, means the principal (non-negative) root, 7. Write ±√49 when you mean both.
How can I tell if a number is a perfect square?
Its square root is a whole number; equivalently, every exponent in its prime factorization is even. 144 = 2⁴ × 3² is a perfect square (12²), while 72 = 2³ × 3² is not. The calculator checks this exactly with integer arithmetic.
How do calculators compute square roots?
Most use Newton’s method (or hardware variants of it): start from a guess, then repeatedly average the guess and x divided by the guess. The number of correct digits roughly doubles at every step, so a handful of iterations gives full precision.
Sources
- Weisstein, E. W. Square Root — Wolfram MathWorld
- Weisstein, E. W. nth Root — Wolfram MathWorld
- Weisstein, E. W. Newton’s Method — Wolfram MathWorld
- NIST Digital Library of Mathematical Functions, §4.2 Powers and roots
Last updated: