🌐IP Subnet Calculator

Calculate subnets, masks and ranges from CIDR

Network address192.168.1.0
Broadcast address192.168.1.255
Subnet mask255.255.255.0
Wildcard mask0.0.0.255
First usable host192.168.1.1
Last usable host192.168.1.254
Usable hosts254
Total addresses256
CIDR192.168.1.0/24

About the IP Subnet Calculator

IP Subnet Calculator takes a CIDR block and computes the network and broadcast addresses, subnet mask, host range, and usable host count.

It is an essential tool for network planning and troubleshooting. Calculations run locally in your browser.

Common use cases

  • Planning IP address allocation for a network
  • Working out the host range of a subnet
  • Converting CIDR notation to a subnet mask
  • Verifying firewall or routing rules

How to use the IP Subnet Calculator

  1. Enter an address in CIDR notation (e.g. 192.168.1.0/24).
  2. Read the network, broadcast, mask and host range.
  3. Adjust the prefix to see how the subnet changes.

Frequently asked questions

What does the /24 mean?

The number after the slash is the prefix length β€” how many leading bits are the network portion. /24 means a 255.255.255.0 mask.

Why are there two fewer usable hosts?

The network and broadcast addresses are reserved, so a /24 has 256 addresses but 254 usable hosts.

Does it support IPv6?

This calculator focuses on IPv4 CIDR blocks.

Related Network tools