Network tool

Range to CIDR

Convert a start and end IPv4 or IPv6 address into the smallest set of covering CIDR blocks.

What this tool does

Range to CIDR converts a start and end IP address into the smallest set of CIDR blocks that covers that exact range.

It is useful when a vendor gives you raw IP ranges but your firewall, router, cloud rule, or API expects CIDR notation. For smaller network slices, use the subnet splitter.