Subnet calculator

The following address ranges are reserved for private networks.
  • 10.0.0.0/8
  • 172.16.0.0/12
  • 192.168.0.0/16
Note that the netmask is different for each one. Your netmask must be equal to or larger than the base mask of the private network range that you choose to use.
Input network
Address in binary
Reserved range. Network range. Host range.
Netmask in binary IP
Netmask in decimal IP
Total number of networks
Total number of hosts per network
Note: The first and last host address are reserved for network and broadcast, so in practice the actual number is 2 less than what is shown here.
Example networks