Kernaali Tools
References

IPv4 Subnet / CIDR Cheat Sheet

A printable /0–/32 table of IPv4 masks, block sizes and ordinary usable address counts.

Prefix, mask and capacity

Use the prefix to select an address-block size. Counts below describe arithmetic capacity; special-use reservations and platform rules can reduce what you may assign.

PrefixNetmaskAddressesUsable*
/00.0.0.04,294,967,2964,294,967,294
/1128.0.0.02,147,483,6482,147,483,646
/2192.0.0.01,073,741,8241,073,741,822
/3224.0.0.0536,870,912536,870,910
/4240.0.0.0268,435,456268,435,454
/5248.0.0.0134,217,728134,217,726
/6252.0.0.067,108,86467,108,862
/7254.0.0.033,554,43233,554,430
/8255.0.0.016,777,21616,777,214
/9255.128.0.08,388,6088,388,606
/10255.192.0.04,194,3044,194,302
/11255.224.0.02,097,1522,097,150
/12255.240.0.01,048,5761,048,574
/13255.248.0.0524,288524,286
/14255.252.0.0262,144262,142
/15255.254.0.0131,072131,070
/16255.255.0.065,53665,534
/17255.255.128.032,76832,766
/18255.255.192.016,38416,382
/19255.255.224.08,1928,190
/20255.255.240.04,0964,094
/21255.255.248.02,0482,046
/22255.255.252.01,0241,022
/23255.255.254.0512510
/24255.255.255.0256254
/25255.255.255.128128126
/26255.255.255.1926462
/27255.255.255.2243230
/28255.255.255.2401614
/29255.255.255.24886
/30255.255.255.25242
/31255.255.255.25422
/32255.255.255.25511

Reading the table

A /28 has 16 addresses. An aligned block beginning at 10.42.9.80 ends at .95; its ordinary host range is .81–.94. Moving one row toward a longer prefix halves the address count.

* /31 assumes a point-to-point link with two endpoints. /32 identifies one host. Other rows subtract network and broadcast, even where the whole block includes addresses with special semantics. The /0 row is not an inventory of publicly usable hosts.

Boundary check

Within a partially masked octet, valid network boundaries are multiples of 256 minus that mask octet. A mask ending in 240 therefore steps by 16. The network is the lower boundary containing the input, not necessarily the input itself.

Technical references

Reviewed 9 September 2026. Found an issue? Send a correction with a reproducible example.