Number Base Converter

Convert numbers between binary, octal, decimal, hexadecimal and any base from 2 to 36.

Converter

Was this tool useful?

About this tool

About Number Base Converter

Convert large whole numbers exactly between number systems used in computing and maths.

How it works

Each digit is multiplied by the base raised to its position: 1011₂ = 1×8 + 0×4 + 1×2 + 1×1 = 11.

Example

255 in decimal = 11111111 in binary = FF in hex.

How to use this tool

  1. Enter a number.
  2. Choose its base.
  3. See it in binary, octal, decimal, hex and your custom base.

Frequently asked questions

Can it convert very large numbers?

Yes. It uses BigInt, so whole numbers of any size are exact.

Does it support fractions?

No, only whole numbers.

Can I use the Number Base Converter for homework?

Yes. The Number Base Converter shows the answer and, where possible, the method, so you can check your own working. Teachers usually want to see the steps, so use it to learn the method rather than only copying the answer.