HomeCIDR Chart

IPv4 CIDR Chart.

Complete reference for all IPv4 prefix lengths from /1 to /32. Click any prefix to open it in the calculator.

Most common
Special purpose
CIDRSubnet MaskWildcard MaskTotal AddressesUsable HostsBlock SizeNotes
/00.0.0.0255.255.255.2554,294,967,2964,294,967,2944,294,967,296Entire IPv4 spaceCalculate →
/1128.0.0.0127.255.255.2552,147,483,6482,147,483,6462,147,483,648Calculate →
/2192.0.0.063.255.255.2551,073,741,8241,073,741,8221,073,741,824Calculate →
/3224.0.0.031.255.255.255536,870,912536,870,910536,870,912Calculate →
/4240.0.0.015.255.255.255268,435,456268,435,454268,435,456Calculate →
/5248.0.0.07.255.255.255134,217,728134,217,726134,217,728Calculate →
/6252.0.0.03.255.255.25567,108,86467,108,86267,108,864Calculate →
/7254.0.0.01.255.255.25533,554,43233,554,43033,554,432Calculate →
/8255.0.0.00.255.255.25516,777,21616,777,21416,777,216Class ACalculate →
/9255.128.0.00.127.255.2558,388,6088,388,6068,388,608Calculate →
/10255.192.0.00.63.255.2554,194,3044,194,3024,194,304Calculate →
/11255.224.0.00.31.255.2552,097,1522,097,1502,097,152Calculate →
/12255.240.0.00.15.255.2551,048,5761,048,5741,048,576Calculate →
/13255.248.0.00.7.255.255524,288524,286524,288Calculate →
/14255.252.0.00.3.255.255262,144262,142262,144Calculate →
/15255.254.0.00.1.255.255131,072131,070131,072Calculate →
/16255.255.0.00.0.255.25565,53665,53465,536Class BCalculate →
/17255.255.128.00.0.127.25532,76832,76632,768Calculate →
/18255.255.192.00.0.63.25516,38416,38216,384Calculate →
/19255.255.224.00.0.31.2558,1928,1908,192Calculate →
/20255.255.240.00.0.15.2554,0964,0944,096Calculate →
/21255.255.248.00.0.7.2552,0482,0462,048Calculate →
/22255.255.252.00.0.3.2551,0241,0221,024Calculate →
/23255.255.254.00.0.1.255512510512Calculate →
/24255.255.255.00.0.0.255256254256Class C — most commonCalculate →
/25255.255.255.1280.0.0.127128126128Half a /24Calculate →
/26255.255.255.1920.0.0.63646264Quarter /24Calculate →
/27255.255.255.2240.0.0.31323032Calculate →
/28255.255.255.2400.0.0.15161416Common in cloud VPCsCalculate →
/29255.255.255.2480.0.0.7868Calculate →
/30255.255.255.2520.0.0.3424Point-to-point linksCalculate →
/31255.255.255.2540.0.0.1222RFC 3021 — P2P no broadcastCalculate →
/32255.255.255.2550.0.0.0111Single host routeCalculate →

How to read this chart

CIDR — The prefix length (e.g. /24). The number of 1-bits in the subnet mask.

Subnet Mask — The dotted-decimal representation of the mask (e.g. 255.255.255.0).

Wildcard Mask — Bitwise inverse of the subnet mask. Used in Cisco ACLs and OSPF.

Total Addresses — All addresses in the subnet = 2^(32-prefix).

Usable Hosts — Total minus network and broadcast addresses.

Block Size — The number of addresses between consecutive subnets at this prefix length.

Private IP Ranges

These ranges are reserved for private use (RFC 1918) and are never routed on the public internet:

  • 10.0.0.0/8 — 16,777,214 hosts
  • 172.16.0.0/12 — 1,048,574 hosts
  • 192.168.0.0/16 — 65,534 hosts

Special ranges:

  • 127.0.0.0/8 — Loopback
  • 169.254.0.0/16 — Link-local (APIPA)
  • 224.0.0.0/4 — Multicast