Number Base Converter
Number Base
Convert numbers between binary, octal, decimal, and hexadecimal bases
Formula
Decimal = sum of (digit x base^position); then convert to target base by repeated division
Frequently Asked Questions
What are number bases?
A number base (or radix) defines how many unique digits are used. Decimal uses 10 digits (0 to 9), binary uses 2 (0 and 1), octal uses 8, and hexadecimal uses 16 (0 to F).
Why is hexadecimal used in computing?
Hexadecimal is a compact way to represent binary data. Each hex digit corresponds to exactly 4 binary digits, making it easier to read memory addresses and color codes.