Subnet calculator › Guides

Private IP ranges explained (10.x, 172.16.x, 192.168.x)

The three private IPv4 ranges, special ranges like CGNAT and link-local, and how to pick ranges for office and cloud networks.

The three private ranges (RFC 1918)

These ranges are never routed on the internet, and anyone can use them freely inside their own network.

RangeAddressesCountTypical use
10.0.0.0/810.0.0.0 - 10.255.255.25516,777,216Large corporate networks, cloud VPCs
172.16.0.0/12172.16.0.0 - 172.31.255.2551,048,576Mid-sized networks, Docker
192.168.0.0/16192.168.0.0 - 192.168.255.25565,536Home and small office routers

A common mistake: 172.32.0.1 is not private. The private range runs from 172.16 to 172.31 only.

Special ranges that are not private but matter

RangeNameWhat it means
100.64.0.0/10Carrier-grade NATISPs use it to put many customers behind one public IP. If your router’s WAN address is in this range, port forwarding from outside will not work.
169.254.0.0/16Link-local (APIPA)Self-assigned when no DHCP server answers. Seeing 169.254.x.x on a PC means a DHCP problem. Cloud metadata (169.254.169.254) lives here too.
127.0.0.0/8LoopbackThe machine itself. Usually only 127.0.0.1 is used.
192.0.2.0/24 and two moreDocumentation (RFC 5737)Addresses for manuals and examples. 198.51.100.0/24 and 203.0.113.0/24 serve the same purpose.
198.18.0.0/15BenchmarkingReserved for network device performance testing.

Choosing ranges for office and cloud networks

Is my IP private?

Enter it into the subnet calculator and check "Address type": it shows private, CGNAT, public and so on. If your router’s WAN (internet) address is private or 100.64.x.x, your ISP is doing another layer of NAT.

More guides