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.

Related tools