Technology

IP Range Calculator

Total addresses and range between two IPv4 addresses.

Enter your values

ⓘ Live results

Results
Total addresses
254
Range
10.0.0.1 - 10.0.0.254
Nearest CIDR block size
2^8 = 256

Quick answer

Address count = end IP numeric value - start IP numeric value + 1.

count = endNum - startNum + 1

How to use the IP Range Calculator

  1. 1Enter the start and end IPv4 addresses of the range.
  2. 2The calculator converts both to numeric form and finds the difference.
  3. 3Read the total number of addresses spanned.

Worked example

Using the values the calculator loads with:

Inputs

  • Start IP10.0.0.1
  • End IP10.0.0.254

Results

  • Total addresses254
  • Range10.0.0.1 - 10.0.0.254
  • Nearest CIDR block size2^8 = 256

Frequently asked questions

Is this the same as usable hosts?

This counts every address in the range; subtract 2 if network/broadcast addresses should be excluded.

What if the range doesn't fit a clean CIDR block?

The nearest power-of-two block size is shown, but you may need multiple CIDR blocks to cover an odd range exactly.

About this calculator

Results are estimates for general information. For medical, legal, structural or financial decisions, confirm with a qualified professional.