Subnet /24: Mask 255.255.255.0, 254 Hosts, Address Range
Calculate the network address, broadcast, subnet and wildcard masks, host range and usable host count for any IPv4 address and CIDR prefix.
Processed entirely in your browser — nothing you enter here is ever uploaded.
Result
About this tool
A /24 prefix means the first 24 of the 32 bits in an IPv4 address identify the network and only the last 8 bits are left for hosts. It is the most common subnet size in home routers, office LANs and small server segments: everything from 192.168.1.0 to 192.168.1.255 belongs to one broadcast domain, and addresses differ only in the final octet.
The subnet mask is 255.255.255.0 — twenty-four ones followed by eight zeros. Eight host bits give 2^8 = 256 addresses; subtracting the network address and the broadcast address leaves 2^8 − 2 = 254 usable hosts. In 192.168.1.0/24 that range runs from 192.168.1.1 to 192.168.1.254, with 192.168.1.255 acting as the broadcast address.
This page opens the subnet calculator with /24 preselected: type any IPv4 address and it returns the network address, broadcast, wildcard mask and the exact first and last usable host. All arithmetic is plain 32-bit integer math executed in your browser — nothing is sent to a server, and the calculator keeps working offline once loaded.
Example. 172.16.5.20/20 resolves to network 172.16.0.0, broadcast 172.16.15.255, and 4094 usable hosts.
Limit. Only IPv4 addresses and CIDR prefixes are parsed.