Calculate subnet masks, network addresses, broadcast addresses, and usable host ranges for both IPv4 and IPv6. Supports classful networks and VLSM with an easy dropdown.
| Class | Leading Bits | Network Bits | Host Bits | Default Mask | Address Range |
|---|---|---|---|---|---|
| A | 0 | 8 | 24 | 255.0.0.0 (/8) | 1.0.0.0 – 127.255.255.255 |
| B | 10 | 16 | 16 | 255.255.0.0 (/16) | 128.0.0.0 – 191.255.255.255 |
| C | 110 | 24 | 8 | 255.255.255.0 (/24) | 192.0.0.0 – 223.255.255.255 |
| D (Multicast) | 1110 | - | - | - | 224.0.0.0 – 239.255.255.255 |
| E (Reserved) | 1111 | - | - | - | 240.0.0.0 – 255.255.255.255 |
CIDR (Classless Inter-Domain Routing) is a method for allocating IP addresses and IP routing. It replaces the previous system based on Class A, B and C networks. Subnetting allows you to divide a large network into smaller, efficient subnets.
Our calculator supports both classful and classless (VLSM) subnetting. Use the dropdown to select any subnet mask from /1 to /32.
Plan subnets, allocate IP ranges, configure routers.
Set up office networks, VLANs, troubleshoot.
Design VPCs, subnets in AWS/Azure.
Learn subnetting, prepare for certifications.
Define security zones, analyze perimeters.
Understand basic office network setup.