Your IP address
…
Country
β€”
City
β€”
ISP
β€”
Timezone
β€”
ASN
β€”
Type
β€”

Examples: 10.0.0.0/8 Β· 172.16.0.0/12 Β· 192.168.1.128/26

IPv4 Subnet Calculator

Enter any IPv4 address with a CIDR prefix length (e.g. 192.168.1.0/24) to calculate all subnet properties. This tool is essential for network engineers, system administrators and anyone studying for networking certifications (CCNA, CompTIA Network+).

Calculated Values Explained

  • Network Address β€” The first address in the subnet. Not assignable to hosts. Identifies the subnet itself.
  • Subnet Mask β€” The dotted-decimal notation of the network mask (e.g. /24 = 255.255.255.0).
  • Broadcast Address β€” The last address in the subnet. Used to send packets to all hosts on the subnet simultaneously. Not assignable to hosts.
  • First Usable Host β€” Network address + 1. The first IP assignable to a host.
  • Last Usable Host β€” Broadcast address βˆ’ 1. The last IP assignable to a host.
  • Host Count β€” Total assignable host addresses = 2^(32βˆ’prefix) βˆ’ 2.
  • Wildcard Mask β€” The bitwise inverse of the subnet mask. Used in access control lists (ACL) and OSPF configurations.

Common CIDR Subnets Reference

  • /8 β€” Class A β€” 16,777,214 hosts β€” e.g. 10.0.0.0/8
  • /16 β€” Class B β€” 65,534 hosts β€” e.g. 172.16.0.0/16
  • /24 β€” Class C β€” 254 hosts β€” e.g. 192.168.1.0/24
  • /28 β€” Small subnet β€” 14 hosts β€” common for router interfaces
  • /30 β€” Point-to-point link β€” 2 hosts β€” router-to-router connections
  • /32 β€” Single host β€” loopback, static route host entries

Private IP Ranges (RFC 1918)

Three ranges are reserved for private networks and are not routable on the public internet: 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. These are used in home networks, corporate LANs and virtual private clouds.