basic

Binary to Decimal and Hexadecimal Conversion Calculator

Convert unsigned integers between base 2, 10, and 16.

Converts a decimal integer to binary (base 2) and hexadecimal (base 16) by successive division, and shows the number of bits required.

Published Last reviewed 1 min read

Inputs

Results

Enter values and click Calculate to see results.
Was this helpful?

How to use this calculator

  1. Fill in the inputs above using the units you already have.
  2. Values update automatically as you type — no submit button needed.
  3. Hover any result row for the underlying formula and intermediate values.

Formula

Decimal → Binary by repeated division by 2.

In depth

Converts a decimal integer to binary (base 2) and hexadecimal (base 16) by successive division, and shows the number of bits required.