Calculate & Convert

Rounding Calculator

Round a number to a chosen number of decimal places, or up/down/towards zero.

Enter values

The formula

scale by 10ᵈ, apply the rounding rule, scale back

Rounding shifts the decimal point, applies a rule, then shifts back. The rules differ in ways that matter with negatives: floor sends −2.5 down to −3, while "towards zero" simply truncates it to −2. Choose deliberately when money or measurements are involved.

All calculations run locally in your browser and update instantly as you type.

Example calculations

Common questions this calculator answers — select one to load its values.

Related calculators

Frequently asked questions

What is “towards zero” rounding?+
It simply drops the extra digits (truncation), so 2.78 becomes 2 and −2.78 becomes −2 — unlike floor, which would give −3.
All calculations run locally in your browser. Nothing you type is sent to a server.