Subnet Calculator
Calculate network details from any IPv4 address and subnet mask or CIDR notation. Get network address, broadcast address, host range, usable hosts, and binary representations.
Common CIDR Reference
| CIDR | Subnet Mask | Usable Hosts |
|---|---|---|
| /8 | 255.0.0.0 | 16,777,214 |
| /16 | 255.255.0.0 | 65,534 |
| /20 | 255.255.240.0 | 4,094 |
| /22 | 255.255.252.0 | 1,022 |
| /24 | 255.255.255.0 | 254 |
| /25 | 255.255.255.128 | 126 |
| /26 | 255.255.255.192 | 62 |
| /27 | 255.255.255.224 | 30 |
| /28 | 255.255.255.240 | 14 |
| /29 | 255.255.255.248 | 6 |
| /30 | 255.255.255.252 | 2 |
| /32 | 255.255.255.255 | 1 |
How to Use the Subnet Calculator
- Enter an IPv4 address (e.g., 192.168.1.100 or 192.168.1.0/24).
- Enter a CIDR prefix length or subnet mask (e.g., 24 or 255.255.255.0).
- Click Calculate to see all subnet details.
- Use the quick CIDR buttons for common prefix lengths.
What is Subnetting?
Subnetting divides a larger network into smaller, more manageable sub-networks. It improves security, reduces broadcast traffic, and allows efficient use of IP addresses. CIDR notation (e.g., /24) indicates how many bits are used for the network portion of the address.
Features
- CIDR and subnet mask input support
- Network address, broadcast, and host range
- Binary representation of all addresses
- IP class and type detection
- Common CIDR reference table
- 100% client-side processing for full privacy
Recommended Products
AdAffiliate Disclosure: As an Amazon Associate, ToolBird earns from qualifying purchases. Links above are affiliate links — if you buy through them, we may earn a small commission at no extra cost to you.
Disclaimer: This tool is provided as-is for informational and educational purposes only.