IP Subnet Calculator
Network, mask, broadcast and host range.
| Network address | 192.168.1.0/24 |
|---|---|
| Subnet mask | 255.255.255.0 |
| Wildcard mask | 0.0.0.255 |
| Broadcast address | 192.168.1.255 |
| First usable host | 192.168.1.1 |
| Last usable host | 192.168.1.254 |
| Usable hosts | 254 |
| Total addresses | 256 |
| IP class | C |
| Private or public | Private (RFC 1918) |
| Mask in binary | 11111111.11111111.11111111.00000000 |
How to use
- 1Type an IPv4 address, or paste CIDR like 10.0.0.0/16.
- 2Move the slider to set the prefix length.
- 3Read the network, broadcast, mask and host range.
- 4Copy all the details in one click.
Frequently asked questions
How many hosts does a /24 have?
256 addresses, of which 254 are usable. The first is the network address and the last is the broadcast.
What are private IP ranges?
10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. They're used inside homes and offices and aren't reachable from the internet.
Why do /31 and /32 show no lost addresses?
A /32 is a single host and a /31 is used for point-to-point links, so there's no separate network or broadcast address.
What is a wildcard mask?
The inverse of the subnet mask, used in router ACLs such as Cisco. For 255.255.255.0 it's 0.0.0.255.
You may also need
Chmod Calculator
Linux file permissions as numbers and rwx.
CSS Gradient Generator
Linear, radial and conic gradients with preview.
Box Shadow Generator
Design CSS box shadows visually.
Meta Tag Generator
SEO, Open Graph and Twitter tags with previews.
Robots.txt Generator
Create robots.txt and block AI crawlers.
User Agent Parser
See your browser, OS and device from the user agent.