Learn how to convert a MAC address from decimal or hexadecimal form to binary and hexadecimal formats, and how to identify the vendor using the Organizationally Unique Identifier (OUI).
A MAC address can sometimes be represented in decimal format (e.g., each byte as a decimal number). Convert each decimal byte to its 8-bit binary and 2-digit hexadecimal equivalent.
Example: Convert the decimal MAC address 64:141:92:101:67:33
(equivalent to GIGA-BYTE TECHNOLOGY's 40:8D:5C:65:43:21
) to binary and hexadecimal.
Solution:
01000000
(binary) = 40
(hex)10001101
(binary) = 8D
(hex)01011100
(binary) = 5C
(hex)01100101
(binary) = 65
(hex)01000011
(binary) = 43
(hex)00100001
(binary) = 21
(hex)Result: 64:141:92:101:67:33
= 01000000:10001101:01011100:01100101:01000011:00100001
(binary) = 40:8D:5C:65:43:21
(hex)
Convert each hexadecimal byte of the MAC address to its 8-bit binary equivalent.
Example: Convert 00:1A:A0:12:34:56
(Dell) to binary.
Solution:
00000000
00011010
10100000
00010010
00110100
01010110
Result: 00:1A:A0:12:34:56
= 00000000:00011010:10100000:00010010:00110100:01010110
MAC addresses are typically provided in hexadecimal format, but they can be confirmed from decimal or other formats.
Example: Confirm the hexadecimal format of 0:26:160:18:52:86
(equivalent to Dell’s 00:1A:A0:12:34:56
in decimal).
Solution:
00
(hex)1A
(hex)A0
(hex)12
(hex)34
(hex)56
(hex)Result: 0:26:160:18:52:86
(decimal) = 00:1A:A0:12:34:56
(hex)
The first three bytes (six hexadecimal digits) of a MAC address represent the Organizationally Unique Identifier (OUI), which identifies the device manufacturer. You can look up OUIs using tools like the IEEE OUI database or websites such as Wireshark OUI Lookup.
Example 1: For 00:1A:A0:12:34:56
, the OUI is 00:1A:A0
.
Lookup: OUI 00:1A:A0
belongs to Dell Inc.
Example 2: For 40:8D:5C:65:43:21
, the OUI is 40:8D:5C
.
Lookup: OUI 40:8D:5C
belongs to GIGA-BYTE TECHNOLOGY CO.,LTD.
Result:
00:1A:A0:12:34:56
— Vendor: Dell Inc.40:8D:5C:65:43:21
— Vendor: GIGA-BYTE TECHNOLOGY CO.,LTD.Note: Use reliable OUI lookup tools like the IEEE database (ieee.org) or Wireshark to verify vendors.