Binary To Hexadecimal
How This Converter Works
Converts an unsigned binary integer to uppercase hexadecimal, ignores whitespace and underscores, and shows both 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