CIDR & Subnet Calculator

Calculate exact IPv4 and IPv6 subnet boundaries, wildcard masks for firewall ACLs, 32-bit binary network/host masks, and split CIDR prefixes into equal sub-networks — all computed locally in real time.

Subnet Boundaries

CIDR Block
Network Address
Broadcast Address
Usable Host Range
Total Addresses
Usable Hosts

Masks & Classification

Subnet Mask
Wildcard Mask (ACL)
Address Scope
IP Integer (32-bit)
IP Hexadecimal
Special Notes

32-Bit Binary Breakdown (Blue = Network Bits, Amber = Host Bits)

Interactive Subnet Splitter

#Subnet CIDRFirst UsableLast UsableBroadcastUsable Hosts

Common IPv4 CIDR Reference Cheat Sheet

CIDRSubnet MaskWildcard MaskTotal IPsUsable HostsTypical Use
/24255.255.255.00.0.0.255256254Standard office LAN or cloud VPC subnet
/25255.255.255.1280.0.0.127128126Medium department VLAN
/26255.255.255.1920.0.0.636462Small subnet / microservice tier
/27255.255.255.2240.0.0.313230DMZ or compact server block
/28255.255.255.2400.0.0.151614Small business static IP block
/29255.255.255.2480.0.0.786Firewall/router transit segment
/30255.255.255.2520.0.0.342Legacy point-to-point router link
/31255.255.255.2540.0.0.122 (RFC 3021)Modern point-to-point router link
/32255.255.255.2550.0.0.011Single host route or firewall rule

Want worked binary examples and VPC subnet planning tips? Read our Practical Guide to CIDR & Subnetting →