Subnet Calculator
Enter an IP address with CIDR notation to calculate network address, broadcast, subnet mask, host range, and more.
Enter an IPv4 address with CIDR prefix (e.g., 10.0.0.0/8, 172.16.5.10/20)
Enter an IP address with CIDR notation to calculate network address, broadcast, subnet mask, host range, and more.
Enter an IPv4 address with CIDR prefix (e.g., 10.0.0.0/8, 172.16.5.10/20)
The Oneyfy Subnet Calculator is an essential tool for network administrators, IT professionals, and students learning about TCP/IP networking. Enter any IPv4 address with a CIDR prefix length and instantly get all subnet details.
192.168.1.0/24.The CIDR prefix (e.g., /24) defines how many bits are the network portion of the address. The remaining bits define hosts.
Subnet Mask: first /N bits are 1, remaining bits are 0.
Network Address: IP AND subnet mask.
Broadcast: Network address OR (inverse of subnet mask).
Usable hosts: 2^(32−N) − 2 (subtract network and broadcast addresses).
192.168.1.0/24: Subnet mask 255.255.255.0, Network 192.168.1.0, Broadcast 192.168.1.255, First host 192.168.1.1, Last host 192.168.1.254, Usable hosts: 254.