Course contentsShow
← Computer Science
Lesson 1461 of 2,87234. Internet Protocol SuiteFree lesson

IPv4 Address Structure and Notation

Understanding the 32-bit IPv4 address format, dotted-decimal notation, and binary representation of IP addresses.

IPv4 Address Structure and Notation

What you'll learn: How IPv4 addresses are constructed as 32-bit numbers and displayed in human-readable dotted-decimal format.

The 32-Bit Foundation

An IPv4 address is fundamentally a 32-bit binary number that uniquely identifies a device on a network. Think of it as a precise numerical "home address" for computers communicating over the Internet.

These 32 bits are typically divided into four groups of 8 bits each (called octets or bytes). In pure binary, an address might look like:

11000000.10101000.00000001.00000001

Dotted-Decimal Notation

Because long strings of binary digits are hard for humans to read and remember, we convert each 8-bit octet into its decimal equivalent (0–255) and separate them with dots. This is called dotted-decimal notation.

The binary address above converts to:

192.168.1.1

Each octet can represent values from 0 (00000000 in binary) to 255 (11111111 in binary), giving us addresses ranging from 0.0.0.0 to 255.255.255.255.

Why This Matters

Understanding both representations is crucial:

  • Binary is how routers and network devices actually process addresses
  • Dotted-decimal is how humans configure and read them

When you see 192.168.1.1, you're looking at a convenient shorthand for a 32-bit binary number. Network operations like subnetting and routing calculations often require converting back to binary to understand which bits represent the network portion versus the host portion of an address.

Key Takeaway: IPv4 addresses are 32-bit binary numbers written in dotted-decimal notation as four decimal octets (0–255) separated by dots, providing a unique identifier for every device on an IP network.