CIDR / Subnet Calculator

Calculate the network address, IP range, netmask and number of hosts for any IPv4 or IPv6 CIDR block.

Enter an address with a prefix length (192.168.1.10/24), with a netmask (192.168.1.10 255.255.255.0) or on its own, and get the block’s network address, broadcast address, netmask, wildcard mask, first and last usable host, and how many addresses and hosts it holds. IPv6 blocks like 2001:db8::/32 work too. The address is also classified: private, loopback, link-local, documentation, multicast and so on. Nothing is sent to a server.

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

Address

IP / prefix

Try 10.0.0.0/8, 172.16.5.4 255.255.240.0 or 2001:db8::/32.

Result