Subnet Calculator – IPv4 Subnet & IP Range
Free IPv4 subnet calculator — enter an IP with a CIDR prefix or mask to get the network, broadcast, usable hosts, wildcard and binary octets.
Network Addresses
Host Range
Binary Octets
On this page
About this Tool
The IPv4 Subnet Calculator splits any IPv4 address and CIDR prefix (or subnet mask) into its network address, broadcast address, usable host range, wildcard mask and binary octets. It handles edge cases like /31 point-to-point links and /32 single-host routes, and flags the address class and private-versus-public type. Results update from the pre-filled 192.168.1.10/24 demo so you can explore instantly.
Common Use Cases
Plan Office Networks
Size VLANs and DHCP scopes by checking usable host counts before assigning a prefix.
Write Firewall Rules
Derive exact network and wildcard addresses for ACLs and security-group CIDR blocks.
Study for Certifications
Practice subnetting with binary octets visible for CCNA and Network+ exam prep.
Debug Connectivity
Confirm two hosts share a network address when pings fail across subnets.
Pro Tips
- !
Prefix and Mask Stay in Sync
Typing a valid prefix auto-fills its mask and vice versa — a quick way to memorize pairs like /24 with 255.255.255.0.
- !
Remember /31 and /32
These have no traditional broadcast range: /31 gives two usable point-to-point addresses and /32 is a single host route.
- !
Usable Means Minus Two
For prefixes /30 and shorter, subtract the network and broadcast addresses from the total to get assignable hosts.
FAQs
Was this calculator helpful?
