SheepDev

IP and CIDR comparison

IP and CIDR comparison lets you calculate CIDR containment, overlap, intersection, and directional differences in your browser.

IP and CIDR comparison

⌂ Inputs and results stay in this browser and are not automatically stored or sent.

Waiting for input

Input and conditions

Calculations use your input only; no network queries or configuration changes.

Output

Waiting for input

Complete text result

How to use

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.

Examples

192.0.2.0/24
---
192.0.2.128/25

Principles and limits

Each 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.

Guides

Related tools

IP and network calculations

IP range ⇔ CIDR

IP range ⇔ CIDR lets you convert IPv4 or IPv6 ranges to and from minimal CIDR sets in your browser.

IP and network calculations

CIDR aggregation

CIDR aggregation lets you deduplicate and minimally aggregate CIDRs without widening their union in your browser.