IP Range Comparison Tool
Compare two address-set lists.
IP Range Comparison Tool: inputs and results
Enter an IP address, CIDR prefix, or range. Then check its first and last address below.
Calculated Boundaries & ParametersReady
Key Capabilities
- •100% Client-Side: Zero telemetry or server latency.
- •RFC Compliant: Exact 32-bit and 128-bit integer precision.
- •Quick Copy: Instant access to CIDR, mask, and range bounds.
- •Cross-Platform: Works on desktop, tablet, and mobile browsers.
Related Diagnostics, Generators & UtilitiesAll Tools
IPv4 Reverse DNS Name Generator
Generate address-level reverse lookup names.
Reverse DNS Zone Planner
Identify applicable reverse delegation boundaries.
Bounded IP Address List Generator
Enumerate a selected, limited address range.
Random Address Sampler
Sample addresses within supplied ranges.
Batch Subnet Calculator
Calculate details for multiple prefixes.
IP List Deduplicator
Remove repeated addresses.
How IP Range Comparison Tool Works?
This tool works by splitting 2 address-set lists into 3 groups: addresses only in list A, addresses only in list B, and addresses in both.
Paste list A
Enter the first set of addresses, ranges, or prefixes.
Paste list B
Enter the second set.
Merge and compare
Each list is merged, then the tool computes A − B, B − A, and A ∩ B.
Report the 3 groups
Each group appears as CIDR blocks with an address count.
IP Range Comparison Tool Formula
The formula is Only A = A − B, Only B = B − A, and Both = A ∩ B.
Only in A
A − BPresent in A, missing from B.
Only in B
B − APresent in B, missing from A.
In both
A ∩ BShared addresses.
Match ratio
|A ∩ B| ÷ |A ∪ B| × 100 %Similarity of the 2 lists.
Worked example: 2 lists of 4 prefixes
A: 10.0.0.0/24, 10.0.1.0/24, 192.168.5.0/25, 172.16.0.0/22 B: 10.0.1.0/24, 10.0.2.0/24, 192.168.5.0/24, 172.16.2.0/23 Only A = 768 Only B = 384 Both = 896
IP Range Comparison Tool Conversion Table
The table shows the 3 comparison groups for the 2 lists in the worked example.
| Group | CIDR Blocks | Addresses |
|---|---|---|
| Only in A | 10.0.0.0/24, 172.16.0.0/23 | 768 |
| Only in B | 10.0.2.0/24, 192.168.5.128/25 | 384 |
| In both | 10.0.1.0/24, 172.16.2.0/23, 192.168.5.0/25 | 896 |
What is IP Range Comparison Tool?
The IP Range Comparison Tool is a tool that compares 2 lists of IP addresses and ranges and shows what each list has that the other lacks.
Line-by-line diff tools fail on address lists. 192.168.5.0/24 in 1 list and 192.168.5.0/25 plus 192.168.5.128/25 in the other look different but cover the same space. The comparison tool works on the addresses themselves, not on the text.
The result answers questions such as "which networks does the firewall allow that the documentation does not list" in 1 step.
What are the uses of IP Range Comparison Tool?
There are 4 main uses of the IP Range Comparison Tool, including config-versus-documentation checks, environment parity, and vendor list reviews.
Comparing config with documentation
Firewall objects are compared with the approved address list.
Checking environment parity
Staging and production allow-lists are compared for drift.
Reviewing vendor list updates
A vendor's new list is compared with the copy already deployed.
Reconciling 2 IPAM sources
Records from 2 IPAM tools are compared before a merge.