Subnet Calculator
Calculate subnet information from an IP address and CIDR notation. Get network address, broadcast, host range, subnet mask, and more.
Enter an IP address with CIDR prefix, e.g. 192.168.1.0/24
| Network Address | 192.168.1.0 |
| Subnet Mask | 255.255.255.0 |
| Broadcast Address | 192.168.1.255 |
| First Usable Host | 192.168.1.1 |
| Last Usable Host | 192.168.1.254 |
| Wildcard Mask | 0.0.0.255 |
| Total Hosts | 256 |
| Usable Hosts | 254 |
| IP Class | C |
| Address Type | Private |
Binary Representation
IP Address: 11000000.10101000.00000001.00000000
Subnet Mask: 11111111.11111111.11111111.00000000
Network: 11000000.10101000.00000001.00000000
How to Use
Calculate subnet information from an IP address and CIDR notation. Get network address, broadcast, host range, subnet mask, and more.
- 1Type an IP address with its CIDR prefix into the input field — for example, 192.168.1.0/24. Or click one of the example buttons below the field to auto-fill a common network.
- 2The calculator instantly shows the network address, subnet mask, broadcast address, first and last usable hosts, total and usable host counts, IP class, and whether it is a private or public range.
- 3Check the Binary Representation section at the bottom to see the IP address, subnet mask, and network address in dotted binary notation — useful for visualizing how the subnet mask splits the address.
- 4Use the wildcard mask output directly in Cisco ACLs or OSPF configurations.
- 5Try the quick-fill examples (10.0.0.0/8, 172.16.0.0/12, etc.) to compare class A, B, and C subnets side by side.
Key Features
- Instant CIDR calculation — network address, mask, broadcast, and host range appear as you type
- Binary representation — see the IP and mask in dotted binary to understand bit-level subnet logic
- Wildcard mask output — ready to paste into Cisco ACLs and routing configurations
- Private/public detection — identifies RFC 1918 private address ranges automatically
- Example quick-fill — common subnets (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/24) to explore immediately