Binary Calculator

Convert between binary, octal, decimal and hexadecimal.

Your details

Decimal
45
Binary
101101
Octal
55
Hexadecimal
2D

How it works

Each digit is multiplied by the base raised to its position, counting from zero on the right, and the results are added.

Frequently asked questions

Why does hexadecimal use letters?

Base 16 needs sixteen digits, so A–F stand for 10–15.