IP subnet calculator (IPv4 and IPv6)
Type an address with its prefix (192.168.1.10/26), or with its mask (192.168.1.10 255.255.255.192), or an IPv6 address (2001:db8::1/48).
Result
192.168.1.0/26Network
- Subnet mask
- 255.255.255.192
- Usable address range
- 192.168.1.1 – 192.168.1.62
- Broadcast address
- 192.168.1.63
- Usable addresses
- 62
- Total addresses
- 64
- Wildcard mask
- 0.0.0.63
Inputs
- Address and prefix
- 192.168.1.10/26
How it is calculated
The /n prefix keeps the first n bits of the address: that is the network part.
Result
Network
- Subnet mask
- 255.255.255.192
- Usable address range
- 192.168.1.1 – 192.168.1.62
- Broadcast address
- 192.168.1.63
How it is calculated
- The /n prefix keeps the first n bits of the address: that is the network part.
- Network = address AND mask; broadcast = network with all host bits set to 1.
- IPv4: the network and broadcast addresses are removed, except for /31 and /32.
- IPv6: no broadcast; the range runs from the first to the last address of the prefix. Short form follows RFC 5952.
Example
192.168.1.10/26: network 192.168.1.0/26, mask 255.255.255.192, range 192.168.1.1 – 192.168.1.62, broadcast 192.168.1.63, 62 usable addresses.
Good to know
- Pure arithmetic on the text you type: no network request, no scan.
- It does not tell whether an address is public, private or already in use.
Frequently asked questions
What is this tool used for?
Type an address with its prefix (192.168.1.10/26), or with its mask (192.168.1.10 255.255.255.192), or an IPv6 address (2001:db8::1/48).
How is the result calculated?
The /n prefix keeps the first n bits of the address: that is the network part.
What should I check before using the result?
Pure arithmetic on the text you type: no network request, no scan.