ipdetecto.com logo
ipdetecto.com
My IPSpeed
Knowledge Hub
HomeKnowledge HubIpv4 Classes
© 2026 ipdetecto.com
support@ipdetecto.comAboutContactPrivacyTermsllms.txt
Basics
5 MIN READ
Apr 13, 2026

The Difference Between IPv4 Classes A, B, and C: A Simple Guide

Curious about the history of the web? Discover the old system of IP Classes and why and how they defined the growth of the early internet.

The Simple Answer: What are IPv4 Classes?

IPv4 Classes were the original 'Buckets' used to divide up every address on the internet. In the early 1980s, engineers didn't have the complex software we have today. To keep things simple, they decided that the first number of your IP address would tell the world exactly how big your network was. If your IP started with a low number (like 1 to 126), you were a massive organization (Class A). If it started with a high number (like 192), you were a tiny home or business (Class C). While we officially stopped using this 'Classful' system in 1993, the terminology is still vital for every IT professional and network student today. It is the 'DNA' of how the internet was built.

Think of it as T-shirt sizes in a specialized store. In the 80s, the store only sold three sizes: Small, Medium, and Large. If you were slightly bigger than a Medium, you HAD to buy a Large, even if it was way too big for you. This 'One-Size-Fits-Most' approach was easy for the cashier (the router) to understand, but it led to a massive waste of fabric (IP addresses). See which 'Historical Class' your current IP address belongs to here.

TL;DR: Quick Summary

  • Class A: For giants (IBM, Apple, MIT). 16.7 million addresses per block. IP starts with 1-126.
  • Class B: For large entities (Universities, Microsoft). 65,536 addresses per block. IP starts with 128-191.
  • Class C: For the rest of us. 256 addresses per block. IP starts with 192-223.
  • Class D: Reserved for Multicast (sending one video feed to many people). Starts 224-239.
  • Class E: Reserved for 'Future' experiments (rarely used). Starts 240-255.
  • Legacy: We now use CIDR, which lets us 'cut the fabric' to any size we want.

The Technical Breakdown of Each Class

To understand the classes, you have to look at the 'Network' vs. the 'Host'.

Class A: The Giants (Network Mask: 255.0.0.0)

In Class A, the first 8 bits (the first number) represent the network, and the last 24 bits represent the users. This means there are only 126 Class A networks in the whole world, but each one can hold over 16 million devices. Audit your 'Network vs Host' distribution and check your subnet integrity here.

Class B: The Mediums (Network Mask: 255.255.0.0)

Class B splits the address 50/50. The first two numbers are the network, and the last two are for the hosts. This provides 16,384 networks, each with 65,534 hosts. Companies like Microsoft owned several Class B blocks in the early days.

Class C: The Smalls (Network Mask: 255.255.255.0)

In Class C, the first three numbers are the network. This allows for millions of individual networks, but each network can only have 254 users. This is what your home router uses today (e.g., 192.168.1.x).

Comparison Table: The IPv4 Class Matrix

ClassFirst Octet RangeNumber of NetworksHosts per Network
Class A1 – 12612816,777,214
Class B128 – 19116,38465,534
Class C192 – 2232,097,152254
Class D224 – 239N/A (Multicast)N/A
Class E240 – 255N/A (Experimental)N/A

The Great Waste: Why Classes Died

By the early 90s, the internet was exploding. The problem was that the 'T-shirt' sizes were all wrong. If a company had 300 employees, they were too big for a Class C (254). They had to be given a Class B (65,535). That means 65,223 addresses were just sitting there, unused.

This 'Greed' for addresses led to IPv4 Exhaustion. We solved it by creating CIDR (Classless Inter-Domain Routing). CIDR says: 'Forget the classes! Use a slash /23 or a /21 to give exactly the right number of addresses.' Classes are now just a historical reference point for how we group the numbers. Perform a 'CIDR vs Classful' audit on your current subnet here.

Common Mistakes and Practical Issues

  • The Missing 127: Where is 127.x.x.x? It’s not in Class A or Class B. 127.0.0.1 is reserved for 'Loopback'—it means 'This computer' (Yourself). It is the 'Home' address for every machine.
  • Classful vs Classless Masks: Even today, people say 'Give me a Class C mask.' They mean 255.255.255.0. It's technically more accurate to call it a '/24', but the old terms are very hard to kill in engineering circles.
  • Confusing Private with Public: People think 10.0.0.x is Class A. It is, but it's Private Class A. It can't be used on the public internet. Most home users use 192.168.x.x, which is Private Class C. Check your 'Private vs Public Network Class' status here.

How to Identify a Class (Step-by-Step)

  1. Look at the first number: (e.g., 172.16.0.0).
  2. Consult the Chart: 172 falls between 128 and 191.
  3. The Result: It is a Class B address.
  4. Check the Binary: Class A starts with 0, Class B starts with 10, Class C starts with 110. This is how routers identified the classes instantly using simple hardware.

Final Thoughts on the Architect's Blueprint

IPv4 Classes are the fossil record of the internet. They represent a time of optimistic growth and simple engineering. While modern CIDR has given us the flexibility we need to survive the 21st century, the structure of Class A, B, and C remains the foundation on which all networking knowledge is built. By understanding these classes, you understand the history of how the world was wired together—from a few giant universities to billions of tiny smart devices. Master the classes, and you master the logic of the machine. Run a total 'Heritage Network and Class Alignment' audit today.

Frequently Asked Questions

Q.What are the classes of IPv4 addresses?

IPv4 addresses are divided into five classes: A, B, C, D, and E. Classes A, B, and C are used for general networking (unicast), Class D is used for multicast, and Class E is reserved for research and experimental purposes.

Q.What is the range for a Class A IP address?

A Class A IP address has a first octet range of 1 to 126. These networks were designed for very large organizations and can support up to 16,777,214 hosts per network.

Q.What is the range for a Class B IP address?

A Class B IP address has a first octet range of 128 to 191. These were designed for medium-to-large sized networks and can support up to 65,534 hosts per network.

Q.What is the range for a Class C IP address?

A Class C IP address has a first octet range of 192 to 223. These are the most common addresses for small businesses and home networks, supporting up to 254 hosts per network.

Q.What happened to the IP address 127.0.0.1?

The 127.0.0.0 range is reserved for loopback testing. 127.0.0.1 is the address every computer uses to refer to itself. It was skipped over when defines the ranges for Class A and B.

Q.Why don't we use IP classes anymore?

The classful system was too rigid and led to a massive waste of IP addresses. It was replaced in 1993 with CIDR (Classless Inter-Domain Routing), which allows for much more precise allocation of addresses.

Q.What is Class D used for?

Class D addresses (224.0.0.0 to 239.255.255.255) are used for Multicast traffic. This allows a single sender to stream data to multiple specific recipients at once, like in an IPTV broadcast.

Q.How do routers quickly identify an IP class?

Routers look at the first few bits of the binary address. Class A starts with 0, Class B starts with 10, and Class C starts with 110. This binary check is much faster for a computer than looking at the whole number.

Q.What is the default subnet mask for a Class C network?

The default (or 'classful') subnet mask for a Class C network is 255.255.255.0. This indicates that the first three sections (octets) represent the network, and the last section represents the host.

Q.Does my home router use a special class?

Most home routers use the Private Class C range (typically starting with 192.168.x.x). These addresses are for internal use only and are not reachable directly from the public internet.
TOPICS & TAGS
ipv4 classesclass aclass bclass cnetworking historyip addressingipv4 classes a b and c technical guidehistory of classful addressing on the internetrigid old days of early network engineeringcalculating ip address limits in each classclass a gigantic block breakdown 16 million ipsclass b medium range for university networksclass c small business and home ip blocksmassive waste leading to cidr transitionreserved class d multicast and class e experimentalhow early ip classes defined growth of the web0 to 127 start ranges for initial blockslearning the history of digital address spacefrom classful to classless internet evolutionwhy modern routers still reference classeslegacy networking terminology explainedfirst octetclassful maskflsmclass d multicastclass e experimental