IP Subnet Calculator (IPv4 CIDR)
Work out the network, broadcast address, host range and size of any IPv4 subnet, and split it into smaller subnets.
How to use the Subnet Calculator
- Enter an addressType an IPv4 address with a CIDR prefix like 192.168.10.37/26, or with a netmask like 10.0.0.5 255.255.0.0, or pick a mask from the list.
- Read the subnetGet the network and broadcast addresses, usable host range and count, wildcard mask, class and whether the address is private or public, with the binary view.
- Split itChoose a longer prefix to divide the network into equal subnets and list each one’s range.
Example
192.168.10.37/26 → network 192.168.10.0, broadcast 192.168.10.63, hosts 192.168.10.1–192.168.10.62 (62 usable).
Splitting 10.0.0.0/24 into /26 gives 4 subnets of 62 hosts: .0, .64, .128 and .192.
Frequently asked questions
Why are 2 addresses not usable?
In a normal subnet the first address identifies the network and the last is the broadcast address. /31 links (RFC 3021) and /32 single hosts are the exceptions.
What is a wildcard mask?
The inverse of the subnet mask (0.0.0.63 for /26). Cisco access lists and OSPF use it to say which bits can vary.
Which ranges are private?
10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 (RFC 1918). They are used inside homes and companies and are not routed on the public internet. 100.64.0.0/10 is used by ISPs for carrier-grade NAT.