Subnet Host Calculator

Network guide

How to use the Subnet Host Calculator

Calculate IPv4 subnet range, subnet mask, broadcast address, usable hosts, and public or private IP status from an IP address and CIDR prefix. The page also explains the iPv4 subnet range and shows a practical example: 192.168.1.10/24 belongs to network 192.168.1.0/24 with usable range 192.168.1.1 to 192.168.1.254.

  1. 1

    Enter your details

    Enter an IP address and CIDR prefix, then complete any other fields shown in the calculator.

  2. 2

    Check the calculation

    Review the result alongside the iPv4 subnet range: Addresses = 2^(32 - prefix); network = IP AND subnet mask; broadcast = network + addresses - 1.

  3. 3

    Compare scenarios

    Change one or more inputs to see how they affect the subnet Host Calculator result before you use the estimate.