Route summarization calculator

Enter a list of networks or routes and get the smallest supernet that covers them, plus the minimal exact CIDR summary.

Runs in your browser ยท nothing is sentRouting & topologyNew

Enter one or more networks to see the result.

How to use

  1. List the networks or routes you want to summarize, one per line.
  2. Read the smallest covering supernet and how many extra addresses it includes.
  3. Use the exact summary instead if those extra addresses matter.

Common scenarios

Configuring a summary route on a router

Summarize several connected subnets into the smallest supernet to advertise a single route upstream instead of one route per subnet.

Planning an address block before requesting it

Check how large a single supernet would need to be to cover a set of planned subnets, before requesting that address space.

About this tool

Paste a list of networks, one per line (CIDR or network + mask), and the tool calculates two things: the smallest single supernet that covers every network you entered, and the wasted addresses that supernet would include that were not in your list; and separately, the minimal exact set of CIDR blocks that covers exactly your networks, with no extra addresses. Use the supernet for a simple, single summary route when the extra coverage does not matter, or the exact summary when it does, for example because another route already uses part of that address space.

๐Ÿ”’ Your input stays in your browser and is never sent anywhere.

Frequently asked questions

What is the difference between the supernet and the exact summary?

The supernet is always a single CIDR block, which is simpler to configure but may include addresses you did not list (shown as "wasted addresses"). The exact summary is a list of one or more CIDR blocks that together cover exactly your networks and nothing more.

Why would I want the exact summary instead of just one supernet?

If another route already handles part of the address space the supernet would cover, advertising that supernet would incorrectly claim that space too. The exact summary avoids this by only covering what you actually listed.

Does this support IPv6?

Not yet, this tool works with IPv4 networks only.

What to do next

Also useful

Found a problem or have a suggestion? Tell us