Calculate the network, broadcast and host range of an IPv4 subnet.
The subnet calculator splits an IPv4 address and its prefix (such as 192.168.1.10/24) into everything you need to plan a network: the network address, the broadcast address, the first and last usable host, the subnet and wildcard masks and the number of addresses.
Enter a CIDR prefix or a dotted subnet mask. The calculator also tells you the class of the address and whether it's public, private, loopback or link-local.
Accepts /24 as well as 255.255.255.0.
First and last usable address and the number of hosts.
Subnet mask, wildcard mask and binary values.
Public, private, loopback, link-local or CGNAT.
A compact way to write an IP range: 192.168.1.0/24 means the first 24 bits are the network, leaving 256 addresses.
The first address identifies the network and the last one is the broadcast address. /31 and /32 networks are exceptions.
The inverse of the subnet mask, used in router access lists and OSPF.
10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16.