IP Subnet Calculator

Enter an IPv4 or IPv6 address in CIDR notation (or address + netmask) and get the full subnet breakdown instantly.

Accepted formats: 10.0.0.5/22 · 10.0.0.5 255.255.252.0 · 2001:db8:abcd::42/56. No prefix? IPv4 defaults to /24, IPv6 to /64.

Try:

How many IPs do you need?

Enter the number of devices/addresses and get the right subnet size (IPv4).

Common sizes: