IPv4 Subnet Calculator

Calculates an IPv4 subnet's network address, broadcast address, netmask, wildcard mask, and usable host range from CIDR notation. Enter an address and prefix, like "192.168.1.0/24".

Ad placeholder: Resp_Horizantal_1 (horizontal)
Ad placeholder: Resp_Square_1 (square)

Calculates an IPv4 subnet's network address, broadcast address, netmask, wildcard mask, and usable host range from CIDR notation. Enter an address and prefix, like "192.168.1.0/24".

Use cases

  • Planning how many usable hosts a subnet can support
  • Finding the broadcast address for a given network

Examples

A /24 network

192.168.1.0/24
{"network": "192.168.1.0", "broadcast": "192.168.1.255", "netmask": "255.255.255.0", "wildcard": "0.0.0.255", "prefix_length": 24, "total_addresses": 256, "usable_hosts": 254, "first_usable": "192.168.1.1", "last_usable": "192.168.1.254"}

FAQ

Is my data sent to a server?

Yes — the calculation runs on the server for this tool.