Subnet / CIDR calculator
IPv4 and IPv6 networks: ranges, netmask, contains-IP check, splitting into subnets and the v4-in-v6 address forms.
What the calculator shows
Give it a network in CIDR notation — IPv4 or IPv6 — and it returns the range that block actually covers: network address, netmask, broadcast, the first and last usable host, and how many addresses fit. It also answers whether a specific address falls inside the block.
Useful when writing a security group, a NetworkPolicy or a route, where an off-by-one prefix silently doubles or halves what you just allowed.
Two more jobs live here: split a block into equal subnets by picking a longer prefix (a /24 into four /26s, a /48 into /52s per rack), and translate between the IPv4-in-IPv6 forms — the ::ffff: mapped notation that shows up in dual-stack logs, and the 6to4 2002::/16 prefix an address corresponds to.
Why is the usable host count two less than the total?
What happens with /31 and /32?
How do I pick a prefix for a subnet?
Related tools: Port checker, DNS lookup and GeoIP lookup.