Calculate IPv4 CIDR ranges and subnet details

Enter an IPv4 address with a CIDR prefix to calculate the subnet mask, network address, broadcast address, and usable host range. Use it to verify a network plan or quickly interpret a CIDR block in configuration.

How it works

  1. Enter an IPv4 address and prefix length, such as /24.
  2. The calculator derives the network boundaries from the prefix bits.
  3. Copy the resulting mask, range, and host information into documentation or configuration review.

Capabilities and limits

  • Calculates IPv4 network and broadcast addresses.
  • Shows subnet masks and usable host counts for conventional host subnets.
  • Is an IPv4 calculator; IPv6 notation has different addressing rules.

Examples

Typical office subnet

192.168.10.42/24

Network: 192.168.10.0, broadcast: 192.168.10.255.

Small point-to-point range

10.0.0.9/30

A /30 has four addresses and is often used where two usable host addresses are required.

Frequently asked questions

What does /24 mean?

It means the first 24 bits identify the network. In IPv4, that corresponds to the mask 255.255.255.0.

Why are network and broadcast addresses excluded?

In traditional IPv4 subnets, those addresses identify the subnet and broadcast traffic rather than individual hosts.