Subnet Calculator

IP Address and Netmask:


IP Address:
Netmask:
Wildcard Mask:
CIDR Notation:
Network Address:
Usable Host Range:
Broadcast Address:
Binary Netmask:
Total number of hosts:
Number of usable hosts:
IP Class:

Example IP Address Inputs

IPv4
172.31.180.150 255.255.252.0Subnet Mask
192.168.5.219/28CIDR Notation
172.16.50.45 0.0.15.255Wildcard Mask
10.40.50.60 #52Calculates a network with 52 hosts
IPv6
2001:0db8:85a3::8a2e:0370:7334/64Prefix Mask
2001:0db8:85a3::/48/64Subnet the /48 network into /64 networks

About this Subnet Calculator

This free online subnet calculator allows for the input of a netmask, a Cisco wildcard mask or /CIDR notation.
The tool also has the ability to create a random IP address which can then be calculated. This is useful when studying and learning how to subnet and example practice networks are needed.
This calculator can also be used to do reverse subnetting where the number of hosts is known but the netmask is not.
The calculator is also IPv6 ready.

Stolen or borrowed?

Full credits go to: TunnelsUP, the original can be found at: Tunnels Up Subnet Calculator.