ByteTools

Subnet calculator

Enter an address with a prefix or a mask, for example 192.168.10.37/26 or 10.0.0.1 255.255.240.0.

Frequently asked questions

How many hosts fit in a /24?

A /24 has 256 addresses. The first is the network address and the last is the broadcast address, so 254 are usable for hosts.

What is a wildcard mask?

The inverse of the subnet mask (255.255.255.0 becomes 0.0.0.255). Cisco ACLs and OSPF use it to say which bits must match.

Tools