Binary, Decimal and Hexadecimal Converter
Convert signed integers between base 2, base 10, and base 16 without rounding.
Input
Result
How it works
Each input digit contributes its value times a power of the selected base. Arbitrary-precision integer arithmetic preserves exact values. Negative output uses a minus sign.
Formula
Value = sign × Σ(digit × base^position).
Example
Signed integer (up to 256 digits): 255 Input base: Decimal
The decimal integer 255 equals binary 11111111 and hexadecimal FF.