Calculate IPv4 network, broadcast, usable range, and host count from CIDR.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
An address and prefix become 32-bit values. Masking derives network and broadcast, and conventional IPv4 rules derive first and last usable addresses and wildcard mask.
192.168.1.0/24
Network address: 192.168.1.0 Broadcast address: 192.168.1.255 Subnet mask: 255.255.255.0 Wildcard mask: 0.0.0.255 CIDR: 24 First host: 192.168.1.1 Last host: 192.168.1.254 Total hosts: 256 Usable hosts: 254 IP class: C Is private: yes Binary mask: 11111111.11111111.11111111.00000000 IP binary: 11000000.10101000.00000001.00000000
VLAN planning, firewall summaries, and IPAM allocation calculate subnets.