In mathematics and computing, hexadecimal (also base 16, or hex) is a positional numeral system with a radix, or base, of 16. It uses sixteen distinct symbols, most often the symbols 0–9 to represent values zero to nine, and A, B, C, D, E, F (or alternatively a, b, c, d, e, f) to represent values ten to fifteen.
hexadecimal (base 16) | 116 | 216 | 316 | 416 | 516 | 616 | 716 | 816 | 916 | a16 |
binary (base 2) | 12 | 102 | 112 | 1002 | 1012 | 1102 | 1112 | 10002 | 10012 | 10102 |
In mathematics and digital electronics, a binary number is a number expressed in the binary numeral system or base-2 numeral system which represents numeric values using two different symbols: typically 0 (zero) and 1 (one). The base-2 system is a positional notation with a radix of 2. Because of its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used internally by almost all modern computers and computer-based devices. Each digit is referred to as a bit.
binary (base 2) | 12 | 102 | 112 | 1002 | 1012 | 1102 | 1112 | 10002 | 10012 | 10102 |
hexadecimal (base 16) | 116 | 216 | 316 | 416 | 516 | 616 | 716 | 816 | 916 | a16 |
hexadecimal (base 16) | 116 | 216 | 316 | 416 | 516 | 616 | 716 | 816 | 916 | a16 |
---|---|---|---|---|---|---|---|---|---|---|
binary (base 2) | 12 | 102 | 112 | 1002 | 1012 | 1102 | 1112 | 1 0002 | 1 0012 | 1 0102 |