About this tool
The square root of x is the number that gives x when multiplied by itself: because . Most square roots are irrational, so they can be written exactly only in radical form, such as , or approximated with decimals. This calculator gives both, for square roots and for cube and higher roots, with the steps you would write by hand.
How it works
Enter a number and choose a square root, a cube root or another root index. Choose how many decimal places you want, up to 1,000: every digit shown is exact, rounded at the last place.
The calculator also simplifies the radical by taking perfect squares (or cubes, and so on) out of the root, and shows the prime factorization behind it. It tells you whether the number is a perfect square and which perfect squares it lies between. Fractions and decimals are rationalized, and negative numbers are explained: odd roots stay real, and even roots give imaginary or complex results.
Example
To simplify , factor the number: . Group the factors into a perfect square and the rest, , so . Because and , the root lies between 8 and 9.
For a cube root, group factors in threes: .
Squares and square roots from 1 to 25
Square, simplified square root and decimal value
| n | n² | √n | √n (6 decimal places) |
|---|---|---|---|
| 1 | 1 | 1 | 1.000000 |
| 2 | 4 | √2 | 1.414214 |
| 3 | 9 | √3 | 1.732051 |
| 4 | 16 | 2 | 2.000000 |
| 5 | 25 | √5 | 2.236068 |
| 6 | 36 | √6 | 2.449490 |
| 7 | 49 | √7 | 2.645751 |
| 8 | 64 | 2√2 | 2.828427 |
| 9 | 81 | 3 | 3.000000 |
| 10 | 100 | √10 | 3.162278 |
| 11 | 121 | √11 | 3.316625 |
| 12 | 144 | 2√3 | 3.464102 |
| 13 | 169 | √13 | 3.605551 |
| 14 | 196 | √14 | 3.741657 |
| 15 | 225 | √15 | 3.872983 |
| 16 | 256 | 4 | 4.000000 |
| 17 | 289 | √17 | 4.123106 |
| 18 | 324 | 3√2 | 4.242641 |
| 19 | 361 | √19 | 4.358899 |
| 20 | 400 | 2√5 | 4.472136 |
| 21 | 441 | √21 | 4.582576 |
| 22 | 484 | √22 | 4.690416 |
| 23 | 529 | √23 | 4.795832 |
| 24 | 576 | 2√6 | 4.898979 |
| 25 | 625 | 5 | 5.000000 |
Perfect squares have whole-number roots. For the others, is irrational, and the simplified form takes out the largest square factor, for example .
Assumptions and limits
Inputs can have up to 30 digits, and the root index can be from 2 to 100. Decimals are exact to up to 1,000 places. Radicals are simplified when the number can be factored quickly, which is always the case up to about 20 digits. Complex roots are given to at most 12 decimal places.
Frequently asked questions
How do you simplify a square root?
Write the number as a product of primes, then pair equal factors. Each pair leaves the root as a single factor outside it. For : , so .
What is the square root of a negative number?
No real number squared is negative, so the result uses the imaginary unit i, where : . Odd roots of negative numbers are real: .
What is a perfect square?
A whole number whose square root is a whole number: 1, 4, 9, 16, 25 and so on. In its prime factorization every exponent is even, for example .
How do you find the square root of a fraction?
Take the root of the top and bottom, then rationalize the denominator: .
Is the square root of 2 a repeating decimal?
No. is irrational, so its digits never end and never repeat: 1.41421356237… Every square root of a whole number that is not a perfect square is irrational.
Link with your values
Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.
| Parameter | Value | If omitted |
|---|---|---|
numberNumber (x) | fraction or decimal: 3/4, 1 1/2 or 0.75 | required |
rootRoot | whole number; allowed 2–100 | default 2 |
decimal_placesDecimal places | whole number; allowed 0–1000 | default 10 |
Examples
?number=200?number=27&root=3?number=-16&root=4&decimal_places=6?number=1/2&decimal_places=20
Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.
Result elements: [data-result-block="square_root_calculator"]