Type the address
With a prefix like /24, or with a mask like 255.255.255.0.
Type an IP address with its prefix (192.168.1.10/24) or its mask and get the network, broadcast, wildcard and usable range, and how many hosts fit. IPv6 prefixes are supported too.
100% private — the calculation is done in your browser and nothing is sent to any server.
With a prefix like /24, or with a mask like 255.255.255.0.
Network, mask, broadcast, and the first and last usable addresses.
Each value has a copy button.
Anyone who configures a router, writes a firewall rule, sets up a cloud network or studies for a networking exam ends up asking the same question: given this address and this prefix, what is the network, where does it end and how many devices fit? The answer comes from binary arithmetic that is easy to get wrong by hand. This calculator does it instantly and shows the result in the forms you will need.
CIDR notation writes the network as an address and the number of leading bits that identify it: 192.168.1.0/24 means the first 24 bits are the network. Older documents write the same thing as a mask. You can enter either, and the calculator checks that a mask is valid, that is, made of ones followed by zeros.
For IPv6 you enter an address with a prefix, such as 2001:db8::/32. The tool shows the first and last address of the block and how many addresses it holds, a number that quickly becomes astronomical. IPv6 does not use broadcast or masks in the dotted form.
It does not split a network into several subnets automatically, does not check whether an address is in use, and does not look up who owns it. It calculates from the numbers you type, in your browser. To read the parts of a web address, use the URL parser.
More utilities that also run without leaving your browser.