Free Online Subnet Calculator — IPv4/IPv6 CIDR, VLSM & Network Planning
This free subnet calculator instantly computes all subnet details from any IPv4 or IPv6 address with CIDR prefix. Whether you're a network engineer, sysadmin, CCNA student, or cloud architect, get instant answers for subnet masks, wildcard masks, network and broadcast addresses, usable host ranges, and binary breakdowns. All calculations happen instantly in your browser — no data is sent to a server, no signup required.
Subnet Calculator Features
- ▸ IPv4 Subnet Calculator — enter any IP address with CIDR prefix (/0 to /32) for instant network address, broadcast, mask, and host range
- ▸ VLSM Planner — divide a network into variable-length subnets sized to exact host requirements, minimising address waste
- ▸ CIDR Cheat Sheet — complete reference table of all 33 prefix lengths (/0–/32) with subnet masks, wildcard masks, and usable host counts
- ▸ IPv6 Calculator — expand compressed IPv6 addresses, calculate network prefix, first/last address, and total address count for any prefix length up to /128
- ▸ Binary Breakdown — visual binary representation of IP address, subnet mask, and network address, colour-coded by network vs host bits
- ▸ IP Classification — automatic detection of IP class (A/B/C/D/E), private vs public (RFC 1918), loopback, APIPA, CGNAT, multicast, and reserved ranges
Common Subnet Reference — Most Searched CIDR Blocks
These are the subnets network engineers look up most often. Each row shows the subnet mask, wildcard mask, usable host count, and a typical use case:
| CIDR | Subnet Mask | Wildcard | Usable Hosts | Typical Use |
|---|---|---|---|---|
| /8 | 255.0.0.0 | 0.255.255.255 | 16,777,214 | Class A networks (10.0.0.0/8) |
| /16 | 255.255.0.0 | 0.0.255.255 | 65,534 | Large campus / VPC supernets |
| /24 | 255.255.255.0 | 0.0.0.255 | 254 | Standard office / home LAN (192.168.1.0/24) |
| /25 | 255.255.255.128 | 0.0.0.127 | 126 | Split /24 into two equal halves |
| /26 | 255.255.255.192 | 0.0.0.63 | 62 | Small department / VLAN |
| /27 | 255.255.255.224 | 0.0.0.31 | 30 | Server segments / DMZ |
| /28 | 255.255.255.240 | 0.0.0.15 | 14 | Small server cluster / management VLAN |
| /29 | 255.255.255.248 | 0.0.0.7 | 6 | Small server group |
| /30 | 255.255.255.252 | 0.0.0.3 | 2 | Point-to-point WAN links / router interfaces |
| /32 | 255.255.255.255 | 0.0.0.0 | 1 | Host routes, loopback interfaces, firewall rules |
RFC 1918 Private Address Ranges
These address blocks are reserved for private networks and are not routed on the public internet. Use them for internal LANs, VPCs, and VLANs:
| Range | Class | Total Addresses | Typical Use |
|---|---|---|---|
| 10.0.0.0/8 | A | 16,777,216 | Large enterprise networks, cloud VPCs (AWS, Azure, GCP) |
| 172.16.0.0/12 | B | 1,048,576 | Medium-sized networks, Docker default bridge (172.17.0.0/16) |
| 192.168.0.0/16 | C | 65,536 | Home & small office networks (192.168.1.0/24 is the most common LAN) |
Who Uses a Subnet Calculator?
Network engineers, system administrators, DevOps teams, cloud architects, CCNA/CCNP students, and anyone working with IP addressing and subnetting. Common use cases include:
- ▸ Planning office and campus networks with appropriate VLAN segmentation
- ▸ Configuring VPC subnets in AWS, Azure, or Google Cloud with the right CIDR blocks
- ▸ Writing Cisco ACLs and OSPF configurations that require wildcard masks
- ▸ Designing VLSM schemes to maximise IP address efficiency across branch offices
- ▸ Studying for Cisco CCNA, CCNP, CompTIA Network+, and similar networking certifications
- ▸ Configuring firewall rules and security groups with precise CIDR-based source/destination filters
- ▸ Verifying subnetting homework and exam answers with instant binary breakdown
How to Read Subnet Calculator Results
When you enter 192.168.1.100/24, the subnet calculator shows: Network Address 192.168.1.0 (the identifier for the subnet), Broadcast Address 192.168.1.255 (sends to all hosts), Subnet Mask 255.255.255.0 (used in device configuration), Wildcard Mask 0.0.0.255 (used in ACLs and routing protocols), First Usable Host 192.168.1.1, Last Usable Host 192.168.1.254, and 254 usable hosts out of 256 total addresses. The binary breakdown visually separates network bits (first 24) from host bits (last 8), making it clear which portion of the address identifies the network versus the device.