IT calculators

Show-your-work calculators with sources cited.

FREE CALCULATORS

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.

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.