Subnet Calculator
Enter an IPv4 address and the CIDR prefix (0-32) and instantly get the subnet mask, broadcast address, usable IP range, host count, whether the IP is private, and its class.
Network / CIDR mask
Subnet result
IP
192.168.1.0Binary
11000000.10101000.00000001.00000000Hex
c0.a8.01.00Mask
255.255.255.0Wildcard
0.0.0.255Network
192.168.1.0Broadcast
192.168.1.255First usable IP
192.168.1.1Last usable IP
192.168.1.254Total hosts
256Usable hosts
254Class
CPrivate
YesRelated tools
Frequently asked questions
What is the CIDR prefix?+
The CIDR prefix indicates how many bits form the network part of the IP address. For example, /24 means the first 24 bits are the network and 8 remain for hosts.

