Computer Science

IPv4 Address Size

Remember the structure of an IPv4 address.

IPv4 Address Size = 32 bits = 4 octets

Formula Explanation

An IPv4 address consists of four 8-bit octets.

Variables Explained

1 octet = 8 bits; Four octets = 32 bits.

Solved Example

How many bits are in an IPv4 address?
4 × 8 = 32 bits.

Exam Tip

IPv6 addresses use 128 bits, not 32.