Buy me a coffee

IPv4 CIDR Calculator

Enter an IPv4 address and subnet mask in CIDR notation (e.g., 192.168.1.0/24) to calculate network details.

This tool calculates:

  • Network Address
  • Broadcast Address
  • Netmask
  • First Usable Host IP
  • Last Usable Host IP
  • Total Number of Hosts
  • Number of Usable Hosts
Note: Handles /31 (RFC 3021) and /32 correctly. IPv6 is not currently supported.

CIDR PrefixSubnet MaskTotal AddressesUsable HostsTypical Use Case
/32255.255.255.25511Single host route
/31255.255.255.25422Point-to-point links (RFC 3021)
/30255.255.255.25242Legacy point-to-point links
/29255.255.255.24886Small public IP block
/28255.255.255.2401614Small DMZ / subnet
/27255.255.255.2243230Cloud VPC micro-subnet
/26255.255.255.1926462Branch office subnet
/25255.255.255.128128126Medium departmental subnet
/24255.255.255.0256254Standard local network / Class C
/20255.255.240.04,0964,094Corporate office / Kubernetes pod CIDR
/16255.255.0.065,53665,534Standard Cloud VPC (AWS / Azure / GCP)
/8255.0.0.016,777,21616,777,214Class A Private Network (10.0.0.0/8)
Related Network & Security Tools

Explore more client-side developer utilities to speed up your daily workflow: