Lelifi·tools

Square Root Calculator

The square root of a number is the value that gives that number when multiplied by itself. Enter 72 and the widget returns 8.485281, the exact form 6 x square root of 2, and the 7 Newton steps it used.

Type a number and get its square root as a decimal, the simplified radical form, a perfect square check and the Newton steps it took to converge.

By the Lelifi editors ·

Key takeaways

The sum trap: roots do not distribute over additionsqrt(9 + 16) = sqrt(25) = 5add first, then take the rootsqrt(9) + sqrt(16) = 3 + 4 = 7roots first: a different number5 does not equal 7Only multiplication and division pass under the radical.
Taking the root after adding gives 5 for 9 plus 16, while adding the separate roots gives 7. There is no addition rule under the radical.
Splitting a messy root: square root of 727236 (perfect square)2sqrt(72) = sqrt(36) x sqrt(2) = 6 x square root of 2Check: 6 x 6 x 2 = 72, and 8.485281 x 8.485281 gives 72 backThe largest perfect square factor comes out; the rest stays under the radical.
Factoring 72 as 36 x 2 lets the 36 come out of the radical as 6, giving the exact form 6 x square root of 2.
On this page
  1. What the square root of a number means
  2. Perfect squares and the simplified radical form
  3. How Newton's method homes in on the root
  4. Square root rules that always hold
  5. Estimating a root between two perfect squares
  6. Fractions, decimals and negative numbers
  7. Worked examples with the calculator
  8. What the calculator returns

What the square root of a number means

Squaring a number multiplies it by itself. Nine squared is 9 x 9 = 81. The square root runs that in reverse: it asks which number, multiplied by itself, produces the value you started with. The square root of 81 is 9, the square root of 100 is 10, and the square root of 0.09 is 0.3, since 0.3 x 0.3 = 0.09.

A helpful picture is area. If a square garden covers 144 square meters, each side is the square root of 144, or 12 meters. Area lives in two dimensions, so recovering one side from an area always calls for a square root. Cube roots do the same job one dimension up: a box holding 216 cubic inches has edges of 6 inches, because 6 x 6 x 6 = 216.

Every positive number has two numbers that square to it: 3 x 3 = 9 and (-3) x (-3) = 9. The square root symbol names the nonnegative one, called the principal root. So the square root of 9 is 3, never -3, even though both square to 9. Most roots are irrational numbers whose decimals never end or repeat; the square root of 2 starts 1.41421356 and has been computed to trillions of digits. The NIST Digital Library of Mathematical Functions treats powers and roots as the elementary functions they are, and MathWorld's square root entry collects the history and identities in one place.

Perfect squares and the simplified radical form

A perfect square is a whole number times itself. The first fifteen are:

NumberSquareSquare root
111
242
393
4164
5255
6366
7497
8648
9819
1010010
1112111
1214412
1316913
1419614
1522515

A perfect square has a whole number root, so the widget answers 12 for 144 with no decimals at all. Numbers in between still simplify in a useful way. Since 72 = 36 x 2 and 36 is the largest perfect square that divides 72, the square root of 72 equals 6 x square root of 2. That exact form beats a decimal whenever you want to carry the value through later algebra, because no rounding ever enters the picture.

The widget finds the largest square factor by trial: it walks down from the floor of the root and tests whether the square divides the input. For 72 it lands on 36, leaves the 2 under the radical, and reports 6 x square root of 2. A number like 61, which is prime, keeps its root whole and gets reported as square root of 61.

How Newton's method homes in on the root

Calculators rarely look the root up. They iterate. To solve x squared equals n, take any guess x, divide n by it, and average the two. A guess that is too low makes n/x too high, and a guess that is too high makes n/x too low, so the average lands closer to the true root every time. Written out, the update rule is x next = (x + n/x) / 2, a scheme known to Babylonian mathematicians as a method of repeated averaging and analyzed today as Newton's method applied to f(x) = x^2 - n. Khan Academy's algebra 2 course covers radicals and their approximations in the same spirit.

Here is the widget's own loop for 72, starting from half the input:

StepGuess x72 / xAverage (next x)
036219
1193.78947411.394737
211.3947376.3187078.856722
38.8567228.1294198.49307
48.493078.47758.485285
58.4852858.4852788.485281

The guesses settle on 8.485281 within a handful of rounds, and the widget stops after 7 steps in total, once two consecutive guesses agree to 12 decimal places. The convergence is quadratic, which means the count of correct digits roughly doubles on every pass, so even a poor first guess needs only a few rounds.

Square root rules that always hold

A short list of identities covers most algebra that involves roots. Each one is exact, not an approximation:

RuleStatementExample
Product rulesqrt(a) x sqrt(b) = sqrt(ab)sqrt(4) x sqrt(9) = sqrt(36), and 2 x 3 = 6
Quotient rulesqrt(a/b) = sqrt(a)/sqrt(b)sqrt(16/25) = 4/5 = 0.8
Squaring a root(sqrt(a)) x (sqrt(a)) = a8.485281 x 8.485281 gives 72 back
Root of a squaresqrt(a^2) = |a|sqrt((-5)^2) = 5, not -5
The rule that failssqrt(a+b) does not equal sqrt(a)+sqrt(b)sqrt(9+16) = sqrt(25) = 5, but 3 + 4 = 7

The last row is the classic trap. Because the product rule multiplies under the radical, people expect an addition version, and it does not exist. The check line in the widget exists for the same reason: every claimed root should square back to the input, and the widget shows that multiplication on screen so you never have to take a decimal on faith.

Estimating a root between two perfect squares

Before any iteration, a bracket gives you a fast mental estimate. For 72, the nearest perfect squares below and above are 64 and 81, so the root sits between 8 and 9. Since 72 is more than halfway from 64 to 81, the root sits closer to 9 than to 8, and 8.5 is a reasonable first guess. The widget prints the two nearby perfect squares, 64 and 81, for every non perfect input, which gives you that bracket without any work.

The same trick works downward for small numbers. The root of 0.5 lies between the roots of 0.49 and 0.64, that is between 0.7 and 0.8. For large numbers, note that the gap between consecutive perfect squares grows: 10000 and 10201 are adjacent squares, so a value near 10000 is pinned down to within about one percent by bracketing alone. Newton's method then refines the bracket to as many digits as you want.

Fractions, decimals and negative numbers

Fractions obey the quotient rule. The square root of 16/25 is the square root of 16 over the square root of 25, which is 4/5, a clean 0.8. Decimals are handled the same way as whole numbers: the widget returns 0.5 for 0.25, after 6 Newton steps starting from 1, and the check line confirms that 0.5 x 0.5 restores 0.25.

Negative inputs are a different case, because no real number squares to a negative value. The convention is to move to complex numbers: the square root of -9 is written i x 3, where i is the imaginary unit with i x i = -1. The widget reports not a real number for the decimal column, shows i x 3 as the principal root, and displays the message that 3 x 3 = 9 explains the form. Engineers meet these roots constantly in alternating current analysis, where impedances naturally take complex values.

Two inputs deserve their own mention. The square root of 0 is 0, and the square root of 1 is 1. They are the only numbers that are their own nonnegative square roots, and the Newton loop is skipped for 0 because the division n/x would be undefined.

Worked examples with the calculator

Every number below was produced by the widget on this page and confirmed in an automated test, so the outputs you see here are the outputs you will get:

InputDecimal rootSimplified radicalNewton steps
728.4852816 x square root of 27 (start value 36)
1441212, a perfect square8 (start value 72)
21.414214square root of 26 (start value 1)
0.250.5skipped for decimal inputs6 (start value 1)
-9not a real numberi x 3not run for negatives

The 144 row shows why perfect squares are easy to spot in the wild: the widget flags it, returns a whole number, and lists 144 and 169 as the neighboring squares. The 72 row is the typical case, where the decimal 8.485281 and the exact form 6 x square root of 2 describe the same number. For the negative input, the check and nearby square lines show a dash, since the real number line no longer contains the root.

What the calculator returns

Enter any number and press the button. The results table shows six lines: the decimal root rounded to six places, a yes or no flag on whether the input is a perfect square, the simplified radical form, the number of Newton steps the loop used together with its starting guess, a check line that squares the root back to the input, and the two nearest perfect squares for bracketing. A message line appears for negative inputs to explain the i notation.

Everything runs in your browser with plain JavaScript. No value is uploaded, no request leaves the page, and the same arithmetic works offline once the page has loaded. The rounding to six decimal places is a display choice; the exact radical form is available whenever you need a value with no rounding at all.

Frequently asked questions

How do you calculate a square root by hand?

Use the averaging rule x next = (x + n/x) / 2. For 72, start at 36, average with 2 to get 19, and keep going: 19, 11.394737, 8.856722, 8.49307, and on to 8.485281. The widget runs this loop and shows the step count.

What is the square root of 144?

12, because 12 x 12 = 144. The widget flags 144 as a perfect square and lists 144 and 169 as the neighboring squares.

What is the square root of 72 in simplified form?

6 x square root of 2. As a decimal it is 8.485281. The factorization works because 72 = 36 x 2 and 36 is the largest perfect square dividing 72.

Why is the square root of 2 irrational?

No fraction of whole numbers squares to 2, a result proved by contradiction in ancient Greece. Its decimal 1.414214 continues forever without repeating, which is why the exact form square root of 2 is preferred in proofs.

What is the square root of a negative number?

No real number qualifies. The principal root of -9 is i x 3, where i squared equals -1. The widget prints the decimal column as not a real number and shows i x 3 as the radical.

Is the square root of 9 equal to -3?

No. The square root symbol means the principal, nonnegative root, so it is 3. The equation x squared = 9 has two solutions, 3 and -3, but only 3 is called the square root of 9.

Is sqrt(a+b) the same as sqrt(a)+sqrt(b)?

No. For 9 and 16, sqrt(25) = 5 while sqrt(9) + sqrt(16) = 7. Addition has no rule under the radical; only multiplication and division do.

What is the square root of 0.25?

0.5, since 0.5 x 0.5 = 0.25. The widget reaches it in 6 Newton steps starting from 1 and shows the check 0.5 x 0.5 = 0.25.

How many Newton steps does the widget need?

7 for an input of 72 starting from 36, 8 for 144 starting from 72, and 6 for 2 starting from 1. The count is printed with every result, and the loop stops when consecutive guesses agree to 12 decimal places.

What is a perfect square?

A whole number times itself: 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 225 and so on. Each has a whole number square root.

How do you simplify the square root of 50?

Split 50 into 25 x 2. The 25 comes out as 5, leaving 5 x square root of 2. The widget performs this split automatically for whole number inputs.

What are the square roots of 0 and 1?

0 and 1 respectively. They are the only numbers equal to their own nonnegative square roots, and the Newton loop is skipped for 0 because dividing by a zero guess is undefined.

Can the calculator handle fractions and decimals?

Yes. Enter 16/25 as 0.64 to get 0.8, or any decimal such as 0.25 to get 0.5. The radical simplification and perfect square check apply to whole numbers only, and the widget says so when they are skipped.

Spotted a wrong number or a broken result?

More Math tools

See all Math tools

Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.