A subnet calculator divides IP networks into smaller subnetworks. Enter a network address and prefix length (like 192.168.1.0/24) to see the address range, usable hosts, subnet mask, and broadcast address. PrefixBench supports IPv4, IPv6, VLSM planning, and cloud provider modes.
How many usable hosts are in a /24 subnet?
A /24 has 256 total addresses and 254 usable hosts (network and broadcast are reserved). Cloud providers reserve more: AWS 5 (251 usable), Azure 5 (251 usable), GCP 4 (252 usable), OCI 3 (253 usable).
What is VLSM and why is it useful?
VLSM (Variable Length Subnet Masking) creates subnets of different sizes from one network. Specify how many hosts each subnet needs, and VLSM assigns the smallest matching prefix to minimize waste.
How does IPv6 subnetting differ from IPv4?
IPv6 uses 128-bit addresses with a much larger address space. Every subnet is conventionally /64 (2^64 addresses). There are no reserved network or broadcast addresses, so all addresses are usable.
How many IPs does AWS reserve in a VPC subnet?
AWS reserves 5 IPs: network address (.0), VPC router (.1), DNS server (.2), reserved for future use (.3), and broadcast (.255 in a /24). A /24 in AWS has 251 usable IPs.