Network diagram illustrating IPv4 addressing with subnet mask and connected devices.

IPv4 Address & Subnet

Subnet details

Enter an IPv4 address and CIDR prefix length. Network and broadcast addresses follow standard classless rules.

Network address
Broadcast address
Subnet mask
Wildcard mask
First usable host
Last usable host
Usable hosts
Address (binary)

For /31 and /32 networks, usable host rules vary by use case; this tool shows the arithmetic host range excluding network and broadcast where applicable.