IPv4 Subnet Calculator (CIDR)

Calculate network address, broadcast, usable host range, netmask, wildcard and host count for an IPv4 address in CIDR notation.

Results

Network addressβ€”
Broadcast addressβ€”
Usable host rangeβ€”
Usable hostsβ€”
Subnet maskβ€”
Wildcard maskβ€”
Class / typeβ€”
Address in binaryβ€”

How to use the IPv4 Subnet Calculator

  1. Enter or select: IP address / prefix.
  2. The results (Network address, Broadcast address, Usable host range, Usable hosts, Subnet mask, Wildcard mask, Class / type, Address in binary) are calculated instantly as you type.
  3. Use β€œCopy link” to share the calculation with the same input values.

Formula

  • Network = IP AND mask
  • Broadcast = network OR NOT mask
  • Hosts = 2^(32 βˆ’ prefix) βˆ’ 2