CIDR and subnet calculator

IP to CIDR - simple

Input lower and upper IP (either IPv4 or IPv6) of the range - the tool will calculate best matching CIDR range. Subnet will be included in result.



IP to CIDR - advanced

Input at least two IP's (IPv4 and/or IPv6), domainnames or CIDR ranges to include - the tool will calculate best matching CIDR ranges. Subnet will be included in result. Seperate by space, tab, newline or comma.


IPv4 max network prefix:

IPv6 max network prefix:

Reverse - CIDR to IP + subnet

Input one or more CIDR ranges to get info of IP addresses and subnet.


IP to CIDR result

CIDR's ready to copy






66.220.155.0/25


lower
66.220.155.0

upper
66.220.155.127

subnet
255.255.255.128

broadcast
66.220.155.127

1 2 3 4
1-8

9-16

17-24

25-32

66 220 155 0
0
1
0
0
0
0
1
0
1
1
0
1
1
1
0
0
1
0
0
1
1
0
1
1
0
0
0
0
0
0
0
0

/25
 


66.220.155.128/25


lower
66.220.155.128

upper
66.220.155.255

subnet
255.255.255.128

broadcast
66.220.155.255

1 2 3 4
1-8

9-16

17-24

25-32

66 220 155 128
0
1
0
0
0
0
1
0
1
1
0
1
1
1
0
0
1
0
0
1
1
0
1
1
1
0
0
0
0
0
0
0

/25
 


69.171.244.0/25


lower
69.171.244.0

upper
69.171.244.127

subnet
255.255.255.128

broadcast
69.171.244.127

1 2 3 4
1-8

9-16

17-24

25-32

69 171 244 0
0
1
0
0
0
1
0
1
1
0
1
0
1
0
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0

/25
 


69.171.244.128/25


lower
69.171.244.128

upper
69.171.244.255

subnet
255.255.255.128

broadcast
69.171.244.255

1 2 3 4
1-8

9-16

17-24

25-32

69 171 244 128
0
1
0
0
0
1
0
1
1
0
1
0
1
0
1
1
1
1
1
1
0
1
0
0
1
0
0
0
0
0
0
0

/25
 


69.171.245.0/25


lower
69.171.245.0

upper
69.171.245.127

subnet
255.255.255.128

broadcast
69.171.245.127

1 2 3 4
1-8

9-16

17-24

25-32

69 171 245 0
0
1
0
0
0
1
0
1
1
0
1
0
1
0
1
1
1
1
1
1
0
1
0
1
0
0
0
0
0
0
0
0

/25
 


69.171.245.128/25


lower
69.171.245.128

upper
69.171.245.255

subnet
255.255.255.128

broadcast
69.171.245.255

1 2 3 4
1-8

9-16

17-24

25-32

69 171 245 128
0
1
0
0
0
1
0
1
1
0
1
0
1
0
1
1
1
1
1
1
0
1
0
1
1
0
0
0
0
0
0
0

/25
 

Log

  • In order to explode '66.220.155.0/24' into /25 CIDR ranges, 4 additional IP's has been added.
  • In order to explode '69.171.244.0/23' into /25 CIDR ranges, 8 additional IP's has been added.
  • 12 IP's parsed from input
  • Creating CIDR '66.220.155.0/25' based upon input '66.220.155.0' and '66.220.155.127'
  • Creating CIDR '69.171.244.0/25' based upon input '69.171.244.0' and '69.171.244.127'
  • Creating CIDR '66.220.155.128/25' based upon input '66.220.155.128' and '66.220.155.255'
  • Creating CIDR '69.171.244.128/25' based upon input '69.171.244.128' and '69.171.244.255'
  • Creating CIDR '69.171.245.0/25' based upon input '69.171.245.0' and '69.171.245.127'
  • Creating CIDR '69.171.245.128/25' based upon input '69.171.245.128' and '69.171.245.255'