๐ Read the complete Binary Converter guide โ
๐ All calculations happen in your browser. No data is sent to any server. No sign-up required.
Formula
DecimalโBinary: repeated division by 2 | BinaryโDecimal: sum of 2^pos ร digit
Example
42 decimal โ 101010 binary โ 0x2A hex
Frequently Asked Questions
What is binary used for?
All computer data is stored in binary โ 1s and 0s representing on/off states.
What is hexadecimal?
Base-16 number system using 0-9 and A-F. Used in colour codes and memory addresses.
What is the largest 8-bit binary number?
11111111 = 255 decimal = 0xFF hex.