IP Address Classes Explained: A, B, C, D, and E

The original IPv4 classification system that shaped modern networking — and why it was eventually replaced

What Are IP Address Classes?

Before modern CIDR (Classless Inter-Domain Routing) notation, the internet used a system called classful addressing to organize IPv4 addresses. Introduced in the early 1980s, this system divided the entire 32-bit IPv4 address space into five classes — A through E — each with a fixed allocation of network and host bits.

The class of an IP address was determined by its first few bits (or equivalently, the first octet value). This made routing simple: a router could determine how large the network portion of an address was just by looking at the first byte, without needing any additional information.

While classful addressing has been officially obsolete since 1993 (replaced by CIDR), understanding IP classes remains important because:

Class A: Massive Networks

Class A addresses are identified by a leading binary 0 bit, meaning the first octet value is between 1 and 126. The network portion is only the first octet; the remaining three octets identify hosts.

Class A space was originally assigned to very large organizations and governments. For example, General Electric owned 3.0.0.0/8, MIT owned 18.0.0.0/8, and the US Defense Information Systems Agency owned multiple Class A blocks. Today, many of these have been returned and reallocated more efficiently.

Note: 127.0.0.0/8 is reserved for loopback (explained in our loopback address guide) and is not a usable Class A range. The private 10.0.0.0/8 block is technically a Class A range reserved for private use.

Class B and Class C: Medium and Small Networks

Class B addresses begin with binary 10, putting the first octet between 128 and 191. The first two octets are the network portion; the last two identify hosts.

Class B was assigned to universities, mid-size companies, and regional ISPs. The private range 172.16.0.0 to 172.31.255.255 spans 16 Class B-sized blocks.

Class C addresses begin with binary 110, first octet between 192 and 223. Three octets are the network; only the last octet identifies hosts.

Class C is the most familiar — your home network is almost certainly in the Class C private range 192.168.0.0/16. Class C networks are the smallest classful allocation at 254 usable hosts, which proved wasteful as organizations needing 300 hosts had to be assigned two Class C blocks.

🛡️

Look Up Any IP Address

Instantly identify the class, location, and network details of any IP address.

Hide My IP Now

Class D (Multicast) and Class E (Reserved)

Class D addresses are reserved for IP multicast. Unlike unicast (one-to-one) or broadcast (one-to-all), multicast delivers data to a group of specific interested receivers simultaneously.

Multicast is used for video conferencing, streaming, and routing protocols. Common multicast addresses include 224.0.0.1 (all hosts on segment), 224.0.0.2 (all routers), and 239.0.0.0/8 (administratively scoped for private use).

Class E addresses are experimental and reserved for research — they've never been used in production deployments.

Why Classful Addressing Was Replaced by CIDR

Classful addressing had a fundamental flaw: massive waste. A company needing 300 IP addresses had to receive an entire Class B block (65,534 addresses), leaving 65,234 addresses unused. Meanwhile, organizations needing 300 couldn't be adequately served by two Class C blocks. This inefficiency accelerated IPv4 exhaustion.

In 1993, RFC 1519 introduced CIDR (Classless Inter-Domain Routing), which abandoned fixed class sizes in favor of variable-length subnet masks. CIDR allows any network size — a company needing 300 IPs gets a /23 block (512 addresses), much more efficient than a Class B.

CIDR notation uses a slash followed by the number of network bits: 192.168.1.0/24 means the first 24 bits are the network portion. This is far more flexible than the old class system. Learn more in our CIDR notation guide.

Today, the internet operates entirely on CIDR. Routing tables use CIDR prefixes, ISPs allocate CIDR blocks, and the concept of "Class A/B/C" is purely historical — though still widely referenced in documentation and networking education.

Special Offer

Frequently Asked Questions

Is 192.168.1.1 a Class C address?

Yes. The 192.168.x.x range falls within Class C (192.0.0.0 to 223.255.255.255). Specifically, 192.168.0.0/16 is a Class C private address range reserved by RFC 1918. In CIDR terms, individual home networks are typically /24 subnets (like 192.168.1.0/24) with 254 usable host addresses.

What class is 10.0.0.1?

10.0.0.1 is a Class A address (first octet 1–126). Specifically, the 10.0.0.0/8 range is a Class A private address block reserved by RFC 1918. It provides over 16 million addresses and is commonly used in large enterprise networks and cloud virtual networks.

Does Class D have subnet masks?

No. Class D addresses are multicast addresses and don't use subnet masks in the traditional sense. Multicast group management uses IGMP (Internet Group Management Protocol) instead of the network/host bit division used by unicast Classes A, B, and C.

What replaced classful networking?

CIDR (Classless Inter-Domain Routing), introduced in 1993 via RFC 1519. CIDR uses variable-length subnet masks (VLSM) to allocate address space efficiently regardless of class boundaries. Learn the details in our <a href='/cidr-notation-explained'>CIDR notation guide</a>.

Special Offer×