Mathematics calculator

Square Root Calculator

Calculate the principal nonnegative square root of a nonnegative real number.

Calculator inputs

Enter your values

Principal real root

Very large original integers can lose digits before calculation. The computed integer-root flag is not an exact perfect-square proof; see the precision example in the guide.

Calculated output

Result summary

Your result will appear here

Complete the required fields and select the calculate button.

A square whose area is x and side length is the square root of x
The principal square root is the nonnegative side length of a square with area x.

What Is a Principal Square Root?

The square root of a nonnegative number is the nonnegative value that squares to give that number. For 81, the principal square root is 9 because 9 × 9 = 81. The radical symbol √ means this principal root.

This page calculates a real square root and rounds the result to seven decimal places. It does not display complex roots for negative inputs. Use it to check a square-root calculation, recover a square’s side length from its area or compare an irrational root with nearby whole numbers.

How to Calculate a Real Square Root

  1. Enter the Nonnegative number, also called the radicand. Zero and decimal values are accepted.
  2. Select Calculate to obtain the featured principal square root.
  3. Compare the radicand, root-squared check, integer-root flag and expression.
  4. If your problem asks for solutions to z² = a, handle the possible negative solution separately. The radical √a itself returns the nonnegative principal value.

The root and squared check display up to seven decimal places. The check squares the unrounded internal root before rounding, so it may differ from squaring the shortened displayed root yourself. The integer-root flag is true only when the computed floating-point root is an integer.

This form does not accept negative radicands, simplify a radical such as √72 into 6√2, or return complex roots. It converts input to floating point, so it also cannot prove that every digit of an arbitrarily large integer was retained.

Square Root Formula and Domain

Principal root y = √a, with a ≥ 0 and y ≥ 0

Power check: y² = a

For real z: √(z²) = |z|

For a > 0: z² = a has solutions z = ±√a

The OpenStax radicals chapter explains principal roots and rational exponents. A radical value and the solution set of a squared equation are different ideas. At a = 0, the only solution of z² = 0 is 0.

A perfect-square integer has an integer principal root. Many other nonnegative numbers also have valid roots; for example, √0.0625 = 0.25. The root does not need to be an integer for the calculation to be valid.

The PHP square-root function supplies the numerical root here. Its value and the integer-root flag inherit floating-point precision limits rather than providing an exact symbolic classification.

Radicand and Square Root Results

Nonnegative number a
Radicand under √. Zero and decimals are allowed, but negative values are rejected.
Principal square root y
Featured nonnegative result rounded to seven decimals.
Root squared check
Unrounded internal root squared, then rounded to seven decimals.
Integer root?
True if the computed floating-point root is an integer; false otherwise. It is not an exact proof for very large original inputs.
Expression
Records the entered numeric interpretation and shortened root, without simplifying the exact radical.

Square Root Worked Example

Illustrative example. Find √72. Because 72 = 36 × 2, the exact principal root is 6√2. The calculator evaluates the decimal approximation, 8.4852814.

The internal unrounded root squared gives a check displayed as 72. Squaring only 8.4852814 yourself introduces a small display-rounding difference.

The computed integer-root flag is false for this input. If instead the task is z² = 72, its real solutions are ±6√2. The principal radical √72 itself is the positive value.

Calculation check. These illustrative values were checked independently against the formula and calculator response. Retain unrounded intermediate values when checking approximations.

Square Root Worked Example
QuantityValue
Radicand72
Exact root, hand simplification6√2
Displayed principal root8.4852814
Unrounded-root squared check72

Principal Roots and Squared Equations

The radical returns a single nonnegative value. A squared equation can have two signed solutions, one solution at zero, or no real solutions for a negative right side.

Principal Roots and Squared Equations
QuestionReal answer
√819
z² = 81z = 9 or −9
√00
z² = 0z = 0
√726√2, approximately 8.4852814
√(−9)No real value; rejected here

How to Read a Rounded Square Root

Square roots appear when reversing a squared quantity, finding geometric lengths and manipulating algebraic expressions. The calculator evaluates the numerical root, while the problem determines whether it represents a distance, a ratio or something else.

Evaluating a root versus solving an equation

The expression √49 has the single value 7. The equation y² = 49 has two real solutions: 7 and −7. Both statements are correct because they ask different questions. In a length problem the negative solution is usually excluded by the physical meaning, not because (−7)² fails to equal 49.

Keeping exact form when appropriate

An exercise may prefer √12 = 2√3 rather than a decimal approximation. This form displays the numerical value; it does not simplify radicals symbolically. Keep exact radical expressions in algebraic work where later terms may cancel, and use decimals when the requested output is numerical.

Large-integer limitation. The input 10000000000000001 is converted to 10000000000000000 by the current floating-point implementation. It then returns root 100000000 with the integer-root flag true, even though the original integer is not a perfect square. Use exact integer arithmetic when classification of every original digit matters.

Seven displayed decimals may be enough for an estimate but do not guarantee seven meaningful digits for every input. A very small positive root can round to zero, and squaring a rounded root can amplify its display error. Keep an exact radical or additional precision for later algebra.

Common Square Root Mistakes

  • Do not assume √(a + b) equals √a + √b. For a = b = 9, the two expressions are √18 and 6, which differ.
  • Remember that √(x²) = |x| for real x. With x = −4, the result is 4, not −4.
  • Use a nonnegative radicand for real-number calculations.
  • Do not round an intermediate root too early if it will be multiplied or squared again.

Frequently Asked Questions

Does a square root have a positive and a negative answer?

The principal radical √a is nonnegative. The equation z² = a has two signed real solutions for a > 0, which is a separate question.

Can I enter a negative number?

No. Negative radicands have no real square root. This page rejects them instead of returning a complex value.

What is the square root of zero?

It is 0. Zero is the only real number whose square is zero.

Can a decimal have a square root?

Yes. For example, √0.0625 = 0.25. The radicand does not need to be an integer or a perfect-square integer.

Does the calculator simplify radicals exactly?

No. It returns a numerical approximation rounded to seven decimals. A hand simplification such as √72 = 6√2 preserves exact form.

Why does squaring the displayed root give a different check?

The page squares the unrounded internal root before rounding its check. Squaring the printed seven-decimal root uses a shortened value and may differ slightly.

Does Integer root? prove a very large input is a perfect square?

No. The flag tests the computed floating-point root. A very large integer can lose original digits during input conversion, so exact classification needs exact integer arithmetic.

Why is √(z²) equal to |z|?

The principal square root must be nonnegative. For z = −4, z² = 16 and √16 = 4, so taking the square root returns the magnitude, not the original negative sign.

Sources and References