IP Subnet Calculator
Calculate the IPv4 network address, broadcast address, usable host range, subnet mask, wildcard mask and number of hosts for any CIDR.
Calculator
About this tool
About IP Subnet Calculator
Enter an IP address with a prefix like 192.168.1.130/26 (or pick the mask) to get every subnet detail network admins need, including binary masks and the address type.
How it works
Example
How to use this tool
- Type an IPv4 address – add /prefix or /mask if you like.
- Or choose the subnet mask from the list.
- Read the network, broadcast, host range and masks.
Frequently asked questions
Why are two addresses not usable?
The first address names the network and the last is the broadcast address, so hosts cannot use them. /31 links are an exception (RFC 3021).
Does it support IPv6?
This tool is for IPv4. IPv6 subnets are almost always /64 for local networks.
Do I need to sign up?
No. The calculator is free, works in your browser and nothing you type is stored.
Does the IP Subnet Calculator send my data to a server?
No. The IP Subnet Calculator runs entirely in your browser using JavaScript, so tokens, code and data you paste stay on your device. You can even use it offline once the page has loaded.