IP Range to CIDR Converter

Convert an IP address range (start IP β†’ end IP) into the minimal set of CIDR blocks that cover the range

Quick Examples

About Range to CIDR

This tool converts arbitrary IP ranges into CIDR notation blocks:

  • Minimal set: Finds the smallest number of CIDR blocks
  • Aligned blocks: CIDRs respect network boundaries
  • IPv4 & IPv6: Supports both address families
  • Exact coverage: All addresses in range are included

Useful for converting firewall rules, ACLs, or vendor-provided IP ranges to CIDR format.