Audited 06 Jun 2026·Last updated 28 Oct 2026·5 citations·Tier 1·0 uses

Square Root Calculator

Find the square root, cube root or any whole-number nth root of a number, negatives allowed for odd roots, shown to four decimals, with Newton's method for √2.

Square Root Calculator

Any real number; negative numbers work with odd root degrees (3, 5, ...)
Integer degree: 2 for square, 3 for cube, etc.
Result
1
The principal (non-negative) nth root of the number you entered, shown to four decimal places, or in scientific notation below 0.001 or from 10¹⁵ upward.

Background.

The square root of a non-negative real number is the unique non-negative real number that, when multiplied by itself, yields the original value. This operation is among the oldest in mathematics. The Old Babylonian tablet YBC 7289 in the Yale Babylonian Collection, usually dated to roughly 1800–1600 BCE, draws a square with its diagonals and writes √2 in base 60 as 1;24,51,10. In decimal that is 1.41421296, within about six ten-millionths of the true value.

Today, square root computation is embedded in every branch of quantitative science, from calculating standard deviations in statistics to determining signal magnitudes in electrical engineering and solving quadratic equations in physics. Many everyday questions are square roots in disguise: a square plot of 2,500 square metres has sides of 50 metres, and a variance of 0.04 means a standard deviation of 0.2.

In financial modeling, square roots appear in the volatility term of the Black-Scholes option pricing formula, where volatility is scaled by the square root of the time to expiry. In computer graphics, square root operations normalize vectors and compute Euclidean distances in three-dimensional space. In civil engineering, square roots determine the resultant of perpendicular force components and the geometric mean of material properties.

The Root degree field reaches past square roots. Enter 3 for a cube root, which turns the volume of a cube into its edge length, 4 for a fourth root, and any larger whole number for the corresponding nth root. Answers appear to four decimal places, and switch to scientific notation when they fall below 0.001 or reach 10¹⁵, so the square root of 0.0000001 reads 3.162 × 10⁻⁴ rather than a misleading 0.0003.

What is square root calculator?

The square root of a non-negative real number a is the non-negative real number x such that x² = a. It is denoted by √a or a^(1/2). Every positive real number has exactly two square roots, one positive and one negative, but the symbol √a refers exclusively to the principal (non-negative) root. The square root of zero is zero, and the square root of one is one. Negative real numbers do not have real square roots; their square roots are pure imaginary numbers in the complex plane. The square root generalizes to the nth root, denoted ⁿ√a or a^(1/n), where n is an integer greater than or equal to 2. For even n, the nth root is defined only for a ≥ 0 and yields a non-negative result. For odd n, the nth root is defined for all real a, and the sign of the result matches the sign of the input. The Number field accepts negative values too, because an odd root of a negative number is real: the cube root of −27 is −3. An even root of a negative number is refused. The nth root is the inverse operation of raising a number to the nth power.

How to use this calculator.

  1. Enter the number you want the root of in the Number field. It may be negative only if the root degree is odd; decimals such as 0.75 or 12.5 are fine.
  2. Enter the root degree as a whole number in the Root degree field: 2 for a square root, 3 for a cube root, 4 for a fourth root. A fractional degree such as 2.5 is refused; for that, raise the number to the power 1/2.5 = 0.4 with an exponent calculator instead.
  3. Read the principal root in the Result box. It shows up to four decimal places, and very small or very large answers switch to scientific notation.
  4. To check an answer, raise it to the root degree. Squaring the displayed 1.4142 gives 1.99996164 rather than exactly 2, and the gap comes from the four-decimal display, not from the root itself.

The formula.

x = ⁿ√a ⇔ xⁿ = a

The square root function is defined implicitly by the equation x² = a for x ≥ 0 and a ≥ 0. For perfect squares such as a = 9 or a = 144, the square root is a whole number and can be found exactly by factoring or by lookup. For a positive integer that is not a perfect square, such as a = 2, the root is irrational: its decimal expansion is infinite and non-repeating, so every computation produces an approximation. Newton's method provides a rapidly converging iterative scheme. Starting from an initial guess x₀ > 0, the update rule x_{k+1} = (x_k + a/x_k)/2 averages the current guess with its co-factor. If x_k is too large, a/x_k is too small by a similar amount, so their average lands much closer to the root. The error e_k = x_k − √a satisfies e_{k+1} ≈ e_k² / (2√a), demonstrating quadratic convergence: the number of correct digits roughly doubles with each iteration. Double precision carries 53 significant bits, so a starting guess good to about 8 bits reaches full precision in three steps (8, 16, 32, then 64 bits). One Newton step from the nearest perfect square also makes a good mental estimate: for √50, start at 7 and compute (7 + 50/7)/2 = 7.0714, against the true 7.0711. For the general nth root, Newton's method applied to f(x) = xⁿ − a yields x_{k+1} = ((n−1)x_k + a/x_k^(n−1))/n.

This calculator does not iterate. It evaluates a^(1/n) with the built-in double-precision power function, which is the identity ⁿ√a = exp((ln a)/n) written as a power. One side effect is worth knowing: the exponent 1/n can be stored exactly in binary only when n is a power of two, so for a cube root the stored exponent sits a hair below 1/3. The cube root of 64 is therefore computed as 3.9999999999999996 rather than exactly 4. The four-decimal display rounds this to 4, so it only surfaces if you copy a full-precision value into further arithmetic elsewhere.

A worked example.

Example

Take the square root of 2 by Newton's method, starting from the guess x₀ = 1.5. The first step averages 1.5 with 2/1.5 = 1.333333, giving x₁ = 1.416667. The second averages 1.416667 with 2/1.416667 = 1.411765, giving x₂ = 1.414216. The third averages 1.414216 with 2/1.414216 = 1.414211, giving x₃ = 1.414214 to six places. The errors after the three steps are about 0.0025, 0.0000021 and 1.6 × 10⁻¹², so the correct decimals go from two to five to eleven, roughly doubling each time, and a fourth step lands on the closest value double precision can hold. The calculator shows 1.4142. That one result gives a family of others, because multiplying a number by 100 multiplies its square root by 10: √200 = 14.1421 and √0.02 = 0.1414 carry the same digits, while √20 = 4.4721 does not, since 20 is 2 times 10 and 10 is not a perfect square.

number2
root Degree2

Frequently asked questions.

Why can I not compute the square root of a negative number?
The square root of a negative number is not a real number because the square of any real number, whether positive or negative, is always non-negative. In the real number system, there is no solution to the equation x² = −1. Complex analysis extends the number system to include imaginary numbers, where √−1 = i, and every negative real number has two complex square roots. For example, √−4 = ±2i. This calculator is designed for real-valued arithmetic, and its Number field accepts negative values, but only an odd root of a negative number is computed: the cube root of −27 is −3. Even roots of negative numbers are refused. If you need complex square roots, use software that supports complex arithmetic, such as Python with the cmath module, MATLAB, or Wolfram Mathematica.
What is the difference between the square root and the principal square root?
Every positive real number has two square roots: one positive and one negative. For example, both 3 and −3 square to 9. The principal square root is the non-negative one, denoted by the radical sign √. Thus √9 = 3, not ±3. The equation x² = 9 has solutions x = ±3, but the expression √9 evaluates to 3 exclusively. This convention is essential for √ to be a well-defined function, which by definition assigns exactly one output to each valid input. In contexts where both roots are relevant, such as solving quadratic equations, mathematicians explicitly write ±√a.
How does the calculator compute nth roots?
It raises the number to the power 1/n using the standard double-precision power function, so a square root is computed as a^0.5 and a cube root as a^(1/3). There is no iteration inside the calculator; the power function itself evaluates the equivalent of exp((ln a)/n) to nearly full double precision. The root degree must be a whole number of at least 2, and the number may be negative only for an odd root degree. Because 1/3, 1/5 and most other reciprocals cannot be stored exactly in binary, a few exact roots such as the cube root of 64 come out a tiny fraction short internally, which the four-decimal display hides.
What is Newton's method for square roots?
Newton's method, also known as the Babylonian method or Heron's method, is an iterative algorithm for approximating roots. To find √a, start with any positive guess x₀. Each subsequent guess is the average of the previous guess and the quotient of the input divided by the previous guess: x_{k+1} = (x_k + a/x_k)/2. This formula arises from finding the x-intercept of the tangent line to the curve y = x² − a at the point (x_k, x_k² − a). The method converges quadratically, meaning that if the current guess has d correct digits, the next guess has approximately 2d correct digits.
Why does a very high root degree give an answer close to 1?
For any positive number a, ⁿ√a = exp((ln a)/n), and (ln a)/n shrinks toward zero as n grows, so the root heads toward exp(0) = 1. Numbers above 1 approach it from above and numbers below 1 from below: the 1000th root of 1,000,000 is 1.0139, of 2 is 1.0007, and of 0.5 is 0.9993. Once the root is within 0.00005 of 1, the four-decimal display shows exactly 1; for the number 2 that happens from degree 13,864 upward. Zero is the exception, staying 0 at every degree.
Can I compute the square root of a fraction?
Yes. The square root of a fraction equals the square root of the numerator divided by the square root of the denominator, provided both are non-negative. For example, √(9/16) = √9 / √16 = 3/4 = 0.75. The calculator accepts decimal inputs, so you can enter the fraction as its decimal equivalent or compute the numerator and denominator separately. For exact rational results, the calculator returns a floating-point approximation. If both the numerator and denominator are perfect squares, the result is rational and terminates in decimal form.
Which numbers are equal to their own square root?
Only 0 and 1, since those are the only solutions of x² = x. Every number strictly between them has a square root larger than itself (√0.25 = 0.5), and every number above 1 has a smaller one, which surprises people who expect a root always to shrink a value. The square root function is continuous at zero, with lim_{x→0⁺} √x = 0. However, the derivative of √x is 1/(2√x), which diverges to infinity as x approaches zero, meaning that the function becomes extremely sensitive to small perturbations near the origin.
How precise are the results from this calculator?
The root is computed in double-precision IEEE 754 arithmetic, which carries about 15 to 17 significant decimal digits, and the power function used is accurate to within a unit or so in the last of them. What you see is coarser: the Result box shows at most four decimal places, and answers below 0.001 or from 10¹⁵ upward are shown in scientific notation with four significant figures. If you need more digits for further work, carry the root symbolically (as √2 or 6√2) and round only at the end.
Can the result be shown as a simplified radical such as 6√2?
No, the result is always a decimal. To simplify a radical by hand, split the number into its largest perfect-square factor times what remains, then take the root of the square part. For 72, that is 36 × 2, so √72 = 6√2. The calculator gives 8.4853 for √72, and six times the 1.4142 it gives for √2 agrees, which is a quick way to confirm your simplification. The same approach works for cube roots with perfect-cube factors: 54 = 27 × 2, so the cube root of 54 is 3 times the cube root of 2.
Is there a difference between √x and x^0.5?
For non-negative real x, there is no difference: √x and x^(1/2) represent exactly the same mathematical operation and yield the same numerical result. Both notations denote the principal non-negative square root. The radical notation √x is traditional in elementary algebra and geometry, while the exponent notation x^(1/2) is more convenient in calculus, analysis, and programming because it generalizes naturally to arbitrary rational exponents. This calculator in fact takes the exponent route for every degree, computing the square root as x^0.5. At four displayed decimals, that is indistinguishable from what a dedicated square-root key would return.

References& sources.

  1. [1]Hardy, G.H. (1908). A Course of Pure Mathematics. Cambridge University Press.
  2. [2]Knuth, D.E. (1997). The Art of Computer Programming, Vol. 2: Seminumerical Algorithms, 3rd ed. Addison-Wesley.
  3. [3]Abramowitz, M. and Stegun, I.A. (1964). Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. NBS Applied Mathematics Series 55.
  4. [4]NIST Digital Library of Mathematical Functions.
  5. [5]Newton, I. (1671). Method of Fluxions. (Published 1736).

How this page was produced

Published by
Quanta Calculator
Primary sources
5 cited below
Method
x = ⁿ√a ⇔ xⁿ = a
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon