Subnet Calculator
Enter an IPv4 address and CIDR to get network, broadcast, host range and mask details.
Frequently Asked Questions
What is a CIDR prefix?
CIDR notation like /24 says how many of the 32 IPv4 bits belong to the network. A /24 leaves 8 bits for hosts, giving 256 addresses of which 254 are usable.
Why are two addresses unusable?
The first address identifies the network itself and the last is the broadcast address, so usable hosts run from network+1 to broadcast-1. Point-to-point /31 links are a special exception in practice.
What is the wildcard mask?
The wildcard mask is the inverse of the subnet mask (0s become 1s and vice versa). It is used in router ACLs and OSPF configuration, notably on Cisco equipment.
Does it support IPv6?
This calculator is IPv4-only. IPv6 subnets are usually /64 and the address counts are astronomically large, so they rarely need this style of calculation.
Related Tools
IP Address Converter
Convert IPv4 addresses to integer, binary, hex and octal — and numbers back to IPv4.
URL Parser
Break a URL into protocol, host, path and a full query-parameter table.
Regex Tester
Test and debug regular expressions with live matching and highlighting.
User Agent Parser
Paste any user-agent string and see browser, OS, device type and engine detected.