Skip to content

Names and numbers from a short list

See whether an IPv4 address is inside a CIDR block

The address and the block are compared with the prefix mask.

Both values must be IPv4. The prefix runs from 0 to 32.

The work stays in this tab.

This tool runs in your browser. Turn on JavaScript to use it.

IP in range

The sample is fixed. It uses the same rule as the form.

Address
192.168.1.10
CIDR
192.168.1.0/24
Result
Inside

How to use it

  1. 1Fill in the fields.
  2. 2Read the result.
  3. 3Copy the line you need.

Good to know

  • The page does not ask who owns the range.
  • This page does not upload the text.
  • Text longer than one hundred thousand characters is rejected.

Questions

Does the result leave this browser?

No. The calculation finishes in the current tab.

What does this page leave out?

The page does not ask who owns the range.

What if the input is huge?

Past one hundred thousand characters, the page stops and asks you to shorten it.

Related tools

  • Calculate an IPv4 subnet

    A prefix says how many leading bits are the network. This page applies that mask to an IPv4 address and lists the addresses at the ends of the block.

  • Look up a common port number

    The list names the service usually found on that TCP or UDP port.

  • Convert binary, octal, decimal, and hex

    255, 0xFF, and 11111111 are one integer written three ways. This page keeps that integer exact and shows the other spellings beside the field you edit.