Free tool

Subnet Calculator

Work out network, broadcast and usable host range for any IPv4 subnet, then split it into smaller ones.

Enter a network

Result

Enter an IPv4 address and prefix length, for example 192.168.1.0/24, to see the network address, broadcast address, usable host range and subnet mask. You can also split the network into smaller subnets.

How subnetting works

An IPv4 address has 32 bits. The prefix length, the number after the slash, says how many of those bits identify the network. The remaining bits identify hosts inside it. A /24 leaves 8 host bits, so it has 256 addresses, of which 254 can be given to devices. The first address names the network and the last one is the broadcast address.

Smaller networks, such as one per department or one for CCTV cameras, make traffic easier to manage and secure. If you would like help planning an addressing scheme for your site, talk to an engineer.