ShowIP.net
Menu

Guide

CIDR Prefix Cheat Sheet

Use these common IPv4 and IPv6 prefix sizes to read a network rule or plan a subnet, then calculate the exact range when you need its boundaries.

Last reviewed: June 12, 2026

Calculate a CIDR prefix

Quick reference

Common IPv4 prefixes

/32
1 address. Often used for a single host allowlist rule.
/30
4 addresses, 2 traditionally usable host addresses.
/29
8 addresses, often seen in small provider allocations.
/24
256 addresses, netmask 255.255.255.0.
/16
65,536 addresses, common as a large private network boundary.
/8
16,777,216 addresses.

Quick reference

Common IPv6 prefixes

/128
1 IPv6 address.
/64
Common size for one IPv6 LAN or subnet.
/56
Often used as a residential or small-site delegation size.
/48
Often used as a site allocation size.
/32
Common size for a large provider or documentation-level block.

Advertisement

Guide

Check exact boundaries before using a range

The CIDR calculator shows the first and last address, broadcast, netmask and total count for a specific prefix. Check those values before copying a range into a rule.

Do not infer ownership from a prefix alone. A CIDR block is a range format; ASN and routing data explain who appears to operate a public network.

Guide

A host address can belong to a larger block

A value such as 8.8.8.8/24 contains host bits. Network tools usually normalize it to the canonical network 8.8.8.0/24 before calculating the range.

Reference

Key terms

Prefix
Slash length such as /24 or /64
Netmask
IPv4 dotted-decimal mask for a prefix
Broadcast
IPv4 address used for broadcast in traditional subnetting

In practice

Examples

Small IPv4 subnet

203.0.113.0/29 Eight IPv4 addresses. Calculate /29

IPv6 LAN

2001:db8:1::/64 One common IPv6 subnet size. Calculate /64

Next steps

Questions

Common questions

Why does a larger slash number mean fewer addresses?

The prefix fixes more leading bits as the network part, leaving fewer remaining bits for addresses inside the block.

Are IPv6 /64 networks always required?

Not for every use, but /64 is the standard size for many IPv6 LAN designs and features such as SLAAC.

Sources

References

Advertisement