How to Use the Decimal to Binary Converter: Steps and a Worked Example

By 1 min read

Convert decimal numbers to binary, with the hex and octal equivalents. This guide shows what to enter, a worked example, and the limits to keep in mind. The Decimal to Binary Converter tool is free, needs no account and runs in your browser.

What you need

  • Decimal number, for example 45

Step by step

  1. Open the Decimal to Binary Converter tool.
  2. Fill in Decimal number.
  3. Read the result, which updates as soon as the inputs change.

Worked example

With these inputs:

  • Decimal number: 45

the tool returns:

Binary: 10 1101
Hex: 2D
Octal: 55

How it works

Divide repeatedly by 2 and read the remainders upward. Type a whole number in decimal. You get the binary value in groups of four bits, plus hex and octal.

Things to keep in mind

Runs entirely in your browser. Nothing you enter is uploaded.

If this is not quite what you need, try Binary to Decimal Converter, Decimal to Hex Converter or Hex to Binary Converter.

More from the blog