Conversion
Binary Converter
Convert between binary, decimal, and hexadecimal. Free online Binary Converter with instant results, step-by-step guide, and FAQs.
How to Use This Calculator
Select Number System
Choose your input format: binary (base-2), decimal (base-10), or hexadecimal (base-16).
Enter Number
Input your number in the selected format. For binary, use only 0s and 1s. For hex, use 0-9 and A-F.
View All Formats
The calculator displays your number converted to all three number systems simultaneously for easy comparison.
Frequently Asked Questions
What is binary and why is it used in computers?
Binary is a base-2 number system using only 0 and 1, representing off/on electrical states in computer circuits. Each digit is a 'bit.' Computers use binary because digital electronics can reliably distinguish between two states (high/low voltage), making binary the foundation of all digital computing and data storage.
How do I convert decimal to binary?
To convert decimal to binary, repeatedly divide the number by 2 and record the remainders. Read the remainders from bottom to top to get the binary number. For example, 13 in decimal: 13÷2=6 r1, 6÷2=3 r0, 3÷2=1 r1, 1÷2=0 r1, giving binary 1101.
How do I convert binary to decimal?
Each binary digit represents a power of 2, starting from 2⁰ on the right. Multiply each bit by its position value and sum them. For example, binary 1101 = (1×2³) + (1×2²) + (0×2¹) + (1×2⁰) = 8 + 4 + 0 + 1 = 13 in decimal.
What's the relationship between binary and hexadecimal?
Hexadecimal (base-16) is a compact way to represent binary. Each hexadecimal digit represents exactly 4 binary bits. For example, hex F = binary 1111, hex A = binary 1010. This makes hex convenient for representing long binary numbers in programming, using digits 0-9 and letters A-F.
What is a bit vs. a byte?
A bit (binary digit) is the smallest unit of data, with a value of 0 or 1. A byte is 8 bits grouped together, capable of representing 256 different values (0-255 in decimal, 00-FF in hex). Bytes are the standard unit for measuring data storage and memory.
Related Calculators
- Unit Converter — Convert between various units of measurement.
- Temperature Converter — Convert between Celsius, Fahrenheit, and Kelvin.
- Currency Converter — Convert between world currencies with live rates.
- Roman Numeral — Convert between numbers and Roman numerals.
- Hex Converter — Convert hexadecimal to decimal and binary.
- Cooking Unit Converter — Convert cooking measurements and volumes.