Free calculators that show the formula, your inputs, every step and the assumptions, with sources cited. Share any result with a link; no account, no cookies.
Subnet / CIDR Calculator
Network, broadcast, host range, address type, and a splitter for smaller subnets, with the bit math shown.VLSM subnet planner
Carve one block into subnets by host count, largest first, with every step shown.Fiber optic loss budget
Typical vs TIA-568 maximum loss, power margin and a pass/fail test limit for your link.
Network, broadcast, host range, address type, and a splitter for smaller subnets, with the bit math shown.VLSM subnet planner
Carve one block into subnets by host count, largest first, with every step shown.Fiber optic loss budget
Typical vs TIA-568 maximum loss, power margin and a pass/fail test limit for your link.
How the subnet math works
An IPv4 prefix length says how many leading bits are the network. A /22 leaves 32 − 22 = 10 host bits, so the block holds 2¹⁰ = 1,024 addresses: 1,022 usable hosts after the network and broadcast addresses. Two exceptions: a /31 point-to-point link uses both addresses (RFC 3021), and a /32 is a single host.
The calculator also labels the address type from the registries: private ranges in RFC 1918 (10/8, 172.16/12, 192.168/16) and the carrier-grade NAT range 100.64.0.0/10 in RFC 6598. Classless addressing itself is defined in RFC 4632.