IP Address Class Checker |
192.168.1.10 is a Class C address: its first octet 192 is 11000000 in binary, which starts with 110.
Small networks
Class bits Network (default mask) Host First 3 bits 110 → class C · default mask /24: 24 network bits, 8 host bits
Private range 192.168.0.0/16 (RFC 1918): 256 class C blocks, the usual home network.
| Class | C (first octet 192 – 223) |
| Leading bits | 110 |
| Default subnet mask | 255.255.255.0 (/24) |
| Classful network | 192.168.1.0/24 |
| Networks in the class | 2,097,152 |
| Hosts per network | 254 |
| Class range | 192.0.0.0 – 223.255.255.255 |
Classes are history: since CIDR (1993) this address can sit in a network of any size, not just a /24. Open 192.168.1.10/24 in the subnet calculator →
Runs in your browser: nothing is sent to our server.
Practice: IP Class Quiz
Ten addresses, one at a time: pick the class, see why. Includes the traps exams like (127, 0, 255.255.255.255 and the edges 126/128, 191/192, 223/224). Nothing is saved.
Check a List of Addresses
| Address | Class | Default mask | Note |
|---|
IP Address Classes: The Table
IPv4 addresses were divided into five classes by their first bits: Class A starts with 0 (1–126), B with 10 (128–191), C with 110 (192–223), D with 1110 (multicast, 224–239) and E with 1111 (240–255). Classes were replaced by CIDR in 1993, but exams and old docs still use them.
Each class has a first-octet range, a default mask and a size.
| Class | First octet | Leading bits | Default mask | Networks | Hosts per network | Use |
|---|---|---|---|---|---|---|
| A | 1 – 126 | 0 | 255.0.0.0 (/8) | 126 | 16,777,214 | Large networks |
| B | 128 – 191 | 10 | 255.255.0.0 (/16) | 16,384 | 65,534 | Medium networks |
| C | 192 – 223 | 110 | 255.255.255.0 (/24) | 2,097,152 | 254 | Small networks |
| D | 224 – 239 | 1110 | none | — | — | Multicast |
| E | 240 – 255 | 1111 | none | — | — | Reserved (experimental) |
Hosts per network = 2host bits − 2 (the network and broadcast addresses). Class A counts 126 networks because 0 and 127 are reserved.
Class A IP address
First octet 1 to 126, default mask 255.0.0.0 (/8): the first octet is the network, the other three the host. Only 126 such networks exist, each with 16.7 million addresses; they went to early internet players (for example 17.0.0.0/8 to Apple). Private block: 10.0.0.0/8, widely used in companies and clouds.
Class B IP address
First octet 128 to 191, default mask 255.255.0.0 (/16): 16,384 networks of 65,534 hosts, given to universities and large companies. Private block: 172.16.0.0/12 (172.16 to 172.31), the default in Docker and many corporate networks. 169.254.0.0/16, the link-local range, also sits in class B.
Class C IP address
First octet 192 to 223, default mask 255.255.255.0 (/24): over 2 million networks of 254 hosts, the classic small-office size. Private block: 192.168.0.0/16, the range almost every home router uses (192.168.0.1, 192.168.1.1).
How to Find the Class of an IP Address
Look at the first octet, or its first bits: 0 → A, 10 → B, 110 → C, 1110 → D, 1111 → E.
- Take the first octet: in 172.20.5.9 it's 172.
- Compare with the ranges: 172 is between 128 and 191, so class B. Or write it in binary: 172 =
10101100, which starts with10, so class B. - Apply the default mask: class B → 255.255.0.0, so the classful network is 172.20.0.0/16.
- Check the special cases: 172.20 is inside 172.16.0.0/12, so it's also a private address.
Why the bits? Each class adds one more leading 1: A = 0…, B = 10…, C = 110…. A router in 1981 could read the class from the first few bits without a table. Converting octets to binary is easy with the IP to binary converter.
What Is Classful Addressing (and Why CIDR Replaced It)?
Classful addressing gave out only /8, /16 or /24 networks, wasting addresses; CIDR (1993) allows any prefix length.
Classful addressing (RFC 791, 1981) fixed the network size by the first bits. A company needing 2,000
addresses was too big for a class C and got a class B, leaving 63,000 addresses unused, while routing
tables filled with thousands of class C entries. CIDR (RFC 1518 and 1519, 1993; today RFC 4632)
dropped the classes: a network is written with its prefix length, like 198.51.100.0/22,
and can have any size. Subnet masks and private ranges still follow the old class boundaries in many
places, which is why classes are still taught. Plan real networks with the
subnet calculator.
Special Addresses: 0, 127 and 255
0.x and 127.x are reserved (127 is loopback) and 255.255.255.255 is broadcast; they belong to no usable class.
| Address or range | Bits say | What it really is |
|---|---|---|
| 0.0.0.0/8 | Class A | "This network"; 0.0.0.0 means "any address" on a server or "no address yet" during DHCP |
| 127.0.0.0/8 | Class A | Loopback: your own device (127.0.0.1 = localhost) |
| 169.254.0.0/16 | Class B | Link-local: self-assigned when DHCP fails |
| 224.0.0.0/24 | Class D | Local multicast for routing protocols (224.0.0.5 OSPF, 224.0.0.9 RIP) |
| 255.255.255.255 | Class E | Limited broadcast: every device on the local network |
How This Tool Works
| Item | Detail |
|---|---|
| Where it runs | In your browser; addresses are not sent to our server or stored. |
| Class | From the first octet's leading bits (RFC 791). |
| Special ranges noted | 0/8, 127/8, private (RFC 1918), 169.254/16, 100.64/10 (RFC 6598), 224.0.0/24, 255.255.255.255. |
| Input | Dotted decimal only; numbers with leading zeros (like 010) are refused because some systems read them as octal. |
| Shareable link | /ip-class-checker?ip=172.16.0.1 opens with that address. |
| Last verified | 10 November 2026 |
Frequently Asked Questions
What are the 5 classes of IP addresses?
How do I know which class an IP address belongs to?
Is 192.168.1.1 a class C address?
Why is 127 not in class A?
Are IP address classes still used?
What is a "C-class IP" in SEO hosting?
What is the default subnet mask of class C?
Next steps