Tools

Number Base Converter

Convert between binary, decimal, hex, octal, and arbitrary bases

Convert

Enter a value and select source & target bases

Result (Base 16)

0x00FF

All Bases

Binary(2)

0b1111 1111

Octal(8)

0o377

Decimal(10)

255

Hexadecimal(16)

0x00FF

Base-32(32)

7V

Base-36(36)

73

Base-64(64)

3/

Decimal255
Hex0xFF
Binary0b1111 1111
Octal0o377
Characterÿ
Bit length8
ASCII / Unicode
ÿ
Unicode U+00FF
Bit Analysis

Bit Length

8

Set Bits (1s)

8

Clear Bits (0s)

0

MSB Position

8

Power of 2?

No

Parity

Odd

Next 2ⁿ

256

Prev 2ⁿ

128

Number Base Converter

Supports bases 2–64, IEEE 754, bitwise ops, two's complement, BCD, Gray code. All conversions happen locally.

Signed Representations
8-bit

1111 1111

16-bit

0000 0000 1111 1111

32-bit

0000 0000 0000 0000 0000 0000 1111 1111

8-bit

1111 1111

16-bit

0000 0000 1111 1111

32-bit

0000 0000 0000 0000 0000 0000 1111 1111

8-bit

00111 1111

16-bit

00000 0000 1111 1111

32-bit

00000 0000 0000 0000 0000 0000 1111 1111

BCD

0010 0101 0101

Excess-3

0101 1000 1000

Gray Code

10000000

Bytes (BE / LE)

FF

FF (LE)

Bitwise Operations
A0000 0000 0000 0000 0000 0000 1111 1111
B0000 0000 0000 0000 0000 0000 0000 1111
=0000 0000 0000 0000 0000 0000 0000 1111
Dec: 15Hex: 0xF
IEEE 754 Floating Point
0Sign
10000000
Exponent (8 bits)
10010001111010111000011
Mantissa (23 bits)

Hex

0x4048F5C3

Binary

0100000001001000…

Sign

Positive (+)

Special?

Normal

Conversion Table
DecHexOctBinaryChar
00000000000·
11100000001·
22200000010·
33300000011·
44400000100·
55500000101·
66600000110·
77700000111·
881000001000·
991100001001·
10A1200001010·
11B1300001011·
12C1400001100·
13D1500001101·
14E1600001110·
15F1700001111·

More tools like Number Base Converter

View all