Why subnet at all?

/ 24

Network bits vs. host bits

Network bits (fixed for every device on this subnet) Host bits (unique per device)

Private & reserved IPv4 ranges

Defined by RFC 1918 and others. You'll run into these constantly in the calculator above.

RangeCIDRTypical use
10.0.0.0 – 10.255.255.25510.0.0.0/8Large private networks (common in enterprises and clouds)
172.16.0.0 – 172.31.255.255172.16.0.0/12Private networks (Docker's default bridge network)
192.168.0.0 – 192.168.255.255192.168.0.0/16Private networks (most home routers)
127.0.0.0 – 127.255.255.255127.0.0.0/8Loopback (127.0.0.1 = localhost)
169.254.0.0 – 169.254.255.255169.254.0.0/16Link-local (APIPA), self-assigned when DHCP fails
224.0.0.0 – 239.255.255.255224.0.0.0/4Multicast (one-to-many delivery)

Common gotchas