DML School of Technology
Menu

Subnet calculator

Type an IPv4 address with its prefix, such as 192.168.10.37/26, or choose the subnet mask. The answers update as you type.

Four numbers from 0 to 255 with dots. Add /prefix, or choose the mask.

How it works

The prefix says how many of the 32 bits name the network. The rest name the devices on it. Setting all the device bits to 0 gives the network address; setting them all to 1 gives the broadcast address. The addresses in between are for devices, so a /26 has 64 addresses and 62 usable hosts.

A /31 is used for links between two routers and both addresses are usable (RFC 3021). A /32 is a single address.

Other free tools

Everything free