IP Range Expander

Type in the start and end addresses of an arbitrary network range, and it will be expanded to a range that can be expressed in CIDR notation:

Original range: Expanded range:
Start address: 172.20.1.0
End address: 172.20.1.255
Range size: 255 addresses 255 addresses
CIDR: 172.20.1.0/24

IPv4 / IPv6 Subnet Calculator

IP Address and Netmask:

Example IP Address Inputs

IPv4
172.31.180.150 255.255.252.0 Subnet Mask
192.168.5.219/28 CIDR Notation
172.16.50.45 0.0.15.255 Wildcard Mask
10.40.50.60 #52 Calculates a network with 52 hosts
IPv6
2001:0db8:85a3::8a2e:0370:7334/64 Prefix Mask
2001:0db8:85a3::/48/64 Subnet the /48 network into /64 networks