Number Base Converter

Convert between Binary, Octal, Decimal, and Hexadecimal

Binarybase 2
0b
Octalbase 8
0o
Decimalbase 10
Hexadecimalbase 16
0x

Quick Reference

Binary (base 2) — digits: 0, 1Octal (base 8) — digits: 0–7Decimal (base 10) — digits: 0–9Hexadecimal (base 16) — 0–9, A–F

Common Values

DecBinOctHex
0000
1111
21022
711177
81000108
10101012A
15111117F
16100002010
321000004020
64100000010040
12711111111777F
1281000000020080
25511111111377FF
256100000000400100
51210000000001000200
1024100000000002000400

Click a row to load that value.

Share this tool
Coffee