CIDR Block—
Network Address—
Broadcast Address—
Subnet Mask—
Wildcard Mask—
Usable Host Range—
Usable Hosts / Total IPs—
Address Scope—

Quick IPv4 CIDR Reference Table

CIDRSubnet MaskTotal IPsUsable HostsTypical Use
/32255.255.255.25511 (Host route)Firewall allowlist / loopback
/30255.255.255.25242Point-to-point router links
/28255.255.255.2401614Small cloud/DMZ subnet
/24255.255.255.0256254Standard LAN / VPC subnet
/20255.255.240.04,0964,094AWS/GCP medium VPC block
/16255.255.0.065,53665,534Full private VPC (10.x or 172.16.x)

All bitwise IPv4 calculations happen locally inside your browser using unsigned 32-bit arithmetic—safe for internal corporate VPC planning and firewall rules.

Frequently Asked Questions

Why does a /24 subnet have 254 usable hosts instead of 256?

Two addresses are reserved: the first address (.0) identifies the network itself and the last address (.255) is the subnet broadcast address.

What is a wildcard mask used for?

Cisco ACLs, OSPF network statements, and some firewall rules use the bitwise inverse of the subnet mask (for example 0.0.0.255 for a /24).

Can I paste full CIDR like 10.20.0.0/16 directly into the IP box?

Yes. Pasting an IP/prefix string automatically splits the address and CIDR prefix for instant calculation.

Common IPv4 CIDR Subnet Sizes Quick Reference

PrefixSubnet MaskTotal IPsUsable Hosts
/24255.255.255.0256254 (standard LAN)
/26255.255.255.1926462 (small VPC subnet)
/28255.255.255.2401614 (small service block)
/30255.255.255.25242 (point-to-point link)
/32255.255.255.25511 (single host firewall rule)

Visualize individual octet bits next in IPv4 to Binary Converter or expand full ranges via CIDR to IP Range.

Frequently Asked Questions

Why are usable hosts 2 fewer than total IPs?
In standard IPv4 subnets (/30 and wider), the first address is reserved as the Network ID and the last as the Broadcast address.
How do cloud VPCs like AWS reserve IPs?
AWS VPC subnets reserve 5 addresses per subnet (network, router, DNS, future use, broadcast), leaving 251 usable IPs in a /24.
What are the RFC 1918 private IPv4 ranges?
10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 are reserved exclusively for private internal networks.