CIDR Calc
IP range to CIDR, instantly.
Convert any IPv4 range into the minimal set of CIDR blocks that exactly covers it. No extra addresses.
How it works
- Enter a start and end IPv4 address.
- We split the range into the fewest CIDR blocks possible.
- Copy the CIDRs or share the link.
Example
192.168.1.10 – 192.168.1.20
Result
192.168.1.10/31, 192.168.1.12/30, 192.168.1.16/30, 192.168.1.20/32
Tip
Use CIDR blocks to feed firewall rules, ACLs, or routing tables without expanding your address space.