← All calculators / Math

Rounding

Negative decimal places round to tens, hundreds, and larger powers of ten.

01 / Your inputsBrowser-only calculation
Rounding
—
How it works

The formula

Round to the requested decimal place

Example inputs

Number: 3.14159265 · Decimal places: 2

Result: 3.14

What the Rounding works out

The Rounding turns the figures below into rounding, using the formula Round to the requested decimal place. Negative decimal places round to tens, hundreds, and larger powers of ten.

What each field means

Number
A number; the example uses 3.14159265.
Decimal places
A number; the example uses 2. Values must fall between -12 and 12.

A worked example

With the values this page opens on — Number 3.14159265, Decimal places 2 — the answer is 3.14. Reset restores exactly these numbers.

Reading the result

What you get back is rounding. Each edit recomputes the answer and redraws the chart from your own figures, so the displayed rounding never feeds back into the calculation.

Assumptions and limits

Negative decimal places round to tens, hundreds, and larger powers of ten. Uses nearest rounding; ties go toward positive infinity.

Your privacy

Nothing you type leaves your browser.

Related calculators

Slope ↗ · Binary ↗ · Matrix ↗ · Factors ↗