Free network calculator

Free Supernet Calculator Online

Enter multiple IPv4 or IPv6 addresses or CIDR networks to find their smallest covering supernet, exact collapsed representation, boundaries, capacity, and expansion risk.

Enter two or more IPv4 or IPv6 addresses or CIDR networks, separated by spaces, commas, or new lines. Do not mix address versions.

What Is a Supernet Calculator?

A supernet calculator finds the smallest IPv4 or IPv6 CIDR block that contains a group of addresses or networks. This process is often called route aggregation, route summarization, or CIDR aggregation. It replaces several more-specific routes with one broader prefix when their binary network bits allow it.

The calculator from ipdnslookup accepts individual addresses, CIDR networks, or a mixture of both from one IP version. It shows the covering supernet, boundaries, address capacity, IPv4 masks, coverage utilization, extra addresses included, normalized inputs, and the exact collapsed representation.

How to Use the Supernet Calculator

  1. Collect the inputs: Copy at least two IPv4 or IPv6 addresses or CIDR networks.
  2. Enter one value per line: Commas, spaces, and semicolons also work as separators.
  3. Keep one IP version: Calculate IPv4 and IPv6 groups separately.
  4. Select Calculate Supernet: The calculator normalizes every entry and compares their binary range.
  5. Read the main result: The displayed CIDR is the smallest single block covering every input.
  6. Check additional addresses: Confirm whether the summary includes space that was not part of the entered networks.
  7. Review exact collapse: Use the exact CIDR list when one broad route would include too much unrelated space.

Example: combine two adjacent IPv4 networks

Inputs: 192.168.0.0/24 and 192.168.1.0/24

Result: 192.168.0.0/23

The two /24 networks are adjacent, correctly aligned, and together contain all 512 addresses in the /23. No unrelated address space is added.

Example: a covering block with extra space

Inputs: 192.168.0.0/24 and 192.168.2.0/24

Smallest single result: 192.168.0.0/22

The /22 also includes the 192.168.1.0/24 and 192.168.3.0/24 ranges. The result is mathematically correct, but advertising it could include networks that were not intended.

Why Use Our Supernet Calculator?

  • IPv4 and IPv6 support: Summarize either address family with the correct bit width.
  • Flexible input: Enter host addresses, CIDR networks, or both.
  • Smallest covering CIDR: Get one direct aggregation candidate.
  • Exact collapse: See whether several CIDRs are still required for exact coverage.
  • Expansion warning: Measure addresses included outside the input set.
  • Utilization: Compare entered coverage with total supernet capacity.
  • Normalized details: Review the first, last, and size of every entered network.
  • IPv4 masks: Receive subnet mask, wildcard mask, and broadcast boundary.
  • No signup: Complete normal calculations immediately.

How Supernet Calculation Works

Every address is a binary number. A CIDR prefix states how many leading bits identify its network. The calculator finds the lowest first address and highest last address among all inputs, then measures how many leading bits those boundaries share.

The shared leading bits become the supernet prefix. If the first and last boundaries differ in nine IPv4 bits, 23 leading bits remain common and the result is a /23. The network boundary is aligned to that prefix so the complete range contains every input.

RFC 4632 explains Classless Inter-Domain Routing and address aggregation for IPv4. The same common-prefix idea applies to IPv6 prefixes using 128-bit addresses.

Supernetting Versus Subnetting

Subnetting divides one larger block into multiple smaller blocks by increasing the prefix length. Supernetting combines addresses or smaller networks under a broader prefix by decreasing the prefix length.

  • A /16 divided into /24 networks is subnetting.
  • Two aligned /24 networks combined as one /23 is supernetting.
  • A longer prefix describes fewer addresses.
  • A shorter prefix describes more addresses.

Use the Number of Subnets Calculator when dividing space. Use this page when finding a shared covering route.

Understanding Your Supernet Results

  • Calculated Supernet: The smallest single CIDR containing every input boundary.
  • Network and Last Address: The complete lower and upper boundaries of that block.
  • Total Addresses: The mathematical size of the covering CIDR.
  • Input Addresses Covered: Unique addresses represented by the entered networks after overlaps are removed.
  • Additional Addresses Included: Addresses inside the supernet but outside the exact input coverage.
  • Coverage Utilization: Exact entered coverage divided by the supernet size.
  • Collapsed CIDR Blocks: The smallest exact list that represents the inputs without filling gaps.
  • Normalized Network: An input adjusted to its correct CIDR network boundary.
  • Subnet and Wildcard Masks: Dotted IPv4 forms of the calculated prefix.

Why Alignment and Adjacency Matter

Two networks with the same size cannot always combine into one block of the next larger size. They must be adjacent and begin at the correct binary boundary. For example, 192.168.0.0/24 and 192.168.1.0/24 form 192.168.0.0/23. However, 192.168.1.0/24 and 192.168.2.0/24 cross a /23 boundary and need a broader covering range if forced into one CIDR.

The exact collapsed representation protects against this mistake. If the entries cannot merge without filling gaps, the list retains multiple networks. The broad supernet remains useful for analysis, but it should not automatically become a routing or firewall rule.

Route Aggregation Benefits

  • Smaller routing tables: One summary can replace several more-specific routes.
  • Simpler configuration: A clear regional or site prefix can be easier to document.
  • Reduced update volume: Internal changes can remain hidden behind a stable summary.
  • Clear allocation planning: A parent prefix can describe related address blocks.
  • Readable policies: Carefully aligned summaries can simplify approved network rules.

Aggregation must match ownership and routing design. A shorter route that includes another team, provider, security zone, or unallocated gap can send traffic to the wrong place or widen access.

IPv4 and IPv6 Supernets

IPv4 has 32 bits, so its largest possible block is /0 and one host route is /32. An ordinary IPv4 supernet has network and broadcast boundaries. The calculated usable-host figure follows standard subnet rules, although route aggregation itself concerns address coverage rather than host assignment.

IPv6 has 128 bits and no IPv4-style broadcast address. Large IPv6 allocations are often designed hierarchically so sites and regions can be summarized cleanly. The IPv6 addressing architecture provides the underlying address model.

Common Uses for a Supernet Calculator

  • Summarize internal routes: Check whether related subnets share one safe parent prefix.
  • Plan address allocations: Identify the broad block containing several requested networks.
  • Review firewall rules: Measure how much extra space a proposed summary would include.
  • Document sites: Create a concise view of branch or regional ranges.
  • Study CIDR: See how shared binary prefixes determine aggregation.
  • Check IPv6 hierarchy: Compare delegated prefixes and possible site summaries.

Frequently Asked Questions

What is the difference between a supernet and a subnet?

A subnet is a smaller division of a network. A supernet is a broader prefix covering multiple addresses or networks.

Can any two networks be combined?

A single covering CIDR always exists for inputs from one IP version, but it may include unrelated addresses. Exact aggregation needs correct alignment and adjacency.

Can I mix IPv4 and IPv6?

No. They use different address widths and must be calculated separately.

Why does the result include extra addresses?

One CIDR must cover a power-of-two, correctly aligned range. Gaps between inputs are included when necessary.

What does 100 percent utilization mean?

It means the unique input coverage fills the calculated supernet exactly.

Does the calculator change routing?

No. It only calculates and explains results. Review ownership, reachability, and policy before changing a router.

Can I enter individual IP addresses?

Yes. An address without a slash is treated as one IPv4 /32 or IPv6 /128 value.

Related IP Address Calculators

Use the Number of Subnets Calculator to divide a prefix, the CIDR Notation Calculator to inspect one network, and the Usable IP Range Calculator for exact endpoints. Browse all published calculators from ipdnslookup.