Subnet Calculator — CIDR Network Address & Host Range
Enter an IPv4 address and prefix length to calculate network, broadcast, mask, usable hosts, and optional VLSM subnet splits.
Also supports e.g. 10.0.0.0/16
| Network Address | 192.168.1.0 |
| Broadcast Address | 192.168.1.255 |
| Subnet Mask | 255.255.255.0 |
| Wildcard Mask | 0.0.0.255 |
| First Host | 192.168.1.1 |
| Last Host | 192.168.1.254 |
| CIDR | 192.168.1.0/24 |
| IP Class | C |
| Total Hosts | 256 |
| Usable Hosts | 254 |
| IP Binary | 11000000.10101000.00000001.00000000 |
| Network Binary | 11000000.10101000.00000001.00000000 |
| Broadcast Binary | 11000000.10101000.00000001.11111111 |
Equal splits (subnetting)
| # | Subnet | Usable hosts |
|---|---|---|
| 1 | 192.168.1.0/26 | 62 |
| 2 | 192.168.1.64/26 | 62 |
| 3 | 192.168.1.128/26 | 62 |
| 4 | 192.168.1.192/26 | 62 |
Related Tools
More free utilities you might find useful
Frequently Asked Questions
Quick answers to common questions
What is CIDR notation and how do I read it?+
CIDR (Classless Inter-Domain Routing) notation expresses an IP address and its network prefix length: 192.168.1.0/24. The /24 means the first 24 bits are the network portion (subnet mask 255.255.255.0). The remaining 8 bits define up to 256 host addresses (254 usable, minus network and broadcast addresses).
How many hosts can a /24 subnet support?+
A /24 subnet has 2^(32-24) = 2^8 = 256 total addresses. Usable hosts = 256 - 2 = 254 (subtract network address and broadcast address). Common prefix lengths: /30 = 2 hosts (point-to-point links), /29 = 6 hosts, /28 = 14, /27 = 30, /26 = 62, /25 = 126, /24 = 254.
What is subnetting used for in networking?+
Subnetting divides a large network into smaller logical segments: improves security (limits broadcast domains), reduces network traffic (broadcasts stay in subnet), enables better IP address management, and allows hierarchical routing. Example: a /16 block can be subnetted into 256 /24 subnets for different departments.

