IP Class Checker - Class A, B, C, D, E Lookup
← Back to Main Calculator

IP Class Checker

Check IP address classification, public/private status, and range info.

Networking Guide

Understanding IP Address Classes and Their Role in Networking

IP address classification is a fundamental concept in networking that organizes the vast IPv4 address space into distinct categories based on the address range and intended use. While modern networking has largely moved to Classless Inter-Domain Routing (CIDR) for efficient address allocation, understanding IP classes remains essential for network professionals. IP classes provide the historical foundation for how networks were originally designed, and they continue to influence subnetting, routing, firewall rules, and network documentation today.

The Five IP Address Classes Explained

The original classful addressing scheme divides IPv4 addresses into five distinct classes. Class A (1.0.0.0 to 126.255.255.255) uses a /8 default subnet mask, providing 126 networks with over 16 million hosts each—designed for massive organizations like governments and global carriers. Class B (128.0.0.0 to 191.255.255.255) uses a /16 mask, offering 16,384 networks with 65,534 hosts each, suited for mid-sized enterprises and universities. Class C (192.0.0.0 to 223.255.255.255) uses a /24 mask, providing over 2 million networks with 254 hosts each, ideal for small businesses and branch offices. Class D (224.0.0.0 to 239.255.255.255) is reserved for multicast groups, and Class E (240.0.0.0 to 255.255.255.255) is reserved for experimental and research purposes.

The class of an IP address is determined by examining the first octet in binary. Class A addresses start with a leading 0 bit, meaning the first octet ranges from 0 to 127 (with 0 reserved and 127 for loopback). Class B starts with binary 10, giving a range of 128 to 191. Class C starts with 110, ranging 192 to 223. Class D starts with 1110, ranging 224 to 239. Class E starts with 1111, ranging 240 to 255. This binary structure makes class determination straightforward and deterministic.

Why IP Classes Still Matter Today

Although CIDR has replaced classful addressing for IP allocation, IP classes remain relevant in several key areas. Many legacy network configurations and older textbooks still reference class-based addressing. Default subnet masks—/8 for Class A, /16 for Class B, and /24 for Class C—are still used as conventions in many network deployments. Routing protocols and access control lists often refer to classful boundaries. Private IP ranges defined in RFC 1918 (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16) align with Class A, B, and C addresses respectively, making class knowledge essential for understanding private networking.

For network engineers, knowing IP classes helps in reading IP address tables, designing subnetting schemes, and troubleshooting connectivity issues. It also aids in recognizing address types at a glance—for instance, an address starting with 10.x.x.x is immediately identifiable as a large private Class A block, while 192.168.x.x signals a small private Class C range typically used in home or office networks. The IP class checker on this page helps you quickly determine the class, range type, and properties of any IP address.

Private vs Public IP Addresses Within Classes

Within each IP class, certain ranges are reserved for private use. The Internet Assigned Numbers Authority (IANA) set aside specific blocks that are not routable on the public internet and can be used freely within internal networks. Class A has the 10.0.0.0/8 private range—a massive block with over 16 million addresses used by large enterprises and cloud providers. Class B has 172.16.0.0/12 (16 contiguous Class B networks from 172.16.0.0 to 172.31.255.255). Class C has 192.168.0.0/16 (256 Class C networks from 192.168.0.0 to 192.168.255.255), the most common private range for home routers.

Understanding the distinction between private and public IP ranges within each class is critical for network design. Private addresses must be translated through NAT to reach the internet, while public addresses are globally unique and routable. Misconfiguring private vs public ranges can lead to routing errors, IP conflicts, and security vulnerabilities. The IP class checker helps you instantly identify whether an address is private or public, its associated class, default subnet mask, and typical use case. This tool is invaluable for students studying for networking certifications like CompTIA Network+, CCNA, or simply for professionals managing IP allocations.

Special-Purpose IP Ranges

Beyond the standard five classes, several special IP ranges serve critical functions. The loopback address range (127.0.0.0/8, with 127.0.0.1 being the most well-known) allows a device to communicate with itself for testing and diagnostics. Link-local addresses (169.254.0.0/16) are automatically assigned when no DHCP server is available. The default route (0.0.0.0/8) represents all IP addresses in routing tables. These special ranges have distinct behaviors and are not associated with any single class. Knowing them is essential for complete IP address understanding and troubleshooting connectivity issues in any network environment.

The transition to IPv6 with its 128-bit address space renders classful concepts irrelevant for next-generation networks, but IPv4 class knowledge remains a core competency for anyone working with network infrastructure. Whether you are a student preparing for exams, a network administrator managing IP allocations, or a cloud architect designing VPCs, understanding IP classes provides the foundational knowledge needed to navigate the complexities of IP addressing. Use the IP class checker above to explore address classification and see real-time results for any IP.



Frequently Asked Questions

What is IP class?

IP class is a method of categorizing IPv4 addresses based on their leading bits and first octet range. The original classful networking design divided the IPv4 address space into five classes: A, B, C, D, and E. Each class has a fixed default subnet mask and a specific number of network and host bits, determining how many networks and hosts each class can support. Classful addressing has largely been replaced by CIDR, but IP classes remain important for understanding legacy network configurations.

How to calculate IP class?

To calculate the IP class, look at the first octet of the IP address. Class A ranges from 1 to 126, Class B from 128 to 191, Class C from 192 to 223, Class D from 224 to 239 (multicast), and Class E from 240 to 255 (reserved). Addresses starting with 0 are reserved for default routes, and 127.x.x.x is reserved for loopback. You can also determine the class by examining the binary representation of the first octet: Class A starts with 0, Class B with 10, Class C with 110, Class D with 1110, and Class E with 1111.

What class is a 192.168 IP address?

A 192.168.x.x IP address belongs to Class C. The first octet 192 falls within the Class C range of 192 to 223. Class C addresses use a default subnet mask of 255.255.255.0 (/24), providing up to 254 usable host addresses per network. The 192.168.0.0/16 range is also part of the private IP address space defined in RFC 1918, making it the most commonly used range for home and small office networks.

What is C class IP?

A Class C IP address ranges from 192.0.0.0 to 223.255.255.255, with a default subnet mask of 255.255.255.0 (/24). Each Class C network supports up to 254 usable host addresses. The first three octets represent the network portion, and the last octet represents the host portion. Class C addresses are ideal for small to medium-sized networks such as office LANs, schools, and small businesses. The most recognizable Class C private range is 192.168.0.0/16.

Why use a 32-subnet mask?

A /32 subnet mask (255.255.255.255) is used to identify a single host. It means all 32 bits are network bits and there are zero host bits, so only one address exists in the subnet. /32 is commonly used for loopback interfaces on routers, for identifying a specific host in firewall rules and ACLs, and in cloud networking for assigning individual public IPs to virtual machines. It is also used in BGP route advertisements to advertise a single host route.