Back to All Tools
Number System Converter
Convert between binary, decimal, octal, and hexadecimal numbers
Input Numbers
Binary (Base 2)
Max 32 bits
Decimal (Base 10)
Range: 0 to 4,294,967,295
Octal (Base 8)
Digits: 0-7
Hexadecimal (Base 16)
Digits: 0-9, A-F
Reset All
Swap Endianness
Conversion Results
Binary Result
00000000000000000000000000000000
32-bit representation
Copy
Decimal Result
0
Unsigned integer
Copy
Octal Result
0
Base 8 representation
Copy
Hexadecimal Result
0
Base 16 representation
Copy
Additional Information
Bit Count:
0 bits
Byte Size:
0 bytes
Endianness:
Big Endian
Signed/Unsigned:
Unsigned
Quick Examples
1010
Binary to Decimal (10)
255
Decimal to Binary (11111111)
FF
Hex to Decimal (255)
77
Octal to Decimal (63)
Number System Basics
Binary (Base 2)
• Uses only two digits: 0 and 1
• Each digit is called a "bit"
• Fundamental to computer systems
• 8 bits = 1 byte
Decimal (Base 10)
• Uses digits 0-9
• Most common number system
• Used in everyday mathematics
• Positional notation system
Octal (Base 8)
• Uses digits 0-7
• Each digit represents 3 bits
• Used in some computing systems
• Less common than hex
Hexadecimal (Base 16)
• Uses digits 0-9 and A-F
• Each digit represents 4 bits
• Widely used in programming
• Compact representation of binary
Common Conversions
Decimal
Binary
Octal
Hex
0
0
0
0
1
1
1
1
2
10
2
2
8
1000
10
8
10
1010
12
A
16
10000
20
10
255
11111111
377
FF