IPv4 Range Calculator
The IPv4 range calculator works in the opposite direction of a subnet calculator: you give it a start and end IP address, and it returns the most efficient set of CIDR blocks that covers the entire range without overlap.
This is useful whenever you have a flat list of addresses (an IP range from a DHCP pool, a block of public IPs from an ISP, or a legacy allocation) and need to express it as clean CIDR notation for routing or documentation. Because CIDR blocks must start on an aligned boundary, a range that is not a power of two is split into the smallest set of blocks that fits.
IPv4 Range Calculator
Find the CIDR notation (or notations) that covers a given IP range.
Frequently Asked Questions
How do I convert a list of IP addresses into CIDR?
What does it mean that an IP range is not CIDR aligned?
Why would I convert an IP range to CIDR?
Read More
Guides that go deeper on the same topic.


More Tools
Explore the other tools in the toolkit.