๐Ÿ”ข

Number System Converter

Binary ยท Octal ยท Decimal ยท Hex ยท IEEE 754 ยท Bitwise Ops ยท Endianness ยท Two's Complement

Bit Width
Signed
Endian
Grouping
Decimal (Base 10)DEC
Range: -2147483648 to 2147483647
Binary (Base 2)BIN
32 bits
Octal (Base 8)OCT
3 octal digits
Hexadecimal (Base 16)HEX
000000FF (padded)
๐ŸŽจ Bit Visualizer โ€” 32-bit Signed ยท Big Endian
MSBโ†LSB
Byte 0
0
0
0
0
0
0
0
0
0x00 = 0
Byte 1
0
0
0
0
0
0
0
0
0x00 = 0
Byte 2
0
0
0
0
0
0
0
0
0x00 = 0
Byte 3
1
1
1
1
1
1
1
1
0xFF = 255
313029282726252423222120191817161514131211109876543210
๐Ÿ’ก Click any bit to toggle it
255
Decimal
255
Two's Complement
8
Set Bits (popcount)
24
Leading Zeros
0
Trailing Zeros
7
MSB Position
No
Power of 2?

๐Ÿ“‹ All Representations

Decimal
255
Binary (raw)
0b00000000000000000000000011111111
Binary (spaced)
0000 0000 0000 0000 0000 0000 1111 1111
Octal
0o377
Hexadecimal
0x000000FF
Hex (lower)
0x000000ff
Hex bytes (big)
0x00 0x00 0x00 0xFF
Hex bytes (little)
0xFF 0x00 0x00 0x00
C/C++ literal
0x000000FFU
Java literal
0x000000FF
Python literal
0x000000FF
Binary (Python)
0b00000000000000000000000011111111
Base64 byte
/w==
IP-like (32-bit)
00.00.00.FF

๐Ÿ”„ Endianness View โ€” 32-bit

Big Endian (Network Order)
Byte 0
0x00
00000000
Byte 1
0x00
00000000
Byte 2
0x00
00000000
Byte 3
0xFF
11111111
MSB first โ€” used by network protocols, Java, SPARC
Little Endian (x86 Order)
Byte 0
0xFF
11111111
Byte 1
0x00
00000000
Byte 2
0x00
00000000
Byte 3
0x00
00000000
LSB first โ€” used by Intel x86, x64, ARM (default)

๐Ÿ’ฌ ASCII / Unicode Preview

รฟ
U+00FF
U+00FF

๐Ÿ• Recent Conversions

255โ†’000000000000000000000000111111110x000000FF
๐Ÿ”ข Common Values
0000
1111
10101012A
15111117F
16100002010
25511111111377FF
256100000000400100
โšก Bitwise Quick Guide
AND1&1=11&0=00&0=0
OR0|1=10|0=01|1=1
XOR1^0=11^1=00^0=0
NOT~0=1~1=0
SHLx<<1 = xร—2
SHRx>>1 = xรท2
๐ŸŒŠ IEEE 754 Special
+00 00000000 000...000
-01 00000000 000...000
+โˆž0 11111111 000...000
-โˆž1 11111111 000...000
NaN? 11111111 non-zero
Subnormal? 00000000 non-zero

Binary to Decimal to Hex to Octal Converter โ€” All in One | CalcNation

Convert between Binary, Octal, Decimal, and Hexadecimal number systems instantly. Supports 8/16/32/64-bit integers, signed/unsigned, two's complement for negative numbers, big/little endian byte order, ASCII preview, popcount (Hamming weight), and IEEE 754 floating point analysis.

How Binary to Decimal Works

Binary (base 2) uses digits 0 and 1. Each bit position represents a power of 2. Example: 11111111โ‚‚ = 128+64+32+16+8+4+2+1 = 255โ‚โ‚€ = FFโ‚โ‚† = 377โ‚ˆ

What is Two's Complement?

Two's complement is how computers represent negative numbers in binary. To negate: flip all bits and add 1. Example: +5 = 00000101, โˆ’5 = 11111011 in 8-bit signed representation.

You Might Also Like

Related Tools

View All Converters โ†’
4.7
โ˜…โ˜…โ˜…โ˜…โ˜…
1.2k ratings
5โ˜…
72%
4โ˜…
18%
3โ˜…
6%
2โ˜…
2%
1โ˜…
2%
Rate this tool
Your feedback helps us improve
TerribleExcellent
Weekly Finance Digest

Stay Ahead of
Every Calculation

Get weekly tips on PPF, SIP, GST changes, income tax updates & tool launch alerts. 12,000+ Indians already subscribed.

๐Ÿ“ŠWeekly tax & finance updates from India
๐Ÿ› ๏ธEarly access to new calculator tools
๐Ÿ’กSmart money tips tailored for Indians
๐Ÿ””GST, ITR deadline reminders
๐Ÿ’ฐ Finance ๐Ÿฅ Health ๐Ÿ“ Math ๐ŸŒพ Agriculture ๐Ÿ’ป Dev Tools
๐Ÿ˜Š๐Ÿง‘๐Ÿ‘ฉ๐Ÿง”๐Ÿ‘จ
โœ‰๏ธ

No spam, ever. Unsubscribe with one click. By subscribing you agree to receive weekly emails from CalcNation.