Binary Converter

A binary converter translates a decimal (base-10) number into binary (base-2), octal (base-8), and hexadecimal (base-16) representations.

About this calculator

A binary converter translates a decimal (base-10) number into binary (base-2), octal (base-8), and hexadecimal (base-16) representations. Different number bases are the backbone of computer science and digital electronics.

Binary is the native language of computers (all data is stored as 0s and 1s). Hexadecimal is commonly used in programming, memory addresses, and color codes. Octal appears in Unix/Linux file permissions.

Common uses

  • Convert decimal numbers for computer science coursework
  • Understand binary representations of integers
  • Convert memory addresses between hexadecimal and decimal
  • Verify binary arithmetic results

Frequently asked questions

How do you convert decimal to binary?

Repeatedly divide the decimal number by 2 and record the remainders. The binary number is the remainders read from bottom to top. Example: 13 ÷ 2 = 6 R1; 6 ÷ 2 = 3 R0; 3 ÷ 2 = 1 R1; 1 ÷ 2 = 0 R1. Binary = 1101.