IP Address Class and Range: A Complete Beginner Guide

Every device that connects to a network needs an address, and the system that hands out those addresses is built around the idea of an ip address class and range. If you have ever wondered why your home router uses addresses starting with 192.168, or why some addresses are reserved and never appear on the public internet, the answer lies in the classful addressing scheme that shaped the early internet. This guide explains each ip address class and range in plain language, shows how the ranges fit together, and helps you check your own device’s address safely.

An IP address is a 32-bit number, usually written as four decimal numbers separated by dots, such as 192.168.1.1. Each of the four numbers, called an octet, can range from 0 to 255. The ip address class and range system is simply the map of how those four numbers are divided between network and host. The original design of IPv4 divided this whole address space into five classes, labelled A through E. Each class was aimed at a different size of network: huge national-scale networks, medium organisations, small local networks, and special-purpose uses. Understanding each ip address class and range is still useful today, because the vocabulary survives in networking courses, certification exams, router settings, and everyday troubleshooting.

What Is an IP Address Class and Range?

The term ip address class and range refers to the grouping of IPv4 addresses by the value of their first octet. The first few bits of an address decide its class, and the class in turn decides how many bits identify the network and how many identify individual hosts on that network. In Class A, for example, only the first octet identifies the network, leaving three octets for hosts, which allows millions of devices on a single network. In Class C, three octets identify the network and only one octet is left for hosts, which suits a small office or home network with up to 254 usable devices. In short, the ip address class and range of an address tells you how big its network can be.

This division mattered most in the early decades of the internet, when addresses were handed out in whole class blocks. A large organisation might receive a Class A or Class B block, while a small business received a Class C block. The system was simple to teach and simple to route, but it was also wasteful: a company that needed 300 addresses had to take a Class B block with more than 65,000 addresses, because a Class C block was too small. That waste eventually led to classless addressing, known as CIDR, which lets networks be sized precisely. Even so, the class labels remain a handy shorthand for describing address ranges.

IP Address Class and Range: Class A Explained

Class A covers first octets from 1 to 126, giving the range 1.0.0.0 to 126.255.255.255. Its default subnet mask is 255.0.0.0, which means the first octet is the network portion and the remaining three octets are the host portion. That structure allows 126 networks, each capable of holding more than 16 million host addresses. No modern home network needs that scale, which is why the ip address class and range map matters more as background knowledge than as a daily tool. Only very large organisations and early internet pioneers ever needed that scale, and many Class A blocks were assigned in the 1980s to major technology companies, universities, and government bodies.

One famous Class A address is 10.0.0.0, but that block is special: it is reserved for private use, as explained later in this guide. Another notable point is that the first octet 127 is not part of Class A at all. The range 127.0.0.0 to 127.255.255.255 is reserved for loopback, which is how a computer talks to itself. The address 127.0.0.1, often called localhost, is the best-known example. If you ever see a Class A address in a home or office setting, it is almost certainly from the private 10.x.x.x range rather than a public Class A allocation. This is a practical reason to learn each ip address class and range before changing router settings.

Class B and Class C: The Workhorse Ranges

Class B covers first octets from 128 to 191, giving the range 128.0.0.0 to 191.255.255.255, with a default subnet mask of 255.255.0.0. Here the first two octets identify the network and the last two identify hosts, allowing about 16,000 networks with up to 65,534 usable hosts each. Class B suited medium-sized organisations such as universities and regional companies, and it was once the most fought-over part of the address space because it struck a balance between network count and host count.

Class C covers first octets from 192 to 223, giving the range 192.0.0.0 to 223.255.255.255, with a default subnet mask of 255.255.255.0. Three octets identify the network and one octet identifies hosts, allowing more than two million networks with up to 254 usable hosts each. This is the range most people meet in daily life, because the private home-network block 192.168.0.0 to 192.168.255.255 sits inside it. When your router assigns your phone an address like 192.168.1.42, you are looking at a Class C private address doing exactly the job it was designed for. Recognising the ip address class and range behind that address makes home networking far less mysterious.

Class D and Class E: Special-Purpose Ranges

Class D covers first octets from 224 to 239, giving the range 224.0.0.0 to 239.255.255.255. These addresses are not assigned to individual devices at all. Instead, they are multicast addresses, used to send one stream of data to many interested receivers at once. Video conferencing, live broadcasts inside a corporate network, and routing-protocol messages all use multicast. A device never has a Class D address as its own address; it joins a multicast group to receive traffic sent to that group address.

Class E covers first octets from 240 to 255, giving the range 240.0.0.0 to 255.255.255.255. This range is reserved for experimental and future use, and it is not available for ordinary assignment. One address in this neighbourhood is famous for another reason: 255.255.255.255 is the limited broadcast address, used to send a message to every device on the local network segment. Together, Classes D and E remind us that not every ip address class and range is meant for everyday devices, and that some ranges exist to keep the whole system working behind the scenes. Even special ranges make sense once you see the full ip address class and range picture.

Private IP Address Ranges and Home Networks

Three blocks inside the classful space are set aside for private networks, meaning they can be reused in millions of homes and offices because they are never routed on the public internet. The private ranges are 10.0.0.0 to 10.255.255.255 from Class A, 172.16.0.0 to 172.31.255.255 from Class B, and 192.168.0.0 to 192.168.255.255 from Class C. Your router performs network address translation, letting all your devices share one public address while talking to each other on private addresses. This design is one of the main reasons IPv4 has lasted far beyond its expected lifetime. The private blocks are the most useful part of the ip address class and range system for home users.

Knowing the private ranges helps with troubleshooting. If your device shows a 169.254.x.x address, for example, it has assigned itself a link-local address because it could not reach a DHCP server, which usually points to a cable, Wi-Fi, or router problem. If it shows a 192.168.x.x address, it is connected to a local network normally. You can learn more about how networks are organised in our guide to another name for a network, which covers related networking vocabulary in plain terms.

How Subnet Masks Shape Each IP Address Class and Range

A subnet mask tells a device which part of an address is the network and which part is the host. In the classful defaults, Class A uses 255.0.0.0, Class B uses 255.255.0.0, and Class C uses 255.255.255.0. Modern networks rarely use these defaults rigidly. Instead, CIDR notation such as 192.168.1.0/24 states the number of network bits directly, and the mask can be adjusted to carve a network into smaller subnets or combine small networks into larger ones. A /24 is the CIDR equivalent of the old Class C mask, while a /16 matches the old Class B mask and a /8 matches Class A.

Subnetting is also how large organisations avoid waste. A company with four departments of 50 devices each does not need four Class C networks; it can split one network into four subnets, or use variable-length subnet masks to size each subnet to its real need. Students preparing for networking exams should still learn the classful defaults, because exam questions often ask for the class of an address or its default mask, and because the class vocabulary remains the starting point for understanding CIDR. Exam candidates should be able to state the ip address class and range and default mask of any address on sight.

Finding Your Own Device IP Address Safely

You can check your own device’s IP address without any special tools, and you should only ever check addresses belonging to devices you own or administer. On Windows, open Settings, then Network and Internet, then Wi-Fi or Ethernet, and select your connection to see its IPv4 address. On a Mac, open System Settings, then Network, and select your active connection. On a phone, look under Wi-Fi settings and tap your connected network to see the address your router assigned. These steps show your private local address, which is the one your router uses inside your home network.

There is an important boundary here: only look up addresses for your own devices and your own network. Trying to find, trace, or probe someone else’s IP address without their permission is not something this guide covers, and it can violate privacy rules and the terms of the services involved. If you are troubleshooting your own connection, stick to your own device settings and your router’s admin pages, which you can reach through your own network. For related practical steps, see our guide on commands to check an IP address on Linux and our explanation of static IP setup on Debian, both written for your own machines.

IP Address Classes at a Glance

Class First Octet Range Full Range Default Mask Typical Use
A 1–126 1.0.0.0 – 126.255.255.255 255.0.0.0 Very large networks; private 10.x.x.x
B 128–191 128.0.0.0 – 191.255.255.255 255.255.0.0 Medium networks; private 172.16–31.x.x
C 192–223 192.0.0.0 – 223.255.255.255 255.255.255.0 Small networks; private 192.168.x.x
D 224–239 224.0.0.0 – 239.255.255.255 Not applicable Multicast groups
E 240–255 240.0.0.0 – 255.255.255.255 Not applicable Experimental and reserved

IP Address Class and Range: Quick Revision Notes

To revise the ip address class and range system, remember the first-octet boundaries: 1 to 126 for Class A, 128 to 191 for Class B, 192 to 223 for Class C, 224 to 239 for Class D, and 240 to 255 for Class E. Note the gaps: 0 is reserved, 127 is loopback, and the private blocks sit inside Classes A, B, and C. If you can recite the ip address class and range table from memory, you can classify any IPv4 address in seconds, and you will find CIDR notation much easier to learn. Teachers often test the ip address class and range boundaries directly, so this short summary is worth memorising.

Frequently Asked Questions About IP Address Classes

Which class is my home network?

Almost always Class C private space, typically 192.168.0.x or 192.168.1.x, assigned by your router. Larger home labs sometimes use the Class A private block 10.x.x.x instead.

Are IP classes still used today?

Classful allocation is no longer how addresses are assigned, since CIDR replaced it in the 1990s. The class names survive as teaching shorthand and as a quick way to describe a range, which is why the ip address class and range vocabulary still appears in courses and exams.

What is the difference between a public and a private IP address?

A public address is unique on the global internet and assigned by an internet provider or registry. A private address is reused inside local networks and never routed publicly; your router translates between the two.

Can two devices share the same private IP address?

Not on the same local network, where each address must be unique or traffic gets confused. The same private address can safely appear on two different private networks, because those networks are separate.

Conclusion

The ip address class and range system is a piece of internet history that still explains a lot about the addresses you see every day. Class A served the giants, Class B served medium organisations, Class C serves homes and small offices, Class D carries multicast, and Class E waits in reserve. Add the private ranges and CIDR subnetting, and you have the full picture of how IPv4 addresses are organised. Next time you check your own device’s settings, you will know exactly which class and range you are looking at, and why it was chosen.

Leave a Comment