IP range ⇔ CIDR
IP range ⇔ CIDR lets you convert IPv4 or IPv6 ranges to and from minimal CIDR sets in your browser.
IP and CIDR comparison lets you calculate CIDR containment, overlap, intersection, and directional differences in your browser.
⌂ Inputs and results stay in this browser and are not automatically stored or sent.
Calculations use your input only; no network queries or configuration changes.
Waiting for input
Enter two IP/CIDR values to inspect containment, intersection, and directional differences.
Swapping inputs changes what the difference means. Before applying a network rule, distinguish full containment from partial overlap and check that access is not unintentionally expanded.
192.0.2.0/24
---
192.0.2.128/25Each input is limited to 1,048,576 bytes, output to 33,554,432 bytes, and processing to 5,000 ms. Input is never silently truncated.
IP range ⇔ CIDR lets you convert IPv4 or IPv6 ranges to and from minimal CIDR sets in your browser.
CIDR aggregation lets you deduplicate and minimally aggregate CIDRs without widening their union in your browser.