Number Base Conversion Calculator

Type a number, its base and the base you want to see it in.

Digits 0–9 and letters A–Z; a leading minus sign is kept.

A whole number from 2 to 36.

A whole number from 2 to 36.

Try

Result

You enteredFF16→( )10\mathrm{FF}_{16} \to \left(\ \right)_{10}

FF16=25510\displaystyle \mathrm{FF}_{16} = \mathrm{255}_{10}

Binary

111111112\displaystyle \mathrm{11111111}_{2}

Octal

3778\displaystyle \mathrm{377}_{8}

Decimal

25510\displaystyle \mathrm{255}_{10}

Hex

FF16\displaystyle \mathrm{FF}_{16}
Show the work
  1. Positional notation

    Each digit is worth its value times a power of the base b=16b = 16, counting from 00 at the right. Adding the terms gives the number in decimal.

    Using N=dk bk+⋯+d1 b+d0N = d_{k}\,b^{k} + \cdots + d_{1}\,b + d_{0}

    FF16=15×161+15×160=240+15=255\begin{aligned} \mathrm{FF}_{16} &= 15 \times 16^{1} + 15 \times 16^{0} \\ &= 240 + 15 \\ &= 255 \end{aligned}
  2. Result

    So FF16\mathrm{FF}_{16} is 25510\mathrm{255}_{10} in base 10.

Worked examples