01 Number Base Converter

Convert numbers between Binary, Octal, Decimal, and Hexadecimal instantly

BIN (Base 2)

0b11111111

Binary

OCT (Base 8)

0o377

Octal

DEC (Base 10)

255

Decimal

HEX (Base 16)

0xFF

Hexadecimal

Binary Breakdown — Positional Values

1

2^7

=128

1

2^6

=64

1

2^5

=32

1

2^4

=16

1

2^3

=8

1

2^2

=4

1

2^1

=2

1

2^0

=1

128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255