Skip to content
IP Subnet CalculatorNetwork Tools

IP Subnet Calculator

Inspect IPv4 and IPv6 networks, usable ranges, masks, address counts and smaller subnet plans from CIDR notation.

Loading Tool…

What Is the IP Subnet Calculator?

The IP Subnet Calculator turns an IPv4 or IPv6 address and prefix into a complete network record. For IPv4 it shows the network, broadcast, usable range, subnet mask, wildcard mask and host counts, including the special behavior of /31 and /32 networks. For IPv6 it reports the normalized prefix, full address range and exact address count without inventing a broadcast address.

How It Works

Enter an address in CIDR notation or pair an IPv4 address with a dotted subnet mask. For IPv4, the address ribbon marks network and host bits; the ledger lists the derived values for both address families. To plan a smaller network, choose a longer child prefix and inspect or export the capped range preview. All parsing and calculations run locally in the browser.

When to Use It

Use it while planning a LAN, VLAN, VPN, firewall rule, cloud network, point-to-point link or IPv6 allocation, or when checking whether two addresses belong to the same prefix.

Frequently Asked Questions

What Is CIDR Notation?
CIDR appends a slash and prefix length to an address. For example, /24 means the first 24 IPv4 bits identify the network and the remaining 8 bits identify addresses within it.
Why Does A /31 Have Two Usable Addresses?
RFC 3021 permits both addresses on an IPv4 /31 point-to-point link, so neither is treated as a traditional network or broadcast endpoint.
Does IPv6 Have A Broadcast Address?
No. IPv6 uses multicast rather than a broadcast address. The calculator therefore shows the first and last addresses in the prefix instead.

Found an issue? Send Feedback. See our data sources and update policy for tools that depend on changing information.