Number Base Converter
Type a number in binary, octal, decimal or hexadecimal and every other base updates instantly. You can also pick any base from 2 to 36. Exact big-integer math, nothing is uploaded.
How to use Number Base Converter on KickSolve
Three quick steps, no account needed.
Why choose KickSolve
Built for speed, privacy and clean results.
What you can do with Number Base Converter
Everything this tool offers.
About Number Base Converter on KickSolve
What it does and how to get the best results.
What is a number base?
A base (or radix) is how many digits a number system uses before it carries to the next place. Decimal has ten digits, binary has two, octal has eight and hexadecimal has sixteen.
Converting between bases
To decimal: multiply each digit by the base raised to its position and add. From decimal: divide repeatedly by the new base and read the remainders. Between binary, octal and hex: regroup the bits in threes or fours.
Which base should I use?
Use binary for bits and flags, octal for Unix permissions, hex for colors, addresses and bytes, and decimal for everyday numbers.
Limits
Whole numbers only. Negative numbers use a leading minus sign. Fractions are not supported.
Read the KickSolve privacy policy for details about the site itself.
Number base converters for specific conversions
Need the working steps for one conversion? Open a dedicated page.
Binary, octal, decimal and hex 0 to 16
The first values in each base.
| Decimal | Binary | Octal | Hex |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 1 |
| 2 | 10 | 2 | 2 |
| 3 | 11 | 3 | 3 |
| 4 | 100 | 4 | 4 |
| 5 | 101 | 5 | 5 |
| 6 | 110 | 6 | 6 |
| 7 | 111 | 7 | 7 |
| 8 | 1000 | 10 | 8 |
| 9 | 1001 | 11 | 9 |
| 10 | 1010 | 12 | A |
| 11 | 1011 | 13 | B |
| 12 | 1100 | 14 | C |
| 13 | 1101 | 15 | D |
| 14 | 1110 | 16 | E |
| 15 | 1111 | 17 | F |
| 16 | 10000 | 20 | 10 |
Frequently asked questions
Quick answers.
What is a number base converter?
It converts a number between positional systems such as binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16), and any base up to 36.
How do I convert binary to decimal?
Multiply each binary digit by 2 raised to its position and add the results. Or type the binary number in the first box and read the decimal box.
How do I convert decimal to binary?
Divide by 2 repeatedly and read the remainders from last to first, or type the decimal number and read the binary box.
How do I convert hex to decimal?
Multiply each hex digit by 16 raised to its position, using A to F for 10 to 15, then add. The converter does this instantly.
What is the difference between hex and binary?
Hex is a compact way to write binary. One hex digit stands for exactly four bits.
Which bases are supported?
Binary, octal, decimal and hexadecimal have their own boxes, and the extra box handles any base from 2 to 36.
Can I convert very large numbers?
Yes. It uses exact big-integer math, so long numbers are converted without rounding.
Does it support negative numbers or fractions?
Negative whole numbers work with a minus sign. Fractions are not supported.
Do I need to type 0b, 0o or 0x?
No, but they are accepted. You can also turn on the prefix option to add them to results.
Is it free and private?
Yes. It is free with no signup, and everything runs in your browser.
More free tools from KickSolve
Related everyday tools.