Why does one address range produce several CIDR blocks?
CIDR blocks must start on aligned boundaries and contain a power-of-two number of addresses. An arbitrary range may need several blocks for an exact fit.
Network
Convert any inclusive IPv4 start and end address into the smallest exact set of CIDR blocks, with no lookup, upload, or extra addresses.
Enter an inclusive address range to get the fewest CIDR blocks that cover it without including extra addresses.
Your result will appear here.
Three simple steps
Enter the first and last IPv4 addresses.
Convert the inclusive range locally.
Copy the minimal CIDR block list.
Privacy first
Tool input and results are processed in temporary state for the current page. The TabPebble application does not send them to a server, write them to a database, or create processing history. Pages and code still load through ordinary network requests. Your browser may restore a tab, while downloads and clipboard copies remain on the device until you remove or replace them.
FAQ
CIDR blocks must start on aligned boundaries and contain a power-of-two number of addresses. An arbitrary range may need several blocks for an exact fit.
Yes. Core tools are free to use and do not require an account.
No. The TabPebble application performs the tool task in your browser and does not put input into site requests; ordinary page and code requests still reach the hosting service.