Subnet Calculator

Calculate network details from CIDR notation. Enter an IP address with a prefix length (e.g. 192.168.1.0/24) to get the network address, broadcast address, subnet mask, usable host range, and total host count.

Subnet Calculator
Enter an IP in CIDR notation, e.g. 192.168.1.1/24

Understanding Subnets & CIDR

CIDR (Classless Inter-Domain Routing) notation expresses an IP address and its associated network prefix. The /24 in 192.168.1.0/24 means the first 24 bits are the network part and the remaining 8 bits identify individual hosts.

/8
16.7M hosts
10.0.0.0/8
/16
65,534 hosts
172.16.0.0/16
/24
254 hosts
192.168.1.0/24
/30
2 hosts
Point-to-point