IPv4 subnet calculator

Subnets, calculated instantly.

Enter an address and a prefix. See the network, broadcast, host range and masks at once. Runs in your browser with no account and no data sent to a server.

Network

Tap any value to copy it.

Everything a subnet needs

Subnet mask
The dotted-decimal mask for any CIDR prefix.
Number of hosts
The total address count for any subnet size.
Broadcast address
The broadcast address for any IP and prefix pair.
Wildcard mask
The inverse mask used in ACLs and routing protocols.
Host range
The first and last usable addresses in the subnet.
Binary netmask
The netmask in binary, for learning and review.

Take it with you

Native apps for Android, iPhone and iPad. They work fully offline.