Visual Subnet
Calculate IPv4 and IPv6 subnet details with CIDR notation
How to use Visual Subnet
- 1Enter the IP address and subnet mask (or CIDR prefix like /24).
- 2The tool derives the network address, broadcast address and usable host range.
- 3Read total hosts, usable hosts and the binary view.
What are subnets and CIDR?
hosts = 2^(32 − prefix) − 2 (minus network and broadcast)An IPv4 address is 32 bits; the subnet mask marks how many bits are network and how many are host. CIDR writes the network length as '/number', e.g. /24 means the first 24 bits are network, the last 8 are host.
Each subnet loses the network and broadcast addresses, so usable hosts = 2^hostbits − 2. Good subnetting cuts broadcast storms and improves address use.
Frequently asked questions
How many usable IPs in /24?
8 host bits → 256 addresses; minus network and broadcast leaves 254 usable.
Why subtract 2?
The network address (all 0s) and broadcast (all 1s) cannot be assigned to hosts.
CIDR vs subnet mask?
The CIDR prefix is the count of consecutive 1s in the mask. /24 equals 255.255.255.0.
More Tools
Visual Subnet
Calculate IPv4 and IPv6 subnet details with CIDR notation
CIDR Range
Calculate IP ranges from CIDR notation and check if an IP is within range
IP Address
Classify IP addresses by class (A-E) and identify public/private status
Throughput
Calculate network throughput from data transferred and time
