Ekuation

Math

Number Base Converter

The Number Base Converter translates any number between all positional numeral systems -- binary (base 2), octal (base 8), decimal (base 10), hexadecimal (base 16), and any arbitrary base from 2 to 36. Type a value into any base field and all others update instantly. Supports fractional numbers, negative sign-magnitude representation, and large integers via BigInt. Includes a positional notation breakdown, nibble-grouped bit view, step-by-step division/multiplication algorithm, and an optional hex color preview. Built for programmers, CS students, network engineers, and embedded systems developers.

Select which base you are entering the value in

Enter a decimal number (digits 0-9).

A second custom base to include in the output for side-by-side comparison.

Maximum fractional digits for non-terminating expansions.

Number Base Conversion Tips

Click to show tips

Try an Example

Pick a scenario to see how the calculator works, then adjust the values

ASCII Letter A

Convert the ASCII code for uppercase A (65) across all bases.

Key values: Decimal 65 · Binary 1000001 · Hex 41

Byte Maximum

The largest value a single byte can hold (255).

Key values: Decimal 255 · Binary 11111111 · Hex FF

Hex Color Code

Convert a common hex color code (deep sky blue) to other bases.

Key values: Hex 00BFFF · Decimal 49151 · Binary nibbles

Convert a Number

Enter a number in any base to see it converted to binary, octal, decimal, hexadecimal, and any custom base 2-36.

Documentation

Specialized Calculators

Choose from 6 specialized versions of this calculator, each optimized for specific use cases and calculation methods.

Related Calculators

6 Calculators

More Math calculators

Calculator Search

Search and find calculators