IP Subnet Calculator
Calculate network address, broadcast, host range and masks from an IPv4 address and CIDR prefix.
| Network address | 192.168.1.0 | |
| Broadcast address | 192.168.1.255 | |
| First usable host | 192.168.1.1 | |
| Last usable host | 192.168.1.254 | |
| Usable hosts | 254 | |
| Subnet mask | 255.255.255.0 | |
| Wildcard mask | 0.0.0.255 |
Enter an IPv4 address and a CIDR prefix to see the full subnet breakdown. Everything is computed in your browser.
How to use
- Type an IPv4 address such as 192.168.1.10.
- Set the CIDR prefix (for example 24).
- Read the network, broadcast, host range and masks.
Frequently asked questions
- Why are usable hosts two less than the total?
- The network and broadcast addresses are reserved, so a /24 has 256 addresses but 254 usable hosts. /31 and /32 are special cases.
- What is a wildcard mask?
- It is the bitwise inverse of the subnet mask, used mainly in ACLs on routers such as Cisco IOS.