IPv4 Range Calculator

Enter a start and end IP to find the smallest CIDR block covering the range, or enter multiple CIDRs to summarize them into the fewest covering blocks.

Enter the start of the range.

Enter the end of the range.

Result

Enter your values and press Calculate — the result appears here.

Worked examples

Calculate range

  • startIp = 192.168.0.0
  • endIp = 192.168.0.255

Result: CIDR: 192.168.0.0/24 (256 addresses)

Frequently asked questions

What if the range is not CIDR-aligned?

The calculator will show the smallest CIDR block that fully contains the range, which may include addresses outside the specified range.

💬 Discuss on BestWordz Community

Join the conversation about Cybersecurity, ipv4 range calculator, ip range on the BestWordz Community forum.

Visit Forum →
Copied!