Radix Converter

Convert between binary, octal, decimal, hex and custom radix

Input Radix:
Bit Width:
Custom:

About Radix Converter

Radix converter for binary, octal, decimal, hex, and custom base (2-36). Real-time sync, supports large integers and floats. Essential for protocol debugging, bit ops, color codes.

How to Use

  1. Enter a value in any base
  2. Other bases update live
  3. Optional custom base (2-36)
  4. Copy target base result

Frequently Asked Questions

Why is hex used in programming?
Colors (#FF0000), memory addresses (0xFF), byte data (32 bits = 8 hex chars). Closer to binary than decimal, more compact than binary.
Why does binary start with 0b?
Language convention for binary literal. JS ES6+, Python 2.6+ support it. Avoids confusion with decimal.
How are negatives represented in binary?
Two-complement. Positive = same bits; negative = invert + 1. Benefit: same circuit for add/subtract.