CalcWorldHub
Free online calculator · no signup

Square root calculator

Find the nonnegative real number whose square equals your input. Use it to simplify a numerical step, check a right-triangle calculation, or distinguish the principal square root from the two solutions of an equation such as x² = 25.

4,000 tools
Square root calculator — Nonnegative number and calculation method
Square root calculator: inputs and calculation method.

How to use this calculator

Find the nonnegative real number whose square equals your input.

  1. Enter Nonnegative number. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

How the square root calculator works

This tool returns the principal, nonnegative square root of a nonnegative real input and shows a square check for the displayed result.

Inputs and fields

number — Nonnegative number
Enter zero or a positive real number. Negative values do not have a real square root.

Formula and method

For x ≥ 0, the principal square root is √x, the unique nonnegative value r such that r² = x.

Worked example

For 225, √225 = 15 because 15 × 15 = 225. The principal square root is 15; the equation x² = 225 has two solutions, +15 and −15.

Reading the result

The principal root is the main result. The square check squares that result, and the perfect-square label applies only to safe integers whose integer root squares exactly to the input.

Assumptions and limits

Only nonnegative real inputs are accepted. The square-root function returns the principal (nonnegative) root. Floating-point arithmetic can make the square-check output differ slightly from the entered value for very large or non-perfect squares; “perfect square” is only asserted for safe integer inputs.

Frequently asked questions

Is the square root always positive?

The principal square root is nonnegative. For an equation x² = a with a > 0, both +√a and −√a solve the equation.

Can I calculate the square root of a negative number here?

Not as a real number. Negative inputs have complex square roots; use a complex-number method for those.

How do I check whether a number is a perfect square?

For a nonnegative integer n, its square root is an integer exactly when n is a perfect square. The calculator checks that condition for safely represented integers.

How do I use the Square root calculator?

Enter Nonnegative number. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Square root?

For 225, √225 = 15 because 15 × 15 = 225. The principal square root is 15; the equation x² = 225 has two solutions, +15 and −15.