HomeNetworking › CIDR Range Calculator

CIDR Range Calculator

A prefix in, its boundaries out — first address, last address, how many there are, and what it sits inside.

Local toolYour network plan stays in your browser. Nothing you enter is uploaded, logged, or sent to any server.

Notes

Total addresses counts every address in the prefix. Usable hosts subtracts the network and broadcast addresses for IPv4 — except at /31 and /32, where RFC 3021 and host routing mean all addresses are usable. IPv6 has no broadcast address, so the two figures are always equal.

The containment check answers the question that actually causes arguments: whether one prefix sits inside another. It distinguishes contained from overlapping, because a partial overlap is a different problem and usually a mistake.

Related tools

Subnet Calculator shows the mask and the bits. IP Range to CIDR goes the other way, from two addresses to prefixes.