Skip to content

Subnet Merger

Paste two or more IPv4 networks. The result is the smallest subnet that contains all of them, aligned to a real prefix boundary.

Smallest containing subnet

192.168.1.0/24

192.168.1.0 - 192.168.1.255

Subnet mask

255.255.255.0

Total addresses

256

Every address in that subnet belongs to one of the networks you entered.

  • 192.168.1.0/25192.168.1.0 - 192.168.1.127
  • 192.168.1.128/25192.168.1.128 - 192.168.1.255

What gets covered

Each input is normalized to its network and broadcast. The cover is the longest prefix whose block holds the lowest network and the highest broadcast in that set.

Overlapping and nested networks are counted once. A /24 inside a /16 does not widen the /16.

Questions

No. The smallest subnet that contains every input can also contain addresses you did not list. The result says when that happens, and how many extra addresses are inside the cover.

Yes. 192.168.1.0/25 and 192.168.1.128/25 together are exactly 192.168.1.0/24. A gap, such as 10.0.0.0/24 and 10.0.2.0/24, needs a wider cover.

Sources

Reviewed 8 October 2026. The methodology page records what these labels do not cover.

Related tools