IP Calculator

Subnet IPv4 and IPv6 — ranges, masks, host counts, and splits.

Enter an address with a prefix or a mask to see its network, range, and host count.

Try
About

Addresses are converted to integers, masked, and converted back — with the small prefixes special-cased.