IPv4 subnet calculator

Enter an address with a prefix or a subnet mask. Then move the boundary between network and host bits and watch everything change.

Try

The page address holds the current state (?q=…), so a result can be bookmarked or shared. Nothing is sent to a server.