Network

CIDR Calculator

Analyze a list of CIDR blocks: mask, wildcard, broadcast, number of hosts, and optimal aggregate calculation for your routing announcements.

How it works

CIDR notation (Classless Inter-Domain Routing) replaces the historical A/B/C classes with an explicit prefix: /16, /22, /27… It is the format used across the modern Internet, from internal addressing plans to BGP tables.

Aggregation (route summarization) groups several contiguous blocks into one or more shorter blocks. Two contiguous /24s, 192.168.0.0/24 and 192.168.1.0/24, aggregate into 192.168.0.0/23, reducing routing table size.

Examples

Two contiguous LANs

Aggregate into 192.168.0.0/23.

blocks192.168.0.0/24 192.168.1.0/24
Load this example

Mixed addressing plan

Three blocks, optimal aggregate calculated.

blocks10.0.0.0/16 10.1.0.0/16 172.16.4.0/22
Load this example

Frequently asked questions

What is CIDR notation?

It is a format that associates an address with a prefix (number of network bits), for example 10.0.0.0/8. It replaces the old address classes.

How do you aggregate two networks?

They must be contiguous and aligned on the larger size. The tool automatically calculates the optimal aggregate.

What is the VLSM method?

VLSM (Variable Length Subnet Mask) allows masks of different sizes depending on requirements: see the dedicated tool.