CIDR notation expresses an IP address and its network prefix as a single string, e.g. 192.168.1.0/24. The number after the slash is the prefix length — how many bits belong to the network part.
Calculate network addresses, host ranges, subnet masks, CIDR blocks, and wildcard masks — convert between prefix lengths, dotted-decimal, hex, and binary, entirely in your browser.
Type 192.168.1.0/24 or an IP with a subnet mask.
Get the full subnet breakdown instantly — no server needed.
Switch tabs to convert masks, compute ranges, or look up the bits-to-hosts table.
24), dotted-decimal mask
(e.g. 255.255.255.0), or hex mask (e.g. FFFFFF00) — the other
representations are calculated instantly.Full reference for all IPv4 prefix lengths from /0 (entire internet) to /32 (single host).
| Prefix | Subnet Mask | Total IPs | Usable Hosts | Wildcard Mask |
|---|
| Name | CIDR | Range | Usable Hosts | Common Use |
|---|---|---|---|---|
| Class A Private | 10.0.0.0/8 | 10.0.0.0 – 10.255.255.255 | 16,777,214 | Large enterprise, cloud VPCs |
| Class B Private | 172.16.0.0/12 | 172.16.0.0 – 172.31.255.255 | 1,048,574 | Medium networks, Docker default |
| Class C Private | 192.168.0.0/16 | 192.168.0.0 – 192.168.255.255 | 65,534 | Home routers, small offices |
| Loopback | 127.0.0.0/8 | 127.0.0.1 – 127.255.255.254 | — | Localhost, testing |
| Link-Local | 169.254.0.0/16 | 169.254.0.1 – 169.254.255.254 | 65,024 | APIPA (no DHCP available) |
CIDR notation expresses an IP address and its network prefix as a single string, e.g. 192.168.1.0/24. The number after the slash is the prefix length — how many bits belong to the network part.
A /24 subnet has 256 total IPs, of which 254 are usable hosts. The first address is the network address and the last is the broadcast address.
A wildcard mask is the inverse of a subnet mask — 0-bits mark the network portion and 1-bits mark the host portion. Wildcard masks are used in Cisco ACLs and OSPF configurations.