Hexadecimal in AP Networking
In AP Networking, hexadecimal is the base-16 number system used to write IPv6 addresses. Each 128-bit IPv6 address is split into 8 hextets (16 bits each), and each hextet is shown as four hexadecimal digits separated by colons.
This definition is part of Fiveable's AP Networking review, which also has guided practice questions.
What is hexadecimal?
Hexadecimal is a counting system with 16 symbols instead of 10. You count 0 through 9, then keep going with A, B, C, D, E, and F before rolling over. So in hex, A means 10, and F means 15.
Why does AP Networking care? Because IPv6 addresses are 128 bits long, and nobody wants to read 128 ones and zeros. Hexadecimal compresses that mess. Every 4 bits maps cleanly to one hex digit, so the 128 bits get grouped into 8 hextets (16 bits each), and each hextet is written as four hex digits. You separate the hextets with colons. That's why an IPv6 address looks like a string of letters and numbers with colons, not the dotted decimal you see in IPv4. Hex is just the readable packaging for all those bits.
Why hexadecimal matters in AP Networking
Hexadecimal shows up in Unit 4 (Managing Our Global Connections), specifically in Topic 4.6 and learning objective AP Networking 4.6.A, which asks you to explain how IPv6 addressing serves today's networks. You can't explain IPv6 without hex, because hex is literally how the address is displayed. The essential knowledge spells it out: each address is 128 bits, divided into 8 hextets of 16 bits, shown in hexadecimal digits with a colon between each one. If you understand why hex is used, the whole 'IPv6 looks weird' problem disappears. It's base-16 doing the heavy lifting so humans can read a number with 2^128 possible values.
Keep studying AP Networking Unit 4
Official unit cheatsheet
open one-pagerHow hexadecimal connects across the course
Hextet (Unit 4)
A hextet is one 16-bit chunk of an IPv6 address, and hexadecimal is how that chunk gets written. Each hextet becomes four hex digits, so hex and hextet are two halves of the same packaging job.
IPv6 Address (Unit 4)
The whole reason hex exists in this course is to display IPv6 addresses. 128 raw bits are unreadable, so hex squeezes every 4 bits into one digit and you end up with eight colon-separated hextets.
Double Colon (::) (Unit 4)
Once you've written an address in hex, the double colon lets you shorten it by collapsing long runs of zero hextets. Hex gives you the digits; the double colon trims the boring parts.
IPv4 Address Exhaustion (Unit 4)
IPv4 ran out of addresses, so IPv6 was built with a massive 128-bit space. That bigger space is exactly why hex became necessary, since decimal would be clumsy for numbers this large.
Is hexadecimal on the AP Networking exam?
Expect hexadecimal to appear as part of IPv6 questions, not as a standalone topic. Multiple-choice stems may show you an IPv6 address and ask you to identify the format, count the hextets, or explain why the address uses hex and colons instead of IPv4's dotted decimal. No released FRQ uses the word 'hexadecimal' verbatim, but any free-response tied to AP Networking 4.6.A could ask you to explain how IPv6 addressing works, and naming hex as the notation for hextets is the kind of detail that earns points. Be ready to state the three linked facts: 128 bits, 8 hextets of 16 bits each, written in hexadecimal separated by colons.
Hexadecimal vs binary
An IPv6 address is actually stored as 128 binary bits. Hexadecimal is just the human-readable display of those bits, where each hex digit stands for 4 binary bits. So binary is what the machine uses, and hex is what you read on the screen.
Key things to remember about hexadecimal
Hexadecimal is base-16, counting 0-9 then A-F, where A equals 10 and F equals 15.
IPv6 addresses are 128 bits long, split into 8 hextets of 16 bits each, and each hextet is written in hexadecimal.
Hex exists in this course to make IPv6 addresses readable, since 128 raw bits would be impossible to work with.
Each hexadecimal digit represents exactly 4 binary bits, which is why four hex digits cover one 16-bit hextet.
Hextets are separated by colons, which is what gives IPv6 addresses their distinctive colon format.
Frequently asked questions about hexadecimal
What is hexadecimal in AP Networking?
Hexadecimal is the base-16 number system used to write IPv6 addresses. Each IPv6 address is 128 bits, grouped into 8 hextets of 16 bits, and each hextet is displayed as four hexadecimal digits separated by colons.
Why does IPv6 use hexadecimal instead of decimal like IPv4?
Because IPv6 addresses are 128 bits long, decimal would be long and awkward. Hexadecimal maps cleanly to binary (one hex digit per 4 bits), so it compresses those 128 bits into a much shorter, readable string.
Is hexadecimal the same as binary?
No. The address is stored in binary (128 ones and zeros), while hexadecimal is just the human-readable version. Each single hex digit stands in for 4 binary bits.
How is a hextet different from hexadecimal?
A hextet is a 16-bit section of an IPv6 address, while hexadecimal is the notation used to write it. An IPv6 address has 8 hextets, and each one is shown as four hexadecimal digits.
Do I need to convert hexadecimal by hand on the AP Networking exam?
The focus is on understanding how IPv6 addressing works under AP Networking 4.6.A, not heavy conversion drills. You should know that hex represents the bits, that A-F equal 10-15, and that each hex digit covers 4 bits.
Keep studying AP Networking
Connect this key term to the AP exam workflow: review the course, practice questions, and check related study tools.