Skip to content
Technology

Subnet Calculator

Calculate the network address, broadcast address, subnet mask and usable host range for any IPv4 address and CIDR prefix.

/

Results

Network address
192.168.1.0
Broadcast address
192.168.1.255
Subnet mask
255.255.255.0
Wildcard mask
0.0.0.255
Usable hosts
254
Total addresses
256
First usable
192.168.1.1
Last usable
192.168.1.254

Enter any IPv4 address inside the subnet (not necessarily the network address itself) and the CIDR prefix length — for example, a typical home network is /24, giving 254 usable addresses.

Frequently asked questions

What does the /24 in an IP address mean?

It's the CIDR prefix length, indicating how many bits of the 32-bit IPv4 address are the fixed "network" portion — /24 means the first 24 bits are network, leaving 8 bits (256 addresses, 254 usable) for hosts. A smaller number after the slash means a larger network.

Why are only 254 addresses usable in a /24 network, not 256?

Two addresses in every subnet are reserved: the network address (all host bits zero, identifying the subnet itself) and the broadcast address (all host bits one, used to reach every device on the subnet at once) — neither can be assigned to an individual device.

What's the difference between the network address and my router's IP?

The network address identifies the subnet as a whole and isn't assigned to any device — your router or gateway typically uses the first usable address in the range (like .1), which is a separate, assignable address.