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.

192.168.0.1 192.168.0.10 -> 10

Counts a single IP.

10.0.0.1 10.0.0.1 -> 1

Counts another range.

172.16.0.5 172.16.0.7 -> 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.