IP & Domain Tools

Route Summarization Calculator

Find the supernet that covers a run of contiguous subnets.

Your numbers

Your results

Summary route
Summary route
—
Addresses covered by the summary
—
Addresses actually in your networks
—
Extra addresses in the summary
—
Alignment
—

Route Summarization Calculator by TheCalcTools

How the Route Summarization Calculator works

Enter the first network and the common prefix, then how many networks follow it contiguously.

The summary prefix is the prefix minus ceil(log₂ count).

The start address must be a multiple of the summary block, otherwise one route cannot cover it exactly.

The formula

Summary prefix = n − ceil(log₂ count)Extra = 2^(32 − summary) − count × 2^(32 − n)

Worked example

Using the default values shown in the calculator:

Octet 110
Octet 20
Octet 38
Octet 40
Prefix of each network (/n)24
Number of contiguous networks6
  1. Six /24 networks from 10.0.8.0 need a block of 2,048 addresses.
  2. Summary route: 10.0.8.0/21. Waste: 512 addresses. Start is aligned to the summary boundary.

Result:

Summary route10.0.8.0/21
Addresses covered by the summary2,048
Addresses actually in your networks1,536
Extra addresses in the summary512
AlignmentStart is aligned to the summary boundary

Frequently asked questions

Why does summarising 6 networks create extra addresses?

A summary must be a power of two. Six /24s need an 8-block /21, so two /24s of address space are covered but not used.

Is over-summarisation dangerous?

It can attract traffic for addresses you do not own, so check that the extra space is not routed elsewhere.

Sources and further reading

More in IP & Domain Tools · All calculators

This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.