Subnet Calculator

Calculate IP subnets, network addresses, broadcast addresses, and CIDR notation for network planning and configuration.

visibility546 views

About the Subnet Calculator

This Subnet Calculator turns an IP address and subnet mask into a complete network breakdown. Enter any IPv4 address with its mask or CIDR prefix, and it returns the network address, broadcast address, usable host range, and total host count.

The tool applies the standard IPv4 subnetting method: it performs a bitwise AND between the address and the mask to find the network address, then sets all host bits to 1 for the broadcast address. Results also appear in CIDR notation, such as /24 for 255.255.255.0. A smaller prefix creates fewer, larger subnets, so choose a prefix that leaves room for growth. Remember that you cannot assign the network and broadcast addresses to hosts.

  • Enter your IPv4 address in the IP field.
  • Enter a subnet mask like 255.255.255.0 or a prefix like /24.
  • Read the network, broadcast, and host range from the results.