Decimal to Binary, Octal & Hex Converter

This number base converter instantly converts a decimal (base-10) whole number into its binary, octal and hexadecimal equivalents — handy for digital electronics and computer science.

Decimal to Binary / Octal / Hex Converter

Formula

Conversion uses repeated division by the target base (2 for binary, 8 for octal, 16 for hexadecimal), with the remainders read in reverse forming the result.

How to Use This Calculator

  1. Enter a whole decimal number.
  2. Click Calculate to see its binary, octal and hexadecimal form.

Worked Example

Decimal 255 = 11111111 in binary, 377 in octal and FF in hexadecimal.

Frequently Asked Questions

How do you convert decimal to binary?

Repeatedly divide the number by 2, recording each remainder; the remainders read from bottom to top give the binary number.

What is 255 in hexadecimal?

Decimal 255 is FF in hexadecimal.

What is the hexadecimal number system?

Hexadecimal is base-16, using digits 0-9 and letters A-F; it is widely used in computing to represent byte values compactly.

🔢 See all Engineering Calculators →