LOGBOOK

HELP

Quiz Entry - updated: 2026.07.05

How do you convert a hexadecimal number to decimal using the module's binary method?

Expand each hex digit to its 4-bit binary, join into one 8-bit string, then add the set position values. Example: D2 → 1101 0010 → 11010010 → 210.

This is the reverse trip — useful when a config or capture shows you hex (a MAC byte, an IPv6 hextet) and you want the human decimal value. The method reuses the binary↔decimal skill you already have: turn each hex digit into its nibble, concatenate, then sum the "on" position values. Remember the letters expand to A=10 (1010) through F=15 (1111).

Hexadecimal to Decimal (module's 3-step method via binary):

  1. Convert each hex digit to a 4-bit binary string
  2. Join them into one binary grouping (8 bits for two hex digits)
  3. Convert that binary to decimal using position values

Example: Convert D2 to decimal

  • D = 1101, 2 = 0010
  • Joined: 11010010
  • 128 + 64 + 16 + 2 = 210

Result: D2 = 210

Remember: A=10, B=11, C=12, D=13, E=14, F=15

Go deeper:

From Quiz: NETW1 / Number Systems | Updated: Jul 05, 2026