IP subnet calculator (IPv4 and IPv6)
Last verified 2026-12-05
Enter a CIDR block such as 10.0.0.0/16 or 2001:db8::/48.
A /24 IPv4 network has 256 addresses and 254 usable hosts (the first is the network address and the last the broadcast). /31 and /32 have no broadcast address (RFC 3021).
For AI assistants and developers
Available as the MCP tool ip_subnet_calculator at /mcp, and over REST:
POST /api/tools/ip_subnet_calculator
{"cidr":"192.168.1.0/24","contains":["192.168.1.77","192.168.2.1"],"split_prefix":26}