Free · no signup

IP Subnet Calculator

Paste any IPv4 or IPv6 CIDR and get the network, broadcast, usable range, host counts and masks instantly — everything runs in your browser, nothing is sent to a server.

Results

Divide this network into equal subnets

Subnet Address range Usable hosts

Check the math — known answers

Network The numbers
10.0.0.0/8 16,777,216 addresses — 16,777,214 usable (10.0.0.1 – 10.255.255.254)
192.168.1.0/24 network 192.168.1.0 · broadcast 192.168.1.255 · usable 192.168.1.1 – 192.168.1.254 (254 hosts)
172.16.0.0/12 1,048,576 addresses — 1,048,574 usable (172.16.0.1 – 172.31.255.254)
192.0.2.0/31 2 addresses, both usable — point-to-point per RFC 3021, no broadcast
2001:db8::/64 18,446,744,073,709,551,616 addresses (≈ 1.8 × 1019) — one standard IPv6 subnet
Paste any of these into the calculator above — it should agree to the address.

CIDR in five minutes

An IPv4 address is 32 bits, and CIDR notation simply says where to cut them: 192.168.1.0/24 means the first 24 bits name the network and the remaining 8 identify hosts inside it. The netmask is the same cut written as an address — 24 one-bits then zeros gives 255.255.255.0 — and the wildcard mask is its inverse. Every prefix you shorten doubles the network: a /24 holds 256 addresses, a /23 holds 512, and a /8 holds 16.7 million.
Two addresses in every ordinary subnet are spoken for: the all-zeros host part is the network address that names the subnet, and the all-ones host part is the broadcast address. That's why a /24 gives you 254 usable hosts, not 256. The deliberate exception is the /31: RFC 3021 noticed that a point-to-point link between two routers has no use for a broadcast address, so both addresses of a /31 are usable — halving the address burn of the /30s those links used to get. A /32 goes one step further and is just a route to a single host.
If your network uses addresses starting 10., 172.16–31. or 192.168., that's by design: RFC 1918 reserves 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 for private use, never routed on the public internet. Carving those blocks into subnets is how most internal networks are planned — and once the ranges are drawn, the practical question becomes whether the services living in them still answer. Our guide to TCP port monitoring covers watching exactly that, port by port.
IPv6 makes the arithmetic absurd on purpose. A single /64 — the standard subnet size, and the one SLAAC autoconfiguration expects — holds 264 addresses, more than four billion complete IPv4 internets. You still subnet, though, just not to save addresses: you subnet to give sites, VLANs and security zones clean boundaries. Convention is to split on nibble boundaries (/48, /52, /56, /60, /64), because each hex digit of an IPv6 address is exactly 4 bits — subnets then align with the written address and with reverse-DNS zone cuts instead of straddling a digit. And since the names pointing into your ranges are a failure domain of their own, it's worth reading up on choosing a DNS provider and building in redundancy.
A subnet plan is a map, and maps go stale the day something on them stops responding. If the hosts in these ranges matter to you, put them under continuous monitoring, free — so the first sign of trouble is an alert, not a user.

Frequently asked questions

CIDR (Classless Inter-Domain Routing) notation writes a network as address/prefix — 192.168.1.0/24 means the first 24 of the address's 32 bits identify the network and the remaining 8 identify hosts inside it. It replaced classful A/B/C addressing in 1993 and lets a network be any power-of-two size.

254. A /24 spans 256 addresses, but two are reserved: the all-zeros host address (192.168.1.0, the network address that names the subnet) and the all-ones address (192.168.1.255, the broadcast address). That leaves 192.168.1.1 through 192.168.1.254 for hosts.

Point-to-point links between two routers. RFC 3021 drops the network/broadcast reservation for /31s — a two-device wire has no use for a broadcast address — so both of its 2 addresses are usable. That halves the address burn versus the /30 these links traditionally got.

No. IPv6 removed broadcast entirely — one-to-many delivery uses multicast groups instead (ff02::1 reaches all nodes on the link). The last address of an IPv6 subnet is an ordinary host address, which is why this calculator shows no broadcast for IPv6 networks.

RFC 1918 reserves three blocks for private use: 10.0.0.0/8 (16.7 million addresses), 172.16.0.0/12 (about a million) and 192.168.0.0/16 (65,536). They are never routed on the public internet, so any network can reuse them internally behind NAT.

Don’t check it once — watch it 24/7

Knowing your ranges is step one — knowing when a host in them stops answering is the part that pages you. CompleteStatus runs this exact check around the clock and alerts you the moment something changes — before your users (or attackers) notice.
Monitor this free Try the other free tools
Uptime is table stakes. We watch the rest — security headers, email authentication, certs and DNS, with the fix attached.
Start free
Company
© 2026 CompleteStatus. All rights reserved. CompleteStatus — operated in the United States · support@completestatus.com