Number System Converter

Convert between decimal, binary, hexadecimal, octal, and more number systems

Decimal

255

Binary

11111111

Octal

377

Hexadecimal

ff

About

Convert numbers between different number systems including Decimal, Binary, Octal, and Hexadecimal.

Frequently Asked Questions

How do I convert decimal to binary?

Repeatedly divide the decimal number by 2 and record the remainders in reverse order. For example, decimal 10 converts to binary 1010.

What is hexadecimal and why is it used?

Hexadecimal (base-16) uses digits 0-9 and letters A-F. It is widely used in computing because each hex digit represents exactly 4 binary digits, making it a compact way to express binary values.

How do I convert binary to decimal?

Multiply each binary digit by 2 raised to its position power (starting from 0 on the right) and sum the results. For example, binary 1010 = 8+0+2+0 = decimal 10.

What is the octal number system?

Octal (base-8) uses digits 0-7. It was historically used in computing as a shorthand for binary, since each octal digit represents exactly 3 binary digits.

Related Calculators

More in Digital Β· Conversion calculators Β· All calculators A–Z