IP Subnet Calculator

IP Subnet Calculator

Calculate IPv4 and IPv6 subnet information including network address, broadcast, host range, binary representation, and wildcard masks

!
v4
IPv4 Subnet Calculator

Enter an IP address with CIDR prefix or subnet mask. Optionally enter a second subnet mask to calculate subnets.

/
Enter IP address and select prefix length (e.g. 192.168.1.0 / 24)
Alternative to CIDR — overrides prefix if filled
/
For subnet splitting — must be larger than first mask
!
v6
IPv6 Subnet Calculator

Calculate IPv6 subnet information including network address, host range, and address count.

Full or compressed IPv6 address (e.g. 2001:0db8:85a3::8a2e:0370:7334)
/
REF
IPv4 Subnet Reference Table

Complete reference of all IPv4 prefix lengths with their subnet masks, wildcard masks, and usable host counts.

PrefixSubnet MaskWildcard MaskUsable HostsClass