Skip to content

IPv4 Range to CIDR

Cover inclusive start and end IPv4 addresses with the smallest aligned CIDR blocks, without extra addresses.

Input

Result

Type or paste on the left — the result updates as you type.

Cover inclusive start and end IPv4 addresses with the smallest aligned CIDR blocks, without extra addresses.

Up to 100,000 UTF-16 units per input and 1,000,000 per result. See the supported formats and examples below.

Format references

Tool page updated: