Subnet Calculator
Work out a subnet’s range, mask and broadcast address.
Result
NetworkExample
192.168.1.1 to 192.168.1.254
- Address type
- Private (RFC 1918)
- Usable hosts
- 254
- First host
- 192.168.1.1
- Last host
- 192.168.1.254
- Broadcast
- 192.168.1.255
- Subnet mask
- 255.255.255.0
- Wildcard mask
- 0.0.0.255
- Total addresses
- 256
- Address in binary
- 11000000.10101000.00000001.00001010
- Mask in binary
- 11111111.11111111.11111111.00000000
Show stepsHide steps
Thanks.Tell us why
Runs on your device.
Questions
What does /24 mean?
It is the prefix length: the first 24 bits of the address name the network and the remaining 8 name hosts in it. A /24 has 256 addresses, 254 of them usable, because the first is the network address and the last the broadcast address. Its mask is 255.255.255.0.
Why do /31 and /32 show no broadcast address?
A /32 is a single host. A /31 has two addresses, and point-to-point links use both (RFC 3021), so neither is set aside for broadcast.
How do I split a network into subnets?
Enter the network and a longer prefix under “Split into subnets of”. Splitting 10.0.0.0/24 into /26 gives four subnets of 64 addresses each, listed with their host ranges.
What is a wildcard mask?
The subnet mask with its bits flipped (0.0.0.255 for a /24). Cisco access lists and OSPF use it to say which bits must match.
Is it free? Do I need an account?
It is free to use and there is nothing to sign up for. There are no watermarks and no daily limits.
Missing something, or not working as it should? Tell us