IPv4 range to CIDR
Just throw in the first and last IP address from your range.
CIDR result
How IP range to CIDR conversion works
So here's the thing - an IP range can usually be represented by a bunch of different CIDR blocks. This tool finds the smallest group of blocks that'll cover your range exactly. You'll use this all the time when you're setting up firewall rules or access control lists.
Frequently Asked Questions
What is CIDR?
CIDR (Classless Inter-Domain Routing) is a method of representing IP ranges using a network prefix, such as 192.168.1.0/24.
Why convert an IP range to CIDR?
Converting ranges to CIDR helps create efficient firewall rules, routing tables, and access control lists using the smallest possible number of network blocks.
Does this tool support IPv6?
This calculator focuses on IPv4 range to CIDR conversion. IPv6 calculations use different methods due to the much larger address space.
Is this CIDR calculator free?
Yes, the IP Range to CIDR calculator is completely free and works instantly in your browser.