Math / Square Root

Square Root calculator

Find the principal, non-negative square root of a number, with a clear result for perfect squares and decimals.

Negative inputs do not have a real square root.

Your answer will appear here.

Formula: The principal square root √x is the non-negative value whose square is x.

The basics

What a square root actually asks

The principal square root of x is the non-negative number that, multiplied by itself, gives x. That is why √9 is 3 and not −3: the principal root is defined as the non-negative one. Perfect squares return whole numbers, while other values return decimals.

Square roots are fractional powers — √x is the same as x^(1/2) — so the Power / Exponent calculator covers the general case, including cube roots and negative exponents.

How the formula works

√x = y where y ≥ 0 and y² = x

Only non-negative results are returned. Negative inputs fall outside the real numbers and are rejected.

Negative inputs

The square root of a negative number is not a real number.

Perfect squares

4, 9, 16, 25 and so on return exact integers.

In practice

Worked examples

Input

144

Answer

12

Input

2

Answer

1.41421356237…

Good to know

Frequently asked questions

It returns the principal square root: the non-negative root of the value you enter.

Keep going