Routers Network

Subnet calculator

Network address
192.168.1.0/24
Usable host range
192.168.1.1 - 192.168.1.254
Broadcast address
192.168.1.255
Subnet mask
255.255.255.0
Wildcard mask
0.0.0.255
Usable hosts
254 (of 256)

What is a subnet?

A subnet splits a network into smaller blocks of addresses. The CIDR suffix (the /24 in 192.168.1.0/24) says how many bits are fixed for the network - the rest are free for hosts.

Reading the numbers

  • /24 → mask 255.255.255.0, 256 addresses, 254 usable hosts.
  • /25 → mask 255.255.255.128, 128 addresses, 126 usable hosts.
  • /30 → mask 255.255.255.252, 4 addresses, 2 usable hosts (handy for point-to-point links).

The first address in a block is the network address and the last is the broadcast address, which is why usable hosts are always two fewer than the total.