IP Subnet Calculator

Enter an IP address and CIDR prefix to calculate all subnet parameters. Our free subnet calculator uses pure bitwise AND operations to derive the network address, then applies the wildcard mask to compute the broadcast address and usable host range. Results include network address, broadcast, subnet mask, wildcard mask, first and last usable IP, usable hosts, and total hosts — all computed instantly in your browser with no server round-trip.

Accepts IP/CIDR, IP Mask, or IP/MASK formats

How Subnet Calculation Works

AND the IP with the subnet mask → network address. OR the network with the wildcard → broadcast address. Usable hosts = 2(32-CIDR) - 2.

Learn more about subnet masks →