🔒 Runs in your browser — nothing is uploaded✓ Free, no signup
IP Subnet Calculator (CIDR)
Enter an IPv4 address with a prefix like /24 or a mask like 255.255.255.0 to see the network, broadcast, host range and more — then split it into smaller subnets.
Subnet details
| Network address | 192.168.1.0 | |
|---|---|---|
| CIDR notation | 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 | |
| Mask in binary | 11111111.11111111.11111111.00000000 | |
| Address type | Private (RFC 1918) |
Split into smaller subnets
When should you use the Subnet Calculator?
- Planning VPC and subnet ranges in AWS, Azure or GCP
- Working out the usable host range for a network or firewall rule
- Splitting a /16 or /24 into equal smaller subnets
How to use the Subnet Calculator
- 1
Enter an address
Use CIDR (192.168.1.10/24) or an address and mask (192.168.1.10 255.255.255.0).
- 2
Read the details
Network, broadcast, first and last host, masks and host counts appear instantly.
- 3
Change the prefix
Pick another prefix from the list to compare sizes.
- 4
Split it
Choose a longer prefix to list every smaller subnet inside.
Examples
192.168.1.10/24
Input
192.168.1.10/24
Result
Network 192.168.1.0 Broadcast 192.168.1.255 Host range 192.168.1.1 – 192.168.1.254 Usable hosts 254 Mask 255.255.255.0
Common errors and how to fix them
Isn't a valid subnet mask- A mask's 1 bits must be continuous from the left — 255.255.255.0 is valid, 255.0.255.0 isn't.
Cloud providers say fewer hosts are available- AWS and Azure reserve extra addresses in each subnet (AWS keeps 5), so usable hosts are a little lower there.
More from Web & Network
Free tools that run in your browser — no signup, nothing uploaded.
URL Parser & Query String Parser
Break a URL into protocol, host, path, query parameters and hash.
IP Address Converter
Convert IPv4 between dotted, decimal, hex and binary, and expand IPv6.
HTTP Status Codes List
Every HTTP status code explained in plain English — searchable.
User Agent Parser & Checker
See your user agent and parse any UA string into browser, OS and device.
Meta Tag & Open Graph Generator
Generate SEO meta tags, Open Graph and X card tags with live previews.
Cookie & Set-Cookie Parser
Parse Cookie and Set-Cookie headers into a readable table with security checks.
CORS & Security Headers Generator
Generate CORS and security headers for Nginx, Apache, Express, Next.js and more.
What Is My Screen Resolution?
See your screen resolution, viewport size and device pixel ratio instantly.
JavaScript Keycode Finder
Press any key to see its event.key, event.code and keyCode.
Subnet Calculator FAQ
The first 24 bits are the network part, leaving 8 bits for hosts: 256 addresses, 254 usable. It's the same as the mask 255.255.255.0.
The first address identifies the network and the last is the broadcast address, so neither can be given to a device. /31 and /32 are exceptions.
The inverse of the subnet mask (0.0.0.255 for /24), used in Cisco ACLs and OSPF.
/16 has 65,534 usable hosts, /24 has 254 and /28 has 14. The formula is 2^(32 − prefix) − 2.
This calculator handles IPv4. For IPv6 address formats, use the IP Address Converter.
No. Everything runs in your browser, so your data never leaves your device.
