Subnet Calculator

Enter an IPv4 address and prefix length to see the network range, masks and usable hosts, or split a network into smaller subnets.

Network

Common prefixes

You can also type the prefix with the address, for example 10.0.0.0/22. Results follow the standard rules: a /31 has 2 usable addresses for point-to-point links and a /32 is a single host.

Results

Network
Binary

Network bits Host bits