Number System Converters
Number system converters for binary, octal, decimal and hexadecimal. A number system, or base, writes numbers with a fixed set of digits: everyday counting uses base 10, computers store everything in base 2, and programmers shorten long binary strings with base 8 (octal) or base 16 (hexadecimal), where A to F stand for 10 to 15.
The same two methods cover every conversion. To go from another base to decimal, multiply each digit by its place value, a power of the base, and add the results. To go from decimal to another base, divide by the base again and again and read the remainders from last to first.
Binary, octal and hexadecimal convert to each other by grouping bits: three binary digits make one octal digit, and four make one hexadecimal digit.
For one tool that does everything, use the base converter, which works between any two bases from 2 to 36. The single-purpose pages are quicker when you know what you need: binary to decimal, decimal to binary (including fractions), hex to decimal and decimal to hex.
The grouping converters are binary to hex, hex to binary and binary to octal. The hex converter handles ten conversion pairs between hexadecimal, decimal, binary and octal and shows its steps.
All number system converters
- Base ConverterConvert a number between any two bases, with the steps.
- Binary to Decimal ConverterBinary to decimal, with the place values explained.
- Binary to Hex ConverterBinary to hexadecimal and back.
- Binary to Octal ConverterBinary to octal and back, with the grouping steps.
- Decimal to Binary ConverterDecimal to binary with the division steps, including fractions.
- Decimal to Hexadecimal ConverterDecimal to hexadecimal (base 10 to base 16).
- Hex ConverterHexadecimal to and from decimal, binary and octal.
- Hex to Binary ConverterHexadecimal to binary and back.
- Hex to Decimal ConverterHexadecimal to decimal (base 16 to base 10).
Sources
- Wikipedia: Positional notation — place values as powers of the base (checked October 16, 2026)