IPv4 Subnet Calculator

Enter an IPv4 address and prefix length (CIDR) to calculate network address, broadcast address, host range, subnet mask, wildcard mask, and usable host count.

Enter an IPv4 address.

CIDR prefix length (e.g. 24 for /24).

Result

Enter your values and press Calculate — the result appears here.

Worked examples

Calculate /24

  • ip = 192.168.1.100
  • prefix = 24

Result: Network: 192.168.1.0, Broadcast: 192.168.1.255

Frequently asked questions

What is the difference between /24 and /25?

/24 gives 256 addresses (254 usable hosts). /25 splits that into two subnets of 128 addresses (126 usable hosts) each.

Why subtract 2 from total hosts?

The network address and broadcast address cannot be assigned to hosts.

💬 Discuss on BestWordz Community

Join the conversation about Cybersecurity, ipv4 subnet calculator, ipv4 subnet on the BestWordz Community forum.

Visit Forum →
Copied!