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

#SubnetUsable rangeBroadcastHosts
192.168.1.0/26192.168.1.1 – 192.168.1.62192.168.1.6362
192.168.1.64/26192.168.1.65 – 192.168.1.126192.168.1.12762
192.168.1.128/26192.168.1.129 – 192.168.1.190192.168.1.19162
192.168.1.192/26192.168.1.193 – 192.168.1.254192.168.1.25562

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