← All tools
// Networking

Subnet Calculator online

IPv4 CIDR subnet calculator - network, broadcast, host range, and more

Subnet Calculator logo
by
CHUNKY
MUNSTER

Using the IP Subnetting Tool

  1. Enter an IPv4 address in dotted form (192.168.1.42).
  2. Enter a prefix (/24) or a dotted-decimal mask (255.255.255.0).
  3. Read the network, broadcast, host range and host count.
  4. Use the wildcard mask field if you're writing a Cisco ACL.

Subnet Calculator simplifies the process of carving up address ranges for network configuration. Whether you are calculating VLSM or setting up a simple supernet, this tool provides the network address, broadcast, and usable host range instantly.

How the IPv4 CIDR and Network Divider Works

Edge cases are handled correctly: /31 follows RFC 3021 and reports two usable hosts for point-to-point links, while /32 reports a single host for loopback or host routes. This network divider accepts both CIDR notation and dotted-decimal mask inputs, showing results in prefix and binary forms for easy integration into Cisco configs.

Frequently Asked Questions

What's the wildcard mask used for?

It's the bitwise inverse of the subnet mask, used in Cisco IOS access-control lists (ACLs) and OSPF area definitions. /24 has subnet mask 255.255.255.0 and wildcard 0.0.0.255 - the wildcard tells the device which bits to ignore when matching.

Why does /30 give two usable hosts but /31 gives two as well?

Traditionally /30 reserves the first address as the network and the last as broadcast, leaving 2 hosts. /31 (defined in RFC 3021) re-uses both addresses as hosts on point-to-point links - common between routers - also giving 2 usable addresses but no overhead.

How is /32 a valid subnet?

A /32 represents a single host (a one-IP "subnet"). It's used in loopback interfaces, host routes and BGP advertisements where you specifically want to route a single address.

What about IPv6?

This tool is IPv4 only. IPv6 doesn't use broadcast (it uses multicast for similar functions), and the address arithmetic is done in 128-bit integers - see a dedicated IPv6 subnet calculator for that work.

Explore the full suite of Networking tools and 290+ other free utilities at Chunky Munster with our Subnet Calculator.