1. Home
  2. Developer tools
  3. Route Summarization Calculator

Route Summarization Calculator

Replace many routes by one. Paste your networks and see the summary route, whether it covers anything extra, and the exact aggregate when it does.

Free, no sign-up. Runs in your browser: nothing is uploaded.

How to use Route Summarization Calculator

  1. Paste the networks, one per line.
  2. Read the summary route and the exact list.
  3. Check the number of extra addresses.

Features

  • Longest common prefix of all networks
  • Exact minimal aggregate
  • Counts extra addresses covered
  • Warns about black-hole risk
  • IPv4 and IPv6
  • Merges overlapping blocks

Supported formats

Input

  • List of IPv4 networks

You get

  • Summary route
  • Covered and extra space

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Route Summarization Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • The summary is the smallest single block that covers every network, which may include addresses you did not list; the tool shows how many.
  • IPv4 only.

Guide

Summarising routes without advertising addresses you do not own

A router that carries a separate route for every branch network has a larger table, more updates and more chances for instability. Route summarisation replaces many routes with one that covers them all. It is also the place where mistakes creep in: a summary that is too short quietly claims addresses that belong to someone else. This page shows both the single summary and the exact list, side by side, with the cost in extra addresses.

How the common prefix is found

Write the networks in binary and compare them from the left. The summary prefix ends where the first difference appears among any of them. For 192.168.0.0/24, 192.168.1.0/24, 192.168.2.0/24 and 192.168.3.0/24, the first 22 bits are identical and the 23rd varies, so the summary is 192.168.0.0/22. Four consecutive /24 networks starting on a multiple of four fill a /22 completely, so no extra addresses are covered, which is the ideal case.

Why a gap matters

If one network is missing, the shortest single prefix still has to span the gap. Take 10.1.0.0/24, 10.1.1.0/24 and 10.1.3.0/24: the lowest and highest differ already in the 23rd bit, so the covering prefix is 10.1.0.0/22, which is 1,024 addresses while the three networks hold 768. The 256 addresses of 10.1.2.0/24 are claimed without being yours. If that network belongs to another department or customer, traffic for it is pulled to the wrong router. The page shows this as “Extra addresses covered” with a warning.

The exact list

When a single summary would cover extra space, the other result is what you want. The exact list merges neighbours that line up and overlapping blocks and keeps the rest separate. For the gap example it is 10.1.0.0/23 plus 10.1.3.0/24, which advertises exactly the three original networks in two routes instead of three. Where the page reports 0 extra addresses, the single summary and the exact list are the same.

Reading the output

The panel lists the summary route, the exact minimal list, the addresses in your networks, the addresses in the summary and the extra addresses. A short note says whether the summary can replace your networks without side effects. Networks can be IPv4 or IPv6, one per line, but not both in the same list, and a plain address counts as a single-host network. Overlapping and nested entries are merged in the exact list.

A worked example

The default sample is the four /24 networks from 192.168.0.0 to 192.168.3.0. The single summary is 192.168.0.0/22 and the exact list is the same block; both hold 1,024 addresses, so there are 0 extra addresses, and the page confirms the summary can replace the networks without side effects. Load the gap sample and the single summary grows to 1,024 addresses against 768 entered, with 256 extra.

Limits

The page performs the arithmetic. It cannot know your topology, whether the gap addresses exist elsewhere or whether the summary will black-hole traffic. On real equipment, check how your protocol handles summaries (for example discard routes) and test before advertising. To turn a start and end address into blocks, see IP Range to CIDR.

Checked against the current version of the Route Summarization Calculator on .

Frequently asked questions

What is the difference between summarisation and aggregation?

The words are used loosely, but summarisation usually means choosing one covering prefix, possibly with extra addresses, while aggregation means merging blocks into larger ones that cover exactly the same addresses. The page offers both results.

What happens to traffic for addresses in the gap?

Packets for gap addresses are attracted to the router that advertises the summary and then dropped or sent to a default route. Many designs add a discard route for the whole summary to prevent loops.

What is the summary of 192.168.0.0/24 to 192.168.3.0/24?

192.168.0.0/22. The four /24 networks fill that /22 exactly, so nothing extra is covered.

Why can a summary be dangerous?

If it covers addresses you do not own, routers will send traffic for them to you, and it is dropped. Summarise only complete ranges.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.