Numbers converter
Convert signed integers between binary, octal, decimal, and hexadecimal.
All numbers conversions
Choose your starting unit. Each direction has its own calculator, formula, and examples.
Convert Binary
Convert Octal
Convert Decimal
Convert Hexadecimal
Using numbers measurements
Arbitrary-precision integers preserve all digits within the 4096-character input limit. Fractions, exponent notation, prefixes such as 0x, and two’s-complement bit patterns are not accepted. Negative integers keep a minus sign. For a different quantity or formatting task, see the related other conversion tools.