Toolzy

IP Range Calculator

Get the total address count and the list of CIDR blocks that exactly cover a start-to-end IP range.

Total addresses: 126
CIDR blocks (8)
Output

Enter a start and end IPv4 address to see how many addresses the range holds and the minimal set of CIDR blocks covering it.

How to use

  1. Enter the first IP of the range.
  2. Enter the last IP of the range.
  3. Copy the total count and the list of covering CIDR blocks.

Frequently asked questions

Why does one range produce several CIDR blocks?
CIDR blocks must be aligned powers of two, so an arbitrary range is split into the fewest aligned blocks that fit exactly.
Is this the minimal set of blocks?
Yes, the greedy alignment algorithm produces the smallest number of exact CIDR blocks for the range.

Related tools