Binary To Hexadecimal
Reverse Conversion
How This Converter Works
Converts an unsigned binary integer to uppercase hexadecimal and shows binary and hexadecimal digit counts.
Formula or rule
Remove whitespace and underscores, validate binary digits, parse in base 2, and format in base 16 with uppercase letters.
Example
- Input
- 11010110
- Calculation
- 11010110₂ = 214₁₀ = 13×16 + 6.
- Result
- D6