# Number rounder

## World's simplest number tool

Quickly round the given numbers in your browser. To perform the rounding, just enter your numbers in the input field, select the rounding mode and precision in the options below, and this utility will display the rounded values. Created by developers for developers.

i've redesigned my blog!
catonmat

Super exciting news! I just redesigned my catonmat.net blog. Now it has a new minimalistic design and is entirely powered by alien technology. Check it out!

*fullscreen*

*fullscreen_exit*

A link to this tool, including input, options and all chained tools.

Can't convert.

Number rounder tool
What is a number rounder?

This is a browser-based online utility for rounding numbers. Rounding a number means to approximate it with another, usually less precise number. This is done to make the number easier to perceive and use. We offer four rounding modes – up, down, nearest, and half. The first two round numbers up and down. Rounding up is also known as ceiling and it means to round numbers to the next largest value. Rounding down is also known as flooring and it means to round numbers to the next smallest value. For example, the number 2.67 rounds up to 2.7 and rounds down to 2.6. The third one rounds numbers towards the nearest neighbor. For example, 2.67 rounds to nearest value 2.7 (given precision 1). In this mode, if the number ends with a 5 or greater, then it is rounded up, otherwise, it's rounded down. The fourth one rounds numbers to a half. That means rounding to the nearest 0 or 5. For example, 2.67 rounds half to 2.5. In the precision option, you can specify which digit in the fraction or integer part to round the number to. You can round fractions to tenths (precision set to 1), hundredths (precision = 2), thousandths (precision = 3) and so on, and integers to ones (precision = 0), tens (precision = -1), hundreds (precision = -2), and so on. That's numberwang!

Number rounder examples
Click to use

Round Numbers Up

In this example, we ceil five numbers with the precision of 3 decimal digits. That is, each number is rounded towards the nearest larger value with the precision of one hundredth. For example, the first number 60.36429289 is rounded to 60.365 because it has the value of 0.004 in the hundreds decimal position. Rounding it up by one hundredth increases it to 0.005. All other digits in the fraction are discarded because of the precision 3.

60.36429289
91.37999999
10.00000001
66.99999999
00.00000000

60.365
91.380
10.001
67.000
0.000

**Required options**

Round a number to the next
largest value.
(Also known as ceiling.)

Enter round precision here.

Round Numbers to a Half

In this example, we round three numbers to a half. The precision here is set to 2, which means the numbers are rounded to 0 or 5 at the second decimal position. Whether they're rounded to 0 or 5 depends on which value they are closer to. For example, the number 2.366 has the second digit in the fraction equal to 6. The closest half-value to it is 5, therefore 2.35 is obtained.

2.366
2.311
2.388

2.35
2.30
2.40

**Required options**

Round a number to the closest
value that ends with 0 or 5.

Enter round precision here.

Round Integers to Nearest Tens

In this example, we round nine integers to the nearest tens. The value "-1" in the precision field indicates that rounding is for tens. The second digit in all integers is rounded to the nearest neighboring value, and all digits to the right become zeros.

222
244
266
288
310
332
354
376
398

220
240
270
290
310
330
350
380
400

**Required options**

Rounds a number towards the
nearest neighboring number.

Enter round precision here.

Round Decimal Fractions Down

In this example, we round down five fractions. Here, the value 0 is entered in the precision field. This is equivalent to truncating the fractional part from each number, leaving only the integer part.

2.05
3.46
4.52
5.86
6.94

2
3
4
5
6

**Required options**

Round a number to the next
smallest value.
(Also known as flooring.)

Enter round precision here.

Round Positive and Negative Numbers

In this example, we round up two numbers that are equal by absolute value but have opposite signs. For the positive number 0.01, the next largest value rounded to ones is 1 and for the negative number -0.01, it's 0.

0.01
-0.01

1
0

**Required options**

Round a number to the next
largest value.
(Also known as ceiling.)

Enter round precision here.

Pro tips
Master online number tools

You can pass input to this tool via

__?input__query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinenumbertools.com/round-a-number

__?input__=60.36429289%0A91.37999999%0A10.00000001%0A66.99999999%0A00.00000000&round-up=true&precision=3
All number tools

Quickly create a list of numbers in arithmetic series.

Quickly create a list of numbers in geometric series.

Quickly calculate the coefficients of the binomial expansion.

Quickly create a downloadable image from numbers.

Quickly create a list of random numbers.

Quickly create a list of random primes from a specific interval.

Quickly create a matrix with random numbers as its elements.

Quickly create a random row or column vector.

Quickly exchange rows and columns of a matrix.

Quickly find the determinant of any square matrix.

Quickly calculate any number of digits of number π.

Quickly generate the specified number of Euler constant's digits.

Quickly generate any number of golden ratio digits.

Quickly generate numbers of say what you see sequence.

Quickly calculate numbers of Fibonacci sequence.

Quickly calculate numbers of Lucas series.

Quickly generate Fibonacci-like series with custom start values.

Quickly create a sequence of prime numbers.

Quickly check if the given number is a prime.

Quickly compute all prime factors of a number.

Quickly compute all divisors of a number.

Quickly create a list of increasing or decreasing integers.

Quickly create a sequence of even numbers.

Quickly create a sequence of odd numbers.

Quickly generate a series of numbers in the form 2^n.

Quickly generate a series of numbers in the form 10^n.

Quickly choose one or more numbers from a list of numbers.

Quickly round one or more numbers to the given accuracy.

Quickly sort numbers in ascending or descending order.

Quickly sort number's digits in ascending or descending order.

Quickly randomize the order of digits in a number.

Quickly filter numbers according to certain criteria.

Quickly add up all the numbers in the given list and find their sum.

Quickly multiply all the given numbers together and find their product.

Quickly add up all the digits of the given numbers.

Quickly multiply all the digits of the given numbers.

Quickly create a diagonal matrix with ones on the main diagonal.

Quickly convert a number to the form 2^x.

Quickly express a number in the form 10^x.

Coming soon
These number tools are on the way

Generate Numberwang Numbers

Create a list of numberwang numbers.

Rewrite Numbers

Given numbers and a grammar, recursively rewrite them.

Generate Powers of 10

Create a list of numbers that are powers of ten.

Create a Floating Point Number

Create a number from the mantissa, base and exponent.

Convert a Number to the Scientific Notation

Convert a number to the a*10^b form.

Convert Scientific Notation to a Number

Convert a number in scientific notation to a regular number.

Generate Random Binary Numbers

Create a list of random binary numbers.

Generate Random Octal Numbers

Create a list of random octal numbers.

Generate Random Decimal Numbers

Create a list of random decimal numbers.

Generate Random Hex Numbers

Create a list of random hexadecimal numbers.

Calculate a Running Sum

Calculate a cumulative sum of a list of numbers.

Calculate a Running Product

Calculate a cumulative product of a list of numbers.

Find the Maximal Number

Find the largest number in a number sequence.

Find the Minimal Number

Find the smallest number in a number sequence.

Calculate the Factorial

Find the factorial of a number.

Generate Number Bigrams

Create a list of digit bigrams from a number.

Generate Number Trigrams

Create a list of digit trigrams from a number.

Generate Number N-grams

Create a list of digit ngrams from a number.

Analyze a Number

Report how many digits appear how many times.

Convert a Number to an Ordinal

Convert a cardinal number to an ordinal number.

Convert an Ordinal to a Number

Convert an ordinal number to a cardinal number.

Convert a Number to Words

Express a number in English words.

Convert Words to a Number

Rewrite English words to numbers.

Convert a Number to Roman Number

Convert Arabic numerals to Roman numerals.

Convert a Roman Number to Regular Number

Convert Roman Numerals to Arabic numerals.

Generate Negafibonacci Numbers

Calculate a series of extended Fibonacci numbers.

Generate Fibonacci Primes

Find numbers that are both Fibonacci numbers and primes.

Fibonacci Number Test

Check if a number is a Fibonacci number.

Fibonacci Prime Test

Check if a number is both a Fibonacci number and a prime.

Construct Fibonacci Words

Create a sequence of Fibonacci words.

Construct Tribonacci Words

Create a sequence of Tribonacci words.

Generate Negalucas Numbers

Calculate a series of extended Lucas numbers.

Generate Lucas Primes

Calculate a series of extended Lucas numbers.

Lucas Prime Test

Check if a number is both a Lucas number and a prime.

Invert a Matrix

Find the inverse of a number matrix.

Calculate the Trace of a Matrix

Find the sum of main diagonal elements of a matrix.

Calculate the Eigenvalues of a Matrix

Find the eigenvalues of a matrix.

Multiply Matrices

Compute the product of two matrices.

Add Matrices

Compute the sum of two matrices.

Subtract Matrices

Compute the difference of two matrices.

Generate Moser de Bruijn Numbers

Calculate a sequence of Moser-Bruijn numbers.

Generate Kolakoski Numbers

Calculate a sequence of Oldenburger-Kolakoski numbers.

Generate Gijswijt Numbers

Calculate a sequence of self-describing Gijswijt numbers.

Generate Rudin-Shapiro Numbers

Calculate a sequence of Rusin-Shapiro numbers.

Generate Baum-Sweet Numbers

Calculate a sequence of Baum-Sweet numbers.

Generate Thue-Morse Sequence

Calculate members of Thue-Morse number series.

Generate Perfect Numbers

Create a list of perfect numbers.

Generate Almost Perfect Numbers

Create a list of almost perfect numbers.

Generate Excessive Number Sequence

Calculate a sequence of abundant numbers.

Generate Deficient Number Sequence

Calculate a sequence of deficient numbers.

Calculate Dragon Curve Numbers

Generate a list of paperfolding sequence numbers.

Generate Composite Numbers

Create a list of numbers that are not prime.

Test if a Number is Perfect

Check if the given number is a perfect number.

Test if a Number is Abundant

Check if the given number is an abundant number.

Test if a Number is Deficient

Check if the given number is a deficient number.

Calculate Greatest Common Divisor

Find the GCD of two or more numbers.

Calculate Least Common Multiple

Find the LCM of two or more numbers.

Generate a Sequence of Squares

Create a list of squares of numbers.

Generate a Sequence of Cubes

Create a list of cubes of numbers.

Calculate the Modulo

Find the modulus of a number.

Group Number Digits

Group together digits of a number.

Split a Number into Digits

Create a list of digits from a number.

Printf Numbers

Apply sprintf or printf function to numbers.

Palindrome Number Test

Test if the given number is a palindrome.

Create a Palindrome Number

Given a number, add digits to it so that it becomes a palindrome.

Create Zalgo Numbers

Let Zalgo destroy your numbers.

Mirror a Number

Create a mirror copy of a number.

Reverse a Number

Reverse the order of digits of a number.

Rotate a Number

Cyclically rotate digits of a number to the left or right.

Increase All Digits in a Number

Add one to every digit in a number.

Decrease All Digits in a Number

Subtract one from every digit in a number.

Calculate Percentages

Find x% of a number.

Generate Natural Numbers

Create a list of natural numbers.

Generate Rational Numbers

Create a list of rational numbers.

Generate Real Numbers

Create a sequence of real numbers.

Generate Complex Numbers

Create a list of complex numbers.

Generate Binary Numbers

Create a sequence of binary numbers.

Generate Pairs of Numbers

Create a sequence of number pairs.

Convert a Fraction to a Decimal

Convert a fraction to a decimal number.

Convert a Decimal to a Fraction

Convert a decimal number to a fraction.

Convert a Binary Number to Octal Number

Convert a base two number to base eight number.

Convert a Binary Number to Decimal Number

Convert a base two number to base ten number.

Convert a Binary Number to Hex Number

Convert a base two number to base sixteen number.

Convert a Octal Number to Binary Number

Convert a base eight number to base two number.

Convert a Octal Number to Decimal Number

Convert a base eight number to base ten number.

Convert a Octal Number to Hex Number

Convert a base eight number to base sixteen number.

Convert a Decimal Number to Binary Number

Convert a base ten number to base two number.

Convert a Decimal Number to Octal Number

Convert a base ten number to base eight number.

Convert a Decimal Number to Hex Number

Convert a base ten number to base sixteen number.

Convert a Hex Number to Binary Number

Convert a base sixteen number to base two number.

Convert a Hex Number to Octal Number

Convert a base sixteen number to base eight number.

Convert a Hex Number to Decimal Number

Convert a base sixteen number to base ten number.

Convert Any Number to Any Base

Convert any number in any base to any other base.

Change Number's Mantissa

Change the significand of a number.

Change Number's Base

Change the base of a number.

Change Number's Exponent

Change the power of a number.

Numberwang Number Test

Test if the given number is numberwang.

Subscribe!
Never miss an update

Cool!

Notifications
We'll let you know when we add this tool

Cool!