⌘ Number & Reference · Tool

Number Base Converter

Convert integers between binary, octal, decimal, hexadecimal and bases 2 through 36.

Enter your figures

Enter the values below to calculate your result.

Calculation Results

Based on the figures you entered.

Converted value
FF
Input
255 (base 10)
Output base
16
Range
Integer conversion for bases 2–36. Letters A–Z represent digit values 10–35.

How to use this calculator

What to enter

Enter or select the following as requested: Number; From base; To base. Follow the units, valid ranges, examples, and options displayed beside each field.

What the result means

The result follows the number property, divisibility rule, numeral system, or arithmetic operation named by the calculator. Check whether the input must be an integer, the selected base, sign conventions, and whether the output uses decimal, binary, hexadecimal, or another representation.

When to use it

Use this to check a number-theory problem or convert numeric representations. Verify input constraints and preserve the correct base when copying the result into another tool or calculation.