Count IPs in Given Range

Calculate the total number of IPv4 addresses between two endpoints. Paste the start and end IP on separate lines.

IP range (start then end)

Enter the start IP on the first line and the end IP on the second line.

Processing happens locally in your browser; nothing is uploaded.

IP countTotal number of IPv4 addresses in the range.

0 lines in0 lines outN/A runtime

Typical inputs process in under 1ms on modern browsers.

How to count IPs

Count in 3 steps

Takes ~5 seconds
  1. 1
    Paste start IP

    Enter the first IP address on line one.

  2. 2
    Paste end IP

    Enter the last IP address on line two.

  3. 3
    Count

    Click "Count IPs" to calculate the total.

Start IP must be lower than or equal to end IP.

Who should use this tool?

  • Network administrators
  • Security teams
  • Infrastructure planners

Examples

Counts a small range.

Input
192.168.0.1
192.168.0.10
Output
10

Counts a single IP.

Input
10.0.0.1
10.0.0.1
Output
1

Counts another range.

Input
172.16.0.5
172.16.0.7
Output
3

Count IP ranges fast

Calculate the size of an IPv4 range in seconds.

Use this IP range counter to find out how many IPv4 addresses exist between two endpoints. Paste the start and end IPs, calculate the total instantly, and copy the result. Everything runs locally in your browser for fast, private checks.

Quick totals

Get the total number of IPs in a range instantly.

  • Instant output
  • No server upload
  • Works on IPv4 ranges
Network planning

Useful for subnet checks, audits, and capacity estimates.

  • Clear counts
  • Fast results
  • Copy or download easily
Privacy first: we never send your input to a server. Everything runs locally in your browser.

Counting tips

Double-check IP order before counting.

  • Use one IP per line.
  • Ensure IPv4 formatting is correct.
  • Swap endpoints if the result looks off.

Frequently asked questions

Does this support IPv6?>
No. This tool only supports IPv4 ranges.
What if I paste more than two lines?>
Only the first two lines are used as the range endpoints.
Is my data sent anywhere?>
No. All processing happens locally in your browser.

Related IP tools

32-Bit Binary to IP Converter

Convert 32-character binary strings to IPv4 dot-decimal addresses instantly. Paste one or more lines and get results in your browser.

Binary to IP Converter

Convert dotted binary IPv4 addresses to dot-decimal notation instantly. Paste one or more binary IPs and get results in your browser.

Hex to IP Converter

Convert hexadecimal IPv4 addresses to dot-decimal notation instantly. Accepts dotted hex like C0.A8.00.01 or a single hex value like C0A80001 / 0xC0A80001.

Integers to IPv4 Dot-Decimal IPs

Convert integer IP values to IPv4 dot-decimal format. Paste one integer per line and get IPs instantly. In your browser.

IP Address Sorter

Sort a list of IPv4 addresses from lowest to highest. Paste IPs and get sorted output instantly. Works fast in your browser.

IP to 32-Bit Binary Converter

Convert any IPv4 address to a 32-character binary string instantly. Paste one or more IPs and get the full 32-bit binary output in your browser.

IP to Binary Converter

Convert IPv4 addresses to dotted binary instantly. Paste one or more addresses and get 8-bit binary octets fast, right in your browser.

IP to Hex Converter

Convert IPv4 addresses to hexadecimal instantly. Choose dotted (C0.A8.00.01), contiguous (C0A80001), or 0x-prefixed output. Fast, free, browser-based.

IPv4 Dot-Decimal IPs to Integers

Convert IPv4 dot-decimal addresses to integer format. Paste one IP per line and get numeric output instantly. In your browser.

Random IP Generator

Generate a list of random IPv4 addresses. Enter how many IPs you need and get them instantly. Works fast in your browser.