IPv4 Subnet Calculator (CIDR)

Split an IPv4 network into its parts. Everything runs in your browser; nothing you enter is uploaded or stored.

  • Free, no sign-up
  • Runs in your browser
  • Verified
Only used when the address has no /prefix.

How to use it

  1. Enter an address such as 192.168.1.10/24, or an address and a mask.
  2. Read the network, broadcast and host range.
  3. Check the number of usable hosts.

How it works

The prefix length is the number of leading 1 bits in the mask. The network address is the address AND the mask, the broadcast address is the network address with all host bits set to 1, and the wildcard mask is the mask inverted. A subnet has 2^(32 − prefix) addresses; normally two are not usable (network and broadcast), while a /31 point-to-point link uses both (RFC 3021) and a /32 is a single host.

Examples

  • 192.168.1.10/24: network 192.168.1.0, broadcast 192.168.1.255, hosts .1 to .254 (254 usable).

Limitations

  • IPv4 only. Addresses with leading zeros (such as 010.1.1.1) are rejected because tools disagree on whether they are octal.
  • The “type” label only recognises a few well-known special ranges. Cloud networks often reserve extra addresses in each subnet.

References

Last verified . See our Accuracy & Editorial Policy. Found a problem? Email contact@tools.gift.