Back to Developer Tools

IPv4 planning tool

IP Range Calculator

Measure an IPv4 start-to-end range and express it as a smallest containing network plus exact CIDR blocks.

IPv4 range

Range result

First
192.168.1.1
Last
192.168.1.254
Total addresses
254
Smallest containing CIDR
192.168.1.0/24

Exact CIDR blocks

192.168.1.1/32
192.168.1.2/31
192.168.1.4/30
192.168.1.8/29
192.168.1.16/28
192.168.1.32/27
192.168.1.64/26
192.168.1.128/26
192.168.1.192/27
192.168.1.224/28
192.168.1.240/29
192.168.1.248/30
192.168.1.252/31
192.168.1.254/32

About IP Range Calculator

Analyze an inclusive IPv4 range without sending addresses to a server.

Input is processed locally in your browser and is not sent to Navorika.

How the calculation works

Inclusive range size

End address number โˆ’ start address number + 1.

CIDR representation

Shared leading bits determine the containing CIDR; aligned power-of-two chunks form the exact block list.

How to use this tool

  1. 1Enter starting and ending IPv4 addresses.
  2. 2Correct any ordering or syntax error.
  3. 3Review the count and containing CIDR.
  4. 4Copy the exact CIDR blocks.

Understanding the result

The containing CIDR may include addresses outside the entered range.

The exact block list covers only the entered inclusive range.

Important limitations

  • IPv4 only.
  • A non-aligned range can require multiple exact CIDR blocks.

Explore this topic

Frequently asked questions

Are both endpoints counted?

Yes, the range is inclusive.

What is the range from 192.168.1.1 to .254?

It contains 254 addresses.

Why are there multiple CIDRs?

Arbitrary ranges often need several aligned CIDR blocks for exact coverage.

Use with

These tools support a practical next or previous step in the same workflow.

Related tools

Selected from curated relationships first, then the same subtopic and category.