Calcubes

Binary / Decimal / Hex Converter

Convert numbers between binary, decimal, and hexadecimal. Enter a value in the selected base and get the equivalent in another base. Useful for programming, networking, and digital systems.

Binary decimal hex converter

Result

What is this?

A base converter converts numbers between binary (base 2), decimal (base 10), and hexadecimal (base 16). Binary uses 0 and 1; hex uses 0-9 and A-F. Essential for programming and networking. Computers store everything in binary; hex is a compact way to represent binary (each hex digit = 4 bits). Decimal is what humans use. The calculator updates instantly as you type, so you can explore conversions in real time. Handles positive integers; negative numbers would require two's complement representation.

When to use

Use for programming (binary/hex for bitwise ops), networking (IP addresses, subnet masks), colors (#FF0000), or debugging. Example: 255 decimal = 11111111 binary = FF hex. Programmers debug bitwise operations. Web developers work with hex colors. Network engineers convert subnet masks. Students learn number systems. Low-level debugging often requires switching between bases. Essential for anyone in tech.

How to use

Enter a number in the "From" base. Binary uses 0 and 1. Hex uses 0-9 and A-F. Decimal uses 0-9. Result updates instantly.

Frequently asked questions

How do I convert binary to decimal?
Binary is base 2. Each digit represents a power of 2. For example, 1011 in binary = 1×8 + 0×4 + 1×2 + 1×1 = 11 in decimal.
What is hexadecimal used for?
Hexadecimal (base 16) is commonly used in programming for colors (e.g. #FF0000), memory addresses, and data representation. It is compact and easy to convert to binary.

Related tools

View all converters & units