IP Range to CIDR Converter

Convert between IP ranges and CIDR notation. Supports both IPv4 and IPv6 addresses.

IP Range: A continuous sequence of IP addresses defined by a start and end IP (e.g., 192.168.0.0 - 192.168.0.255).

CIDR Notation: A compact representation combining an IP address with a prefix length indicating the network size (e.g., 192.168.0.0/24).

Examples

  • 192.168.0.0/24 = 192.168.0.0 - 192.168.0.255 (256 IPs)
  • 10.0.0.0/8 = 10.0.0.0 - 10.255.255.255 (16,777,216 IPs)
  • 2001:db8::/32 = IPv6 prefix with 2^96 addresses

Other IP Tools

IP to Number Converter · Expand/Collapse IPv6 · Subnet Calculator