Your files stay on your device

CIDR overlap and gap checker

Pairwise overlaps and uncovered gaps over pasted CIDR blocks.

CIDR blocks, one per line

Loading editor…
IPv4 and IPv6 both work

Shows which blocks overlap, the gaps between them, and which ones sit side by side.

Overlap versus gap

Two blocks overlap when at least one address belongs to both. Blocks that do not overlap can still leave a gap, a range covered by neither. 10.0.0.0/24 covers 10.0.0.0 to 10.0.0.255, and 10.0.2.0/24 covers 10.0.2.0 to 10.0.2.255. The range 10.0.1.0 to 10.0.1.255 falls between them and is reported as a gap.

Side by side is not always mergeable

10.0.0.0/24 and 10.0.1.0/24 sit side by side and together form 10.0.0.0/23. Blocks 10.0.1.0/24 and 10.0.2.0/24 also touch, but their union starts at 10.0.1.0, which is not a boundary for a /23. They cannot combine into one CIDR block.

Blocks that overlap

10.0.0.0/23Covers 10.0.0.0 to 10.0.1.255
10.0.1.0/24Lies inside the /23, so the pair overlaps

Was this tool useful?