ToolPuma Logo

IPv4 Calculator

Compute subnet, mask, broadcast and usable hosts.

What Is a IPv4 Calculator?

The IPv4 Calculator computes the subnet information for any IPv4 address and prefix length. It shows the subnet mask, wildcard mask, network address, broadcast address, first and last usable hosts, and the total and usable host counts.

How to Use This IPv4 Calculator

  1. 1
    Enter an addressType an IPv4 address.
  2. 2
    Set the prefix or maskAdjust the slider or type a subnet mask.
  3. 3
    Read the subnetReview the network, broadcast, and usable host ranges.

Frequently Asked Questions

The broadcast address is the last address in a subnet, used to send packets to all hosts on that subnet at once. It cannot be assigned to a single host.
Usable hosts are the addresses between the network address and the broadcast address. For a /24 subnet there are 254 usable addresses (256 minus 2).
The wildcard mask is the inverse of the subnet mask and is used in access-control lists and routing to match a range of addresses.