Binary / Decimal / Octal / Hex Converter
Unit ConversionConvert between binary, decimal, octal, and hexadecimal number systems. Type a value into any field and every other base updates instantly.
Number Systems
Found this calculator useful?
From Scratch To $10K/Month In 60 Days
This is a proven money making system that takes students by the hand to make at least $10,000 per month, every month. Students get 12 weeks of guided coaching in addition to the "MPS Super Funnel" and tools.
We value your privacy and promise not to sell or misuse your information. Here's our privacy policy.
Calculator Stats
Creators
Odeh Ahwal0people find this calculator helpful
Views
Helpful
Saved
Embeds
Calculator Stats
Creators
Odeh Ahwal0people find this calculator helpful
Views
Helpful
Saved
Embeds
Unit Conversion calculators
Frequently Asked Questions
How do I convert decimal to binary?
Repeatedly divide the decimal number by 2 and record each remainder. Reading the remainders from last to first gives the binary value. For example, 10 divided by 2 gives 5 remainder 0, 5 divided by 2 gives 2 remainder 1, 2 divided by 2 gives 1 remainder 0, and 1 divided by 2 gives 0 remainder 1 — reading bottom to top gives 1010.
What digits does hexadecimal use?
Hexadecimal (base 16) uses sixteen digits: 0 through 9 for the first ten values, then A, B, C, D, E, and F for 10 through 15. For example, decimal 10 is written as A in hexadecimal.
Why do computers use binary?
Binary uses only two digits, 0 and 1, which map directly onto the two stable electrical states (off and on) that digital circuits and memory can reliably store and switch between — using more than two states would make hardware far less reliable.
What is 255 in hexadecimal?
Decimal 255 equals FF in hexadecimal, which is also the highest value a single byte (8 bits) can hold — this is why byte values and color channels are so often written in hex.
How do I convert octal to decimal?
Multiply each octal digit by 8 raised to its position (counting from 0 on the right) and add the results. For example, octal 12 is (1 × 8¹) + (2 × 8⁰) = 8 + 2 = decimal 10.