Principal real root
Return the unique nonnegative root rather than both equation solutions.
This online square root calculator finds the principal nonnegative root of a positive number, zero or a decimal. The square root finder identifies perfect squares, simplifies suitable integer radicals and lets you choose decimal precision.
Results update as you edit. Enter a nonnegative number and choose the displayed decimal precision; the principal square root is nonnegative.
Read the result together with the breakdown and calculation assumptions below.
This is the principal nonnegative root, not both solutions of x² = a. Negative real inputs are rejected. Small nonzero roots can round to zero at the selected precision.
The displayed root is rounded using exact integer comparisons on the written decimal input. Perfect-square detection does not depend on floating-point equality.
The square root finder computes the principal real root of a nonnegative input and distinguishes exact forms from rounded displays. It checks perfect squares using integer arithmetic, parses decimals as exact fractions and simplifies suitable integer radicals. Rounding is based on squared bounds rather than guessing from displayed digits.
Use the result as a transparent mathematical estimate. The calculation method, input conventions and limitations are explained below so you can compare scenarios with the same assumptions.
Follow four steps to enter consistent inputs, read the estimate and understand the result.
Enter the nonnegative number whose principal real square root you need.
Choose how many decimal places to display.
Read the rounded root, exact form where available and perfect-square status.
Follow the exact squared-bound and midpoint steps; review the radical-factorization limit.
Explore the inputs, breakdowns and supported options available in this calculator.
Return the unique nonnegative root rather than both equation solutions.
Interpret a terminating decimal as its written rational value.
Check integer squares without floating-point equality tests.
Extract square prime powers for suitable integer inputs.
Select 0, 2, 6, 10 or 12 decimal places.
Use integer squared-midpoint comparisons to decide rounding.
The principal square root is nonnegative. Solving x²=72 has two real solutions, ±6√2, but √72 denotes only the positive one. A displayed rounded zero can represent a small nonzero root at limited precision.
Keep an exact fraction or radical alongside the decimal display.
Receive a clear error for negative inputs.
See why √72 can be written as 6√2.
Avoid mistaking a rounded zero for an exact zero.
Check these definitions and conventions when entering values or comparing estimates.
| Input or Result | Meaning | Main Consideration |
|---|---|---|
| Radicand | The number under the radical | It must be nonnegative in the real domain. |
| Perfect square | An integer equal to another integer squared | A decimal can have a rational root without being an integer. |
| Principal root | The nonnegative square root | Solving x²=a is a separate question with positive and negative solutions when a>0. |
| Display precision | Decimal places after rounding | The exact form remains useful when the rounded value loses detail. |
Compare the same radicand at the same decimal precision. Keep exact rational or radical forms separate from rounded decimal results, and distinguish the principal square root from both solutions of a squared equation.
Use a concrete example and focused comparisons to connect the inputs with the outputs.
72 = 2³×3² = 36×2, so √72 = 6√2 ≈ 8.485281 at 6 decimal places. For 144, the exact root is 12 and it is a perfect-square integer. For 0.25 = 1/4, the exact principal root is 1/2.
72=36×2, so √72=6√2, about 8.485281 at six decimal places.
0.25=1/4 gives exact root 1/2 and a six-place display of 0.500000.
√9 is 3, while the equation x²=9 has solutions ±3.
Read the calculation method alongside its units, precision and input conventions.
For x≥0, √x is the unique nonnegative y with y²=x. For an integer n, extract square prime powers to write √n = a√b. Decimal rounding uses squared comparisons on the exact input fraction.
The square root calculator with steps parses a written decimal into an exact rational n/d. At display scale S=10^p, integer square-root arithmetic finds q with q²d ≤ nS² < (q+1)²d. Comparing nS² with d(q+1/2)² decides rounding without relying on floating-point equality. If both reduced numerator and denominator are perfect squares, an exact rational root is shown. Trial factorization simplifies nonsquare integer radicals up to 1 billion.
Negative inputs are outside this real-number calculator’s domain and return an error; complex roots are not produced.
Perfect-square integer detection and exact rational-root detection are separate. A decimal such as 0.25 can have an exact rational root without being an integer.
Radical factorization is supplementary and bounded. Larger nonsquare integers keep an unfactored exact radical, while the root and rounding still use exact integer comparisons.
Plain decimal/integer inputs support up to 60 written digits. Display precision is 0, 2, 6, 10 or 12 decimal places. Nonsquare integer radical simplification is attempted up to 1 billion. Exponent notation and grouping commas are excluded.
Calculations run locally in your browser. The calculator does not send your entered values to a calculation server or store them between visits.
An exact rational root is shown when available; other decimal results are rounded to the selected precision. Use the exact form or squared bounds when checking the result, and review the radical-factorization limit.
Practical answers about the inputs, calculation method and limitations of this estimate.
It is the unique nonnegative number whose square equals the nonnegative input. For 9, the principal square root is 3; the equation x²=9 separately has solutions 3 and −3.
Yes. Zero gives zero, and a terminating decimal is parsed exactly as written. For 0.25, the exact root is 1/2.
For suitable integer inputs it extracts pairs of prime factors. For example, 72=36×2 produces 6√2. Trial factorization is limited to 1 billion for responsiveness.
No real number squares to a negative value. Complex roots require a different domain and are outside this tool’s scope.
Choose 0, 2, 6, 10 or 12 places. The tool compares exact squared values to round at that scale; the rounded display does not replace an exact fraction or radical.