Supernet Calculator for IP - Online and Free!
* - Invalid

Supernet calculator

What is supernet?

Networks or subnets combined into single nework with common CIDR mask is called supernets or supernetworks. The common routing prefix of supernet is aggregated from the prefixes of given networks or subnets and it must be smaller or the same as smallest component network prefix. This concept of creating a supernet is called supernetting or routing aggregation. Route aggregation reduces the number of advertised routes on huge networks by summarizing routes.

Supernetting was introduced to solve the problem with rapidly growing routing tables and because of IP version 4 address pool exhaustion. The main benefits of route aggregation (supernetting) are less memory and CPU power requirments for storing and processing routes. More information about supernets can be found in RFC 1338 - Supernetting: an address assignment and aggregation strategy.

Supernet example

Consider the following networks:

192.168.1.0/24
192.168.2.0/24
192.168.3.0/24
192.168.4.0/24
To determine the supernet of the component networks do the following:
  1. Convert all IP address of the networks and align them in a list:
    11000000101010000000000100000000
    11000000101010000000001000000000
    11000000101010000000001100000000
    11000000101010000000010000000000
    Note: For IP conversions from dotted-decimal to binary you can use IP conversion tool.
  2. Find the common bit pattern starting from left that is common for all IP binary IP addresses. In this case it is
    110000001010100000000
  3. Count how many bits does the common pattern have - it will be used as network prefix.
  4. End the same bit string with zeroes, so that there are 32 bits. Convert result back to dotted-decimal format and add routing prefix. The result supernet of these networks is 192.168.0.0/21

How to use supernet calculator

  • Input one or multiple network IDs each in separate line in CIDR notation format, for example, 10.5.200.0/16. Networks without routing prefix specified will be treated as "/32" hosts.
  • Press aggregate to summarize the supernet of the input networks.
  • Invalid networks will be excluded from the calculation and there will "*" append to it.

To calculate CIDR values, please use CIDR calculator. To calculate classful subnetting values, please use Subnet calculator.