Subnet Calculator

IPv4 / CIDR — results update as you type.

All calculators
Network input
IPv4 address
...
Prefix length (CIDR)
/0/8/16/24/32
Subnet mask255.255.255.0
Wildcard0.0.0.255
Common prefixes
Network details
Network addressPrivate
192.168.1.0/24

RFC 1918 · 192.168.0.0/16

Usable hosts254
Total addresses256
ClassC
Network
Broadcast
First host
Last host
Subnet mask
Wildcard
CIDR
IP class (192 – 223)
Hex
Integer
Binary breakdown
Network (24 bits) Host (8 bits)
11000000
192
10101000
168
00000001
1
00000000
0
Divide this network
Into /= 4 subnets
#NetworkUsable rangeBroadcast
1192.168.1.0/26192.168.1.1 – 192.168.1.62192.168.1.63
2192.168.1.64/26192.168.1.65 – 192.168.1.126192.168.1.127
3192.168.1.128/26192.168.1.129 – 192.168.1.190192.168.1.191
4192.168.1.192/26192.168.1.193 – 192.168.1.254192.168.1.255

This tool calculates IPv4 subnetting for planning and learning. Results follow standard CIDR rules, including RFC 3021 (/31 point-to-point links) and single-host /32 networks. Always confirm address assignments against your own network design before deploying.