Calculator
Subnet calculator
Enter a network, pick a prefix, and see every equal-sized subnet it splits into.
Private
192.168.1.0/24 · 255.255.255.0
4 subnets
4 subnets of 64 addresses each.
Presets
Subnet 1 of 4
192.168.1.0/26
Network address
192.168.1.0
/26 · first address
Broadcast address
192.168.1.63
All host bits set to 1
Usable range
192.168.1.1 – 192.168.1.62
Assignable to hosts and gateway
Subnet mask
255.255.255.192
Wildcard 0.0.0.63
Usable hosts
62
64 total (2^6)
Block size
64
In octet 4
Pick a subnet
4 subnets of /26
Address space
192.168.1.0/24 → 4 × /26
Tap a subnet (or use arrow keys and Enter) to inspect it. Drag to pan, Ctrl + scroll or pinch to zoom.
#1 · 192.168.1.0/26
Allocation table
4 subnets
| # | Subnet | Usable range | Broadcast | Hosts |
|---|---|---|---|---|
| 192.168.1.0/26 | 192.168.1.1 – 192.168.1.62 | 192.168.1.63 | 62 | |
| 192.168.1.64/26 | 192.168.1.65 – 192.168.1.126 | 192.168.1.127 | 62 | |
| 192.168.1.128/26 | 192.168.1.129 – 192.168.1.190 | 192.168.1.191 | 62 | |
| 192.168.1.192/26 | 192.168.1.193 – 192.168.1.254 | 192.168.1.255 | 62 |
Private ranges (RFC 1918)
- 10.0.0.0/8 · 10.0.0.0 – 10.255.255.255
- 172.16.0.0/12 · 172.16.0.0 – 172.31.255.255
- 192.168.0.0/16 · 192.168.0.0 – 192.168.255.255
Capacity rules
Each extra prefix bit (for example /24 to /25) doubles the number of subnets and halves the addresses in each. Borrowing n bits gives 2ⁿ subnets; h host bits give 2ʰ − 2 usable hosts.
Special prefixes
- /30 · 2 usable hosts, classic WAN links
- /31 · 2 addresses, point-to-point (RFC 3021)
- /32 · a single host route, e.g. loopback