Free IP Subnet Calculator

CIDR in — network, broadcast, mask, host range and usable host count out.

Loading the tool…

What is an IP Subnet Calculator?

Every VPC, firewall rule and router config speaks CIDR, and off-by-one subnet math causes real outages.

Enter any IPv4 CIDR for the network and broadcast addresses, dotted netmask, first/last usable host, and exact counts — including correct /31 and /32 handling.

How to use the IP Subnet Calculator

  1. Enter a CIDR like 192.168.1.0/24.
  2. Read the full subnet breakdown.
  3. Use host counts to size ranges before allocating.

Frequently asked questions

Why usable hosts = total − 2?

The lowest address names the network and the highest is broadcast. /31 point-to-point links (RFC 3021) and /32 single hosts are the exceptions.

What does /24 actually mean?

The first 24 bits are the network — leaving 8 bits = 256 addresses, 254 usable.

How do I split a network into subnets?

Increase the prefix: a /24 splits into two /25s or four /26s. Calculate each child here.

IPv6 support?

IPv4 only for now — IPv6 prefix math is planned.

Need custom software?

BitsSolved builds SaaS products, web applications, mobile apps and business automation.

Talk to BitsSolved