Zahl konvertieren
Konvertierung
| DEC | β |
|---|---|
| HEX | β |
| BIN | β |
| OCT | β |
π Bits verstanden? Dann IOPS berechnen.
Bin, Oct, Dec, Hex β live umrechnen, wΓ€hrend Sie tippen.
| DEC | β |
|---|---|
| HEX | β |
| BIN | β |
| OCT | β |
π Bits verstanden? Dann IOPS berechnen.
Hexadecimal is the language of hardware. Binary is the foundation of every digital system.
Live conversion between Bin, Oct, Dec, and Hex.
Hexadecimal numbers (base 16) are the bridge between human and machine. Two hex digits = one byte β hence the standard for memory addresses, color codes, MAC addresses, and binary dumps. 0x7F is more readable than 01111111, but just as precise.
Every computer works with binary numbers (base 2). Subnet masks, bitmasks, GPIO pins: everything at the bit level. Our converter displays binary values with 4-bit grouping β 11111111 becomes 1111 1111.
Octal numbers (base 8) are Unix DNA: file permissions (chmod 755), character escapes (\033). Three bits per octal digit β the most compact human-readable format for short binary values.
Select the source format, type a number β all three other formats appear instantly. Ideal for debugging, embedded development, and CCNA exams.
Three everyday IT situations: You want to convert a MAC address like 00:1A:2B:3C:4D:5E to binary to explain an access list problem. You stumble over a color like 0xFF8800 and want to know which RGB values hide behind it. Or you want to finally explain to a colleague why chmod 755 grants exactly those permissions. This converter is here for all of that β and it calculates live.
Choose the source format β for example Decimal (DEC) for a number you just read from a log.
Type the number. The converter also understands the 0x prefix for hexadecimal values.
All other formats appear instantly β no convert button needed. Example: 255 becomes 0xFF and 11111111.
The color 0xFF8800 splits into three bytes: FF = 255 (red), 88 = 136 (green), 00 = 0 (blue) β a strong orange. Since each digit pair is exactly one byte, a 6-digit hex color always consists of three RGB components. Type it into the converter β it breaks it down into decimal and binary live.
One hex digit covers 16 values (0β9, AβF), two digits therefore 16 Γ 16 = 256 values β exactly one byte. That's why FF = 255 maps perfectly onto the maximum value of a byte. This 1:1 relationship makes hex the shorthand for binary: a MAC address like 00:1A:2B is the compact form of 48 bits, and IPv6 addresses are 128 bits in hex groups.
Octal (base 8) looks exotic today but is deeply rooted in Unix: chmod 755 splits into three digits of 3 bits each: read (4), write (2), execute (1) adds up to 7. Character escapes like \033 for ESC in shell scripts are octal too β three bits per digit make octal the most compact human-readable representation for 6- or 9-bit values.
Because two hex digits are exactly one byte. You write 255 instead of 11111111 β fewer digits, fewer reading errors, and each digit pair corresponds directly to a byte in memory.
0xFF is hexadecimal for 255 β the maximum value of a byte, with all 8 bits set. In CSS that's the color white, in subnet masks the familiar 255.
Fastest with this converter: set the format to decimal, type the number, read the binary value. To understand it: repeatedly divide the number by 2 and note the remainders from bottom to top.
Both map the same number space, just with different digits: binary only knows 0 and 1, hex uses 0β9 plus AβF. The value is identical β the notation is just shorter: 11111111 = FF.
More on number systems in our blog: Zahlenwelten des Admins. IP ranges? The subnet calculator handles them β a feel for binary helps there too.