Square Root - Principal Root and Decimal Expansion

Use this square root calculator to compute principal square roots, perfect-square status, and decimal expansions for any non-negative number.

Updated: June 16, 2026 • Free Tool

Square Root

Enter any non-negative real number. Negative inputs are not allowed in the real numbers.

Controls how many decimal places appear in the result for non-perfect squares.

Results

Principal square root
0
Verification (root × root) 0
Perfect square? 0

What Is a Square Root Calculator?

A square root calculator is a free tool that returns the principal square root of any non-negative real number, tells you whether the input is a perfect square, and shows the decimal expansion you need for homework, design work, or quick math checks. Type a number, pick your decimal precision, and read the result with a built-in verification row that multiplies the root by itself.

  • Checking homework and exams: verify a square root that you worked out by hand and see the decimal expansion to the exact number of places your teacher asked for.
  • Estimating geometry values: compute the side of a square from its area, the diagonal of a square from its side, or any other inverse-of-squaring step in geometry problems.
  • Quick perfect-square checks: paste an integer to learn immediately whether it is a perfect square and, if so, what integer multiplies by itself to give it.
  • Working with radicals in formulas: get a high-precision decimal for use inside larger physics, statistics, or finance calculations that prefer a numeric value over a radical symbol.

If you are working with squares in geometry, the area-to-side and perimeter-to-diagonal calculations are where square roots appear most often. This page focuses only on the root side of the relationship, so the answer stays simple to read and the result panel stays uncluttered.

If you already work with areas, perimeters, and diagonals, the companion Square Area Calculator uses the same square-root idea in the opposite direction: it turns an area into the side length that produced it.

How the Square Root Calculator Works

The square root function undoes the act of squaring. For any non-negative real number x, the principal square root is the unique non-negative real number y such that y × y = x. The calculator applies this definition, flags when y is an exact integer (a perfect square), and shows y × y as a verification row so you can confirm the result is consistent.

y = √x, defined by y × y = x with y ≥ 0
  • x (number): the non-negative real number you enter; x is the value being un-squared.
  • y (principal root): the non-negative result, also written as √x or x^(1/2); the same number you'd see plotted on the upper half of the parabola y = √x.
  • y × y (verification): the result multiplied by itself; equals x exactly for perfect squares and within rounding for irrational roots.

Mathematically, every positive real number has two square roots, a positive one and a negative one. The calculator deliberately reports only the principal (non-negative) root, which is the convention used in textbooks, on standardized tests, and in nearly every engineering formula. If you need the negative root, prefix the result with a minus sign.

Worked example: perfect square

Number = 144, Decimal places = 4

√144 = 12 because 12 × 12 = 144.

Principal root = 12, Verification = 144, Perfect square = Yes.

Because 144 is 12², the principal root is an exact integer and no decimal expansion is needed.

Worked example: non-perfect square

Number = 2, Decimal places = 8

√2 ≈ 1.41421356 to eight decimal places.

Principal root = 1.41421356, Verification = 2.00000000, Perfect square = No.

√2 is irrational, so the result is an infinite non-repeating decimal. The calculator rounds to the precision you asked for and the verification row still rounds back to 2 within the chosen decimals.

According to Wolfram MathWorld, the principal square root of a non-negative real number x is the unique non-negative real number whose square equals x.

The same principal-root convention is used by a generic Root Calculator, which extends the same idea to cube roots, fourth roots, and any other n-th root in one tool.

Key Concepts Behind Square Roots

Four ideas come up the moment you start talking about square roots in class or in a formula. They explain why the calculator behaves the way it does and what the numbers in the result panel actually mean.

Principal vs. negative root

Positive inputs have two real square roots, one positive and one negative. The principal root is the non-negative one and is the convention used in school math, on tests, and inside nearly every engineering formula.

Perfect square

A number is a perfect square when it equals an integer multiplied by itself: 0, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, and so on. The check is integer-only, so 0.25 returns No (0.5² = 0.25) and 2.25 returns No (1.5² = 2.25).

Irrational square roots

For a non-perfect-square integer, the square root is irrational: an infinite, non-repeating decimal. √2, √3, √5, and √10 are the classic examples. Decimals can have rational roots, such as √2.25 = 1.5 and √0.25 = 0.5.

Square vs. square root

Squaring multiplies a number by itself; taking the square root undoes that operation. Squaring always produces a non-negative result, while square roots are only real when the input is non-negative.

The fractional-exponent view of the square root, √x = x^(1/2), is the form most spreadsheets and programming languages use internally. Understanding both the radical symbol and the fractional exponent helps you read formulas that mix the two notations, and it is the bridge between this single-degree tool and the more general exponent calculators.

A Fractional Exponent Calculator handles the same x^(1/2) operation alongside 1/3, 1/4, and other fractional exponents, which is helpful when the exponent changes across a formula.

How to Use This Square Root Calculator

Four quick steps cover the typical workflow. Pick the precision that matches what you need on paper and read the result panel top-to-bottom for the principal root, the verification row, and the perfect-square status.

  1. 1 Enter the number: Type any non-negative real number into the Number field. Use the up and down arrows or just type; the result updates in real time.
  2. 2 Choose a decimal precision: Open the Decimal places menu and pick 0, 2, 4, 6, or 8 decimals. More decimals show a longer decimal expansion for irrational roots.
  3. 3 Read the principal root: The first row of the result panel shows the principal (non-negative) square root rounded to your chosen precision.
  4. 4 Check the verification row: Multiply the displayed root by itself in your head, or use the Verification (root × root) row, to confirm the answer is consistent with your input.
  5. 5 Confirm the perfect-square status: The Perfect square? row tells you Yes or No and, when Yes, shows the integer pair that multiplies to give your input.
  6. 6 Reset for a new problem: Press Reset to restore the default 144 input and 4-decimal precision so you can move on to the next number without retyping.

For a geometry problem, enter the area of a square (say 81 square meters) and 4 decimals. The result panel returns a principal root of 9, a verification of 81, and confirms it is a perfect square. The side length of the square is therefore 9 meters.

If you also need the related n-th powers, a general-purpose Exponent Calculator lets you compute x^2, x^3, and x^(1/2) side by side using the same conventions.

Benefits of Using This Square Root Calculator

The tool focuses on the square root specifically, so the layout stays simple, the result panel stays readable, and the answer is consistent with what you would get on paper.

  • Principal-root consistency: Always reports the non-negative root that matches school conventions, the same value used in the Pythagorean theorem, distance formula, and standard deviation.
  • Built-in verification: Multiplies the result by itself so you can spot a typo in the input or a rounding error without re-typing the problem on a separate device.
  • Perfect-square detection: tells you whether the input is an integer perfect square, and shows the integer pair that produced it, which is useful for mental math and for simplifying radicals.
  • Adjustable precision: Lets you request 0, 2, 4, 6, or 8 decimals so the result can match the precision your teacher, textbook, or spreadsheet is asking for.
  • Real-time updates: Recalculates the moment you change the input or the precision selector, with no Calculate button required for the common case of just exploring values.
  • Negative-input guard: Rejects negative numbers with a clear error message, reminding you that the real square root function is only defined for non-negative inputs.

If you need the related n-th root (cube root, fourth root, etc.) for the same number, the Root Calculator in the Education & Academic category uses the same principal-root convention and lets you change the degree in one click.

For non-negative inputs the principal root and the absolute value of the negative root coincide, and a Absolute Value Calculator helps you see why the two ideas look so similar in practice.

Factors That Affect Your Square Root Result

A few subtle choices change what shows up in the result panel. Understanding them helps you interpret the number and pick the right precision for the job.

Input value

The result is fully determined by the input. Small changes to the input produce small changes to the result, with the rate of change equal to 1 / (2 × √x). Near 0 the slope is very steep, so the calculator reacts visibly to small edits; near large values the slope is much gentler.

Decimal precision

Higher precision (6 or 8 decimals) reveals more of the infinite decimal for irrational roots such as √2 or √10. Lower precision (0 or 2 decimals) is fine when you only need a rough estimate or a single-digit answer.

Perfect-square status

For an integer perfect square, the principal root is exact and the verification row is exact. Otherwise the verification row is rounded; the small gap reflects the precision you asked for. The check is integer-only, so 0.25 returns No.

Floating-point math

Inside the calculator the result is computed with double-precision floating-point numbers. For huge inputs (above about 10^15) the verification row may differ from the input by one unit in the last place even when the input is a perfect square; the calculator's own check still flags the number as a perfect square as long as the difference is small.

  • Negative inputs are not supported. The real square root function is undefined for x < 0; complex roots (involving i) are out of scope for this calculator.
  • Outputs are rounded for display, so the verification row may differ from the input by up to half a unit in the last shown decimal. The underlying computation is exact within the precision you selected.

Reading the result alongside a standard reference confirms the convention. According to Britannica, every positive real number has two square roots (a principal positive root and a negative counterpart), while negative numbers have no real square roots at all, which is exactly the rule this calculator enforces.

For more on how the principal root fits into the broader family of radical and fractional-exponent operations, a side-by-side comparison with x^2 and x^(1/3) is the next step after the square root becomes familiar.

According to Britannica, every positive real number has two square roots - a positive principal root and a negative counterpart - while negative numbers have no real square roots.

According to Khan Academy, a square root of x is a value r such that r*r = x, and the radical symbol designates the principal (non-negative) square root.

Square root calculator interface showing the input number, principal root, and decimal expansion result.
Square root calculator interface showing the input number, principal root, and decimal expansion result.

Frequently Asked Questions

Q: What is a square root calculator?

A: A square root calculator is a free online tool that takes a non-negative real number and returns the principal (non-negative) square root along with a verification row that multiplies the result by itself. It also tells you whether the input is a perfect square and shows the decimal expansion to the precision you choose.

Q: How do you find the square root of a number?

A: Look for a non-negative value y such that y multiplied by itself equals the input. For perfect squares such as 25 or 144 the answer is an exact integer (5 and 12). For other numbers such as 2 the answer is an irrational decimal like 1.41421356, which the calculator rounds to your chosen precision.

Q: What is the difference between square and square root?

A: Squaring multiplies a number by itself (for example 9 squared is 81). Taking a square root is the inverse operation: it asks which number was multiplied by itself to produce the input (the square root of 81 is 9). Squaring always produces a non-negative result; square roots are real only for non-negative inputs.

Q: Is the square root of 2 a rational number?

A: No. √2 is irrational: it cannot be written as a finite fraction of two integers, and its decimal expansion 1.41421356... goes on forever without repeating. The calculator rounds this expansion to the precision you ask for and the verification row confirms that the rounded value, squared, returns the input within the same rounding.

Q: What is the principal square root?

A: The principal square root is the non-negative real root of a non-negative number. Every positive real number has two real square roots (a positive one and a negative one), and the convention in textbooks, on tests, and in most engineering formulas is to use the principal (non-negative) value. This calculator reports that principal value.

Q: Can you take the square root of a negative number?

A: Not in the real number system. The square of any real number is non-negative, so there is no real y that satisfies y × y = -1 or y × y = -9. Complex roots (which involve the imaginary unit i) exist for these inputs, but they are out of scope for this calculator, which displays a clear error message when given a negative input.