IPv4 Subnet Calculator

Enter an IPv4 address with a CIDR prefix or subnet mask to get the network, broadcast, usable host range, mask, wildcard and total host count.

About the IPv4 Subnet Calculator

The IPv4 Subnet Calculator turns an address and a prefix length into everything you need to configure a subnet: network and broadcast address, first and last usable host, subnet mask, wildcard mask and host count. The math runs in your browser.

How to Use the IPv4 Subnet Calculator

  1. Type an IPv4 address, for example 192.168.10.37.
  2. Enter a CIDR prefix such as /26 or a dotted subnet mask, or tap one of the prefix shortcuts.
  3. Press Calculate.
  4. Read the network, broadcast, usable host range, masks and host count, and copy any value you need.