Quickly change a number's base in your browser. To get your number in the new base, just enter it in the input field, set the input number's base and the output number's base, and this utility will convert the number to the new base. Created by developers from team Browserling.
Quickly change a number's base in your browser. To get your number in the new base, just enter it in the input field, set the input number's base and the output number's base, and this utility will convert the number to the new base. Created by developers from team Browserling.
This is an online browser-based utility for changing a number's base. Numbers are an abstract idea and to write them down, you need to select a base. The base can be anything and the most common base is 10 (decimal) and it's the default base in this tool. When you write a number 25 or 1044, it's assumed that it's in base 10 but it could be in any other base as there are infinitely many numeral systems. Other well-known numeral systems are binary (base 2), octal (base 8), and hexadecimal (base 16). Slightly less common are negative bases, such as negabinary (base -2), negaoctal (base -8), negadecimal (base -10), and negahexadecimal (base -16). Even less common and virtually unknown bases are rational (for example, base 2/3), irrational (for example, base e), fractional (for example, base π/2), imaginary and complex (for example, base i), and many more. At the moment we support only positive and negative integer bases. All bases use the same principle to represent a number with the only difference being the alphabet set of the digits and whether the sign symbol is used for negative numbers. For example, the binary base expresses each number using two characters "0" and "1", the decimal base uses ten digits "0123456789", and the hexadecimal base uses six more letters "0123456789abcdef". Given the alphabet and the base, we can express any number by the formula x = ∑anbn, where an is a digit from the alphabet and b is the given base. The sequence anan-1…a0 of indexes in this formula is the number x in the given base b. For example, in base 10, the number 25 can be written as a sum ∑an10n = a1*101 + a0*100 = 2*101 + 5*100. Here the indexes are a1 = 2 and a0 = 5 and a1a0 forms the number 25. In the base 2, the number 25 can be expressed as 1*24 + 1*23 + 0*22 + 0*21 + 1*20 and from this sum, we find that 11001 is the number 25 in base 2. With negative bases, it works the same way. For example, in base -8, the number 2510 is 1*(-8)2 + 5*(-8)1 + 1*(-8)0, which is 151-8. If the base is negative, then the minus sign is not used. For example, -2510 = 4*(-8)1 + 7*(-8)0 = 47-8. In positive bases, the minus sign needs to be used to express negative numbers. This tool accepts any number with the base from -64 to 64 as input (except bases 0 and -1, which don't exist) and outputs it in any other base from this range. It can convert multiple numbers at the same time if they are entered one per line. As it's not always easy to know what each number means, you can also print the decimal number after each converted number. Also, as sometimes you may need the full sum formula, you can select the "Use Sum Formula" option to print the sum terms. That's numberwang!
This is an online browser-based utility for changing a number's base. Numbers are an abstract idea and to write them down, you need to select a base. The base can be anything and the most common base is 10 (decimal) and it's the default base in this tool. When you write a number 25 or 1044, it's assumed that it's in base 10 but it could be in any other base as there are infinitely many numeral systems. Other well-known numeral systems are binary (base 2), octal (base 8), and hexadecimal (base 16). Slightly less common are negative bases, such as negabinary (base -2), negaoctal (base -8), negadecimal (base -10), and negahexadecimal (base -16). Even less common and virtually unknown bases are rational (for example, base 2/3), irrational (for example, base e), fractional (for example, base π/2), imaginary and complex (for example, base i), and many more. At the moment we support only positive and negative integer bases. All bases use the same principle to represent a number with the only difference being the alphabet set of the digits and whether the sign symbol is used for negative numbers. For example, the binary base expresses each number using two characters "0" and "1", the decimal base uses ten digits "0123456789", and the hexadecimal base uses six more letters "0123456789abcdef". Given the alphabet and the base, we can express any number by the formula x = ∑anbn, where an is a digit from the alphabet and b is the given base. The sequence anan-1…a0 of indexes in this formula is the number x in the given base b. For example, in base 10, the number 25 can be written as a sum ∑an10n = a1*101 + a0*100 = 2*101 + 5*100. Here the indexes are a1 = 2 and a0 = 5 and a1a0 forms the number 25. In the base 2, the number 25 can be expressed as 1*24 + 1*23 + 0*22 + 0*21 + 1*20 and from this sum, we find that 11001 is the number 25 in base 2. With negative bases, it works the same way. For example, in base -8, the number 2510 is 1*(-8)2 + 5*(-8)1 + 1*(-8)0, which is 151-8. If the base is negative, then the minus sign is not used. For example, -2510 = 4*(-8)1 + 7*(-8)0 = 47-8. In positive bases, the minus sign needs to be used to express negative numbers. This tool accepts any number with the base from -64 to 64 as input (except bases 0 and -1, which don't exist) and outputs it in any other base from this range. It can convert multiple numbers at the same time if they are entered one per line. As it's not always easy to know what each number means, you can also print the decimal number after each converted number. Also, as sometimes you may need the full sum formula, you can select the "Use Sum Formula" option to print the sum terms. That's numberwang!
This example converts five numbers from base 10 to base 16. It decomposes each number using the formula x = ∑anbn = ∑an16n and then prints the coefficients an, which represent the number in base 16. For example, the number 30 = a1*161 + a0*161 = 1*161 + 14*161 and therefore the coefficients are a1 = 1 and a0 = 14. The hex base uses letters a, b, c, d, e, and f for coefficients 10, 11, 12, 13, 14, 15, so we get that the coefficients actually are a1 = 1 and a0 = e, and we find that 3010 = 1e16.
In this example, we change a binary number's representation to negabinary, which is the base minus two (base -2). It's often used to encode negative binary numbers as it doesn't use the "-" sign. We have also activated the use decimal notation option so that we knew what the input numbers were without much thinking. The input number is first converted to decimal 1102 = 1*22 + 1*21 + 0*20 = 4 + 2 + 0 = 610 and then to negabinary 610 = 1*(-2)4 + 1*(-2)3 + 0*(-2)2 + 1*(-2)1 + 0*(-2)0 = 11010-2. Similarly, -11102 (-1410) is 110110-2 and as you can see, the minus sign disappears in this base.
This example decodes negadecimal numbers. "Nega" means negative and "decimal" means ten, so it converts numbers from base -10 numbers to base 10. As the option "Print Sum" is enabled, it displays the new numbers as a decomposition sum. It seems that there are no signed numbers in the input as all numbers look positive but in fact, the third and fifth numbers are signed. After the conversion, you can see that these numbers are -45 and -505 as they use minus signs in the sum formula.
In this example, we convert three octal (radix 8) numbers to negaoctal (radix -8) numbers. We activate the "Use Sum Formula" option to get the numbers' power series from the formula ∑an(-8)n, where an is the octal base alphabet made from the digits 0 to 7. From the coefficients before the sum terms, we find that the number 558 is 135-8, the number -128 is 26-8, and the number 448 is 144-8.
This example loads two negahexadecimal numbers and expands them as repeated 1's in the unary numeral system. The unary number system, also known as base 1, uses only one symbol to represent each number. This symbol can be anything and we have hard-coded it to be "1". If a number in the decimal base is N, then in the unary base it has N ones. In our case, the number 1f2-16 is 18 in base 10, thus in base 1 it's equal to eighteen ones. The number 1c-16 is -4 in base 10 and in base 1 it's equal to minus four ones.
In this example, we convert from one negative base (-32) to another negative base (-64). To do it, this utility first finds decimal base 10 values of the input base -32 values and then converts them to base -64 values. As both bases are negative, the numbers don't use the "-" sign. These bases use an alphabet that not only contains numbers but also letters and even special characters ("$" and "_" in base -64). We also display the intermediate decimal value in brackets next to each base -64 output number.
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!
Create a list of numberwang numbers.
Create a list of neat looking numbers.
Visualize a number by drawing its digits as a color gradient.
Create a matrix of numbers with rows and cols having same sum.
Given numbers and a grammar, recursively rewrite them.
Create a number from the mantissa, base, and exponent.
Show how a fp number is represented in a computer.
Convert a number to the a×10<sup>b</sup> form.
Convert a number in scientific notation to a regular number.
Create a list of unary numbers (1, 11, 111, 1111, …).
Create a list of alphabetic numbers (a, b, c, …, z, aa, ab, …).
Create a list of Roman numbers (i, ii, iii, iv, v…).
Create a list of Braille numbers (⠂, ⠆, ⠒, ⠲, ⠢, …).
Create a list of random binary numbers.
Create a list of random octal numbers.
Create a list of random decimal numbers.
Create a list of random hexadecimal numbers.
Calculate a cumulative sum of a list of numbers.
Calculate a cumulative difference of a list of numbers.
Calculate a cumulative product of a list of numbers.
Divide two numbers and find their quotient.
Divide the digits of the given number.
Find the factorial of a number.
Find the average of multiple numbers.
Find the mean of multiple numbers.
Find the mode of multiple numbers.
Create one or more anagrams of a number.
Create a list of digit bigrams from a number.
Create a list of digit trigrams from a number.
Create a list of digit ngrams from a number.
Create a list of polynomial progression numbers.
Create a list of metric prefixes.
Report how many digits appear how many times.
Convert a cardinal number to an ordinal number.
Convert an ordinal number to a cardinal number.
Convert Arabic numerals to Roman numerals.
Convert Roman Numerals to Arabic numerals.
Calculate a series of extended Fibonacci numbers.
Find numbers that are both Fibonacci numbers and primes.
Check if a number is a Fibonacci number.
Check if a number is both a Fibonacci number and a prime.
Create a sequence of Fibonacci words.
Create a sequence of Tribonacci words.
Create a sequence of Tetranacci words.
Create a sequence of Pentanacci words.
Calculate a series of extended Lucas numbers.
Calculate a series of extended Lucas numbers.
Check if a number is both a Lucas number and a prime.
Calculate a sequence of Moser-Bruijn numbers.
Calculate a sequence of Oldenburger-Kolakoski numbers.
Calculate a sequence of Stanley numbers.
Calculate a sequence of self-describing Gijswijt numbers.
Calculate a sequence of Rusin-Shapiro numbers.
Calculate a sequence of Baum-Sweet numbers.
Calculate members of Thue-Morse number series.
Create a list of perfect numbers.
Create a list of almost perfect numbers.
Calculate a sequence of abundant numbers.
Calculate a sequence of deficient numbers.
Generate a list of paperfolding sequence numbers.
Create a list of numbers that are not prime.
Generate an LCD display that shows the given number.
Generate a table of numbers.
Check if the given number is a perfect number.
Check if the given number is an abundant number.
Check if the given number is a deficient number.
Find the modulus of a number.
Group together digits of a number.
Create a list of digits from a number.
Apply sprintf or printf function to numbers.
Let Zalgo destroy your numbers.
Repeat a number multiple times.
Create a mirror copy of a number.
Add zeros to a number.
Add a padding of custom symbols to a number.
Reverse the order of digits of a number.
Cyclically rotate digits of a number to the left or right.
Add one to the given number.
Add one to every digit in a number.
Subtract one from the given number.
Subtract one from every digit in a number.
Discover patterns in sequences of numbers.
Find how often numeric values occur.
Find x% of a number.
Create numbers of arbitrary length and properties.
Print the Googol/Google number, which is 10<sup>100</sup>.
Print the biggest number in the world.
Create a list of big numbers.
Print the smallest number in the world.
Create a list of small numbers.
Create a list of natural numbers.
Create a list of rational numbers.
Create a series of numbers where all terms are the same.
Create a sequence of real numbers.
Create a list of complex numbers.
Create a sequence of binary numbers.
Create a sequence of number pairs.
Create a sequence of number triples.
Create a sequence of number n-tuples.
Create a number with not that many digits.
Create a number with many digits.
Interweave two or more number digit-by-digit.
Rewrite a number in the decimal representation.
Convert a fraction to a decimal number.
Convert a decimal number to a fraction.
Convert a base two number to base eight number.
Convert a base two number to base ten number.
Convert a base two number to base sixteen number.
Convert a base eight number to base two number.
Convert a base eight number to base ten number.
Convert a base eight number to base sixteen number.
Convert a base ten number to base two number.
Convert a base ten number to base eight number.
Convert a base ten number to base sixteen number.
Convert a base sixteen number to base two number.
Convert a base sixteen number to base eight number.
Convert a base sixteen number to base ten number.
Convert any number in any base to any other base.
Change the significand of a number.
Change the power of a number.
Replace digits in a number with alphabet letters.
Form a spiral from the digits of a number.
Form a circle from the digits of a number.
Form a tree from the given numbers.
Form a tree from the digits of a number.
Remove the decimal separator from a decimal number.
Modify numbers so they are almost the same but have errors.
Generate various number typos.
Write numbers in a different font.
Write numbers in a bold font.
Write numbers with an underline below them.
Write numbers with a strikethrough on them.
Write numbers in a superscript font.
Write numbers in a subscript font.
Change digits in a number to Unicode look-alikes.
Change the given numbers a little bit.
Change the digits of the given numbers a little bit.
Calculate the complexity (entropy) of a number.
Test if the given number is numberwang.
Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.
Enter your email here
We're Browserling — a friendly and fun cross-browser testing company powered by alien technology. At Browserling we love to make peoples' lives easier, so we created this collection of number crunching tools. Our tools have the simplest user interface that doesn't require advanced computer skills and they are used by millions of people every month. Our number tools are actually powered by our web developer tools that we created over the last couple of years. Check them out!