Subnet Calculator
IPv4 & IPv6 subnetting — forward, reverse, divider, VLSM, supernet and IPv6 analysis
Calculate network, broadcast, host range from IPv4 CIDR
IP / CIDR Input
Parsed: 192.168.1.0 / 24 (mask 255.255.255.0)
Quick examples
Binary View
IP Address
11000000.10101000.00000001.00000000
Subnet Mask
11111111.11111111.11111111.00000000
Network
11000000.10101000.00000001.00000000
Network (N) / Host (H) boundary
Common Subnets Reference
| CIDR | Mask | Hosts | Class |
|---|---|---|---|
| /8 | 255.0.0.0 | 16,777,214 | A |
| /16 | 255.255.0.0 | 65,534 | B |
| /24 | 255.255.255.0 | 254 | C |
| /25 | 255.255.255.128 | 126 | ½C |
| /26 | 255.255.255.192 | 62 | ¼C |
| /27 | 255.255.255.224 | 30 | C |
| /28 | 255.255.255.240 | 14 | C |
| /29 | 255.255.255.248 | 6 | C |
| /30 | 255.255.255.252 | 2 | P2P |
Network Summary
Network
192.168.1.0/24
Usable Hosts
254
IP Class
Private
Network Details
Fit Check
/24 → 254 usable hosts
You entered the network address directly
RFC 1918 private range — safe for internal use
Prefix ≤ /30 — supports at least 2 hosts
Important Notes
IPv4 RFC 1918
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 are private and not routable on the public Internet.
IPv6 Addressing
IPv6 uses 128-bit addresses. /64 is the standard subnet prefix; EUI-64 auto-configuration applies below /64.
CIDR & VLSM
Modern routing uses CIDR exclusively. Classful A/B/C is legacy. VLSM allocates efficiently by host need.