Number-base Converter
Convert exact integers between binary, octal, decimal and hexadecimal.
Use the interactive calculator on this page. The original guide explains the method, inputs and assumptions.
Read the Number-base Converter guide
Calculation modes and conversions
- Convert integer
- Binary (2) to Octal (8)
- Binary (2) to Decimal (10)
- Binary (2) to Hexadecimal (16)
- Octal (8) to Binary (2)
- Octal (8) to Decimal (10)
- Octal (8) to Hexadecimal (16)
- Decimal (10) to Binary (2)
- Decimal (10) to Octal (8)
- Decimal (10) to Hexadecimal (16)
- Hexadecimal (16) to Binary (2)
- Hexadecimal (16) to Octal (8)
- Hexadecimal (16) to Decimal (10)
- Binary arithmetic
- Binary arithmetic — Add
- Binary arithmetic — Subtract
- Binary arithmetic — Multiply
- Binary arithmetic — Integer divide
- Binary arithmetic — Remainder
- Hex arithmetic
- Hex arithmetic — Add
- Hex arithmetic — Subtract
- Hex arithmetic — Multiply
- Hex arithmetic — Integer divide
- Hex arithmetic — Remainder
