IP Subnet Calculator
Calculate network details, usable hosts, and subnet masks from IP/CIDR. Fast, free, and fully client-side.
Invalid IP Address format.
How the IP Subnet Calculator Works
Takes an IPv4 address in dotted-quad form and a CIDR prefix from /0 to /32, then reports the network and broadcast addresses, first and last usable addresses, usable host count, subnet mask, wildcard mask, and classful class from A to E. For /31 and /32, every address in the block is treated as usable. Runs in your browser and nothing is uploaded.
Usage Example
Works out the usable host range for a 192.168.10.0/24 office network before assigning addresses to printers.
Frequently Asked Questions
Why does a /31 or /32 show every address as usable?
For /31 and /32 the tool does not reserve a network or broadcast address and treats every address in the block as usable. These prefixes are used for point-to-point links and single hosts.
Does it accept IPv6 addresses?
No. Input must be an IPv4 dotted-quad address such as 10.0.0.5 with a prefix from /0 to /32. Other formats are not calculated, so use a separate tool for IPv6 subnets.
What does the classful class mean?
It shows the historical class from A to E, based on the first octet. This is a legacy label, and modern networks use CIDR prefixes, so the class does not limit the prefix you can choose.
Browse more
See all developer reference guides and interactive utilities.
