Subnet calculator
Calculate the network address, broadcast, netmask and host count of an IPv4 subnet. Works with CIDR (/24) and netmask notation.
Runs in your browser ยท nothing is sentIP & subnetting
| Network address | 192.168.1.0 |
|---|---|
| Broadcast | 192.168.1.255 |
| Netmask | 255.255.255.0 (/24) |
| Wildcard | 0.0.0.255 |
| First host | 192.168.1.1 |
| Last host | 192.168.1.254 |
| Number of hosts | 254 |
| Class | C |
| Type | Private (RFC 1918) |
About this tool
Enter an IPv4 address with CIDR notation (for example 192.168.1.10/24) or with a netmask. The calculator instantly shows the network address, broadcast, first and last usable address and the number of hosts.
๐ Your input stays in your browser and is never sent anywhere.
Frequently asked questions
How many hosts fit in a /24?
A /24 has 256 addresses, of which 254 are usable for hosts. The network and broadcast addresses are reserved.
What is a wildcard mask?
The inverse of the netmask. It is used in Cisco ACLs, among other places.
What to do next
Found a problem or have a suggestion? Tell us