IPv4 subnet calculator

Enter an IP address and a mask (or type 192.168.1.10/24) to get the network, broadcast and host range, and to split the network into smaller subnets. Everything is calculated in your browser.

Try:
CIDR notation
192.168.1.0/24
Network address
192.168.1.0
Broadcast address
192.168.1.255
First usable host
192.168.1.1
Last usable host
192.168.1.254
Usable hosts
254

256 addresses in total

Subnet mask
255.255.255.0
Wildcard mask
0.0.0.255
IP class
Class C

Small networks (192.0.0.0 - 223.255.255.255)

IP type
Private
Integer / hex
3232235786 / 0xC0A8010A

Binary

IP address
11000000.10101000.00000001.00001010
Subnet mask
11111111.11111111.11111111.00000000
Network
11000000.10101000.00000001.00000000
Broadcast
11000000.10101000.00000001.11111111

Split into smaller subnets

4 subnets of 62 usable hosts each

#NetworkUsable rangeBroadcastHosts
1192.168.1.0192.168.1.1 - 192.168.1.62192.168.1.6362
2192.168.1.64192.168.1.65 - 192.168.1.126192.168.1.12762
3192.168.1.128192.168.1.129 - 192.168.1.190192.168.1.19162
4192.168.1.192192.168.1.193 - 192.168.1.254192.168.1.25562

Good to know

What is a subnet mask?
A subnet mask marks which bits of an IPv4 address identify the network and which identify the host. 255.255.255.0 means the first 24 bits are the network, written /24 in CIDR notation.
Why are there two fewer usable hosts than addresses?
The first address of a subnet is the network address and the last one is the broadcast address, so neither can be given to a host. /31 (point to point links, RFC 3021) and /32 (a single host) are the exceptions.
What is a wildcard mask?
The wildcard mask is the inverse of the subnet mask (0.0.0.255 for /24). Router access lists and OSPF network statements use it to say which address bits may vary.