# Square Root Calculator

URL: https://hifreetools.com/calculators/square-root-calculator

> Find the principal square root of any number, switch to a cube root or any custom nth root, and see when the result is a perfect power — all in your browser.

## Quick answer

The square root of a number x is the value r with r² = x. The square root of 144 is 12 because 12 × 12 = 144. This calculator returns the principal (positive) root, also handles cube roots and any nth root via x^(1/n), and notes that even roots of negative numbers are not real.

For a square root the tool uses r = √x; for a cube root r = ∛x; and for a custom degree n it computes x^(1/n). It rounds the result to the nearest whole number and checks whether that number raised to the power n gives back x exactly, flagging perfect squares and perfect powers. Even roots of negative numbers have no real value.

## Examples

- Perfect square: √144 → 12
- Irrational root: √2 → ≈ 1.41421356
- Cube root: ∛27 (n = 3) → 3

## FAQ

**What is a principal square root?**
The non-negative root. While both +12 and −12 square to 144, the principal square root of 144 is +12.

**Can it do cube roots and other roots?**
Yes. Switch the root type to cube root, or choose a custom nth root, and the tool computes x^(1/n).

**Why is √2 a long decimal?**
Because 2 is not a perfect square, its square root is irrational — a non-terminating, non-repeating decimal, shown here to several places.

**What about the square root of a negative number?**
It has no real value; the roots are imaginary (for example √−4 = 2i). Odd roots of negatives, however, are real.

**How does it detect a perfect square?**
It rounds the computed root and checks whether raising that whole number to the power reproduces the original number exactly.

**Is anything uploaded?**
No. The calculation runs entirely in your browser.


## Sources

- [Wikipedia — Square root](https://en.wikipedia.org/wiki/Square_root)
- [Wikipedia — Nth root](https://en.wikipedia.org/wiki/Nth_root)

Runs in the browser; nothing is uploaded. Cite as: HIFreeTools, "Square Root Calculator", https://hifreetools.com/calculators/square-root-calculator
