Skip to main content

Tools

CIDR Calculator

Calculate a subnet's network address, broadcast address, mask, and usable host range — plus quick-reference tables for private, reserved, and special IP ranges.

Calculator

Network address
Broadcast address
Subnet mask
Wildcard mask
Usable host range
Usable hosts
Total addresses
Classification

Common prefix lengths

PrefixSubnet maskTotal addressesUsable hosts
/30255.255.255.25242
/29255.255.255.24886
/28255.255.255.2401614
/27255.255.255.2243230
/26255.255.255.1926462
/25255.255.255.128128126
/24255.255.255.0256254
/23255.255.254.0512510
/22255.255.252.01,0241,022
/21255.255.248.02,0482,046
/20255.255.240.04,0964,094
/16255.255.0.065,53665,534
/8255.0.0.016,777,21616,777,214

Private & reserved IPv4 ranges

RangePurpose
10.0.0.0/8Private — RFC 1918
172.16.0.0/12Private — RFC 1918
192.168.0.0/16Private — RFC 1918
100.64.0.0/10Carrier-grade NAT — RFC 6598
127.0.0.0/8Loopback
169.254.0.0/16Link-local (APIPA)
192.0.0.0/24IETF protocol assignments
192.0.2.0/24Documentation (TEST-NET-1)
198.51.100.0/24Documentation (TEST-NET-2)
203.0.113.0/24Documentation (TEST-NET-3)
198.18.0.0/15Benchmark testing
224.0.0.0/4Multicast
240.0.0.0/4Reserved for future use
255.255.255.255/32Limited broadcast

Special IPv6 ranges

RangePurpose
::/128Unspecified address
::1/128Loopback
fc00::/7Unique local — private, RFC 4193
fe80::/10Link-local
::ffff:0:0/96IPv4-mapped address
64:ff9b::/96NAT64
2001:db8::/32Documentation
2002::/166to4 (deprecated)
ff00::/8Multicast
2000::/3Global unicast — public