Subnet calculator

Enter an IPv4 or IPv6 address with prefix or netmask: network, range and number of hosts appear immediately.

Runs only in your browser.

The tool could not be loaded. It needs JavaScript: please enable it or reload the page.

Frequently asked questions

Why does a /31 have two usable addresses?

Point-to-point links need neither a network nor a broadcast address (RFC 3021). Both addresses of a /31 are therefore usable; a /32 denotes exactly one address.

What is the wildcard mask?

The inverted netmask, i.e. 0.0.0.255 instead of 255.255.255.0. Access lists and OSPF on Cisco devices expect it in this form.

Are my addresses sent?

No. The calculator runs in your browser, the addresses you enter never leave your device.

More tools in this category