IP Subnet Calculator
Find the network address, subnet mask, broadcast address, wildcard mask and usable host range for any IPv4 address and prefix length.
An IPv4 address like 10.0.5.20/24. You can also give the prefix below.
Network address
192.168.1.128/26
- Subnet mask
- 255.255.255.192
- Usable hosts
- 192.168.1.129 to 192.168.1.190
- Number of usable hosts
- 62
- Broadcast address
- 192.168.1.191
- Wildcard mask
- 0.0.0.63
192.168.1.130/26 is in network 192.168.1.128, mask 255.255.255.192, with 62 usable addresses from 192.168.1.129 to 192.168.1.190.
How it's worked out
- Block size
2^(32 − 26)64 - Network
the address rounded down to a multiple of the block size192.168.1.128 - Usable hosts
block size − 2 (network and broadcast)62
How it works
Block size = 2^(32 − prefix) · Usable hosts = block size − 2
Worked example
192.168.1.130/26 has a block size of 64, so it's in network 192.168.1.128 with broadcast 192.168.1.191, mask 255.255.255.192, and 62 usable hosts from .129 to .190.
Questions people ask
How many hosts are in a /24?
256 addresses, of which 254 are usable: the first is the network address and the last the broadcast.
What is a /26 subnet mask?
255.255.255.192, giving 64 addresses and 62 usable hosts.
What is a wildcard mask?
The inverse of the subnet mask, used in router access lists: 0.0.0.63 for a /26.
About this calculator
Formula and rules last checked 25 October 2026Written and tested by the CalculatorDex teamReport a problem
