IP in Subnet — Contains / Overlap

Check whether an IP is inside a CIDR, or whether two CIDRs overlap.

Loading…
IP in subnet
contains (IP ∈ CIDR) or overlap (intersection of two CIDRs).

Developer notes

• Same family required. • Forced family → error on mismatch. • 64 KiB limit.

Options

Mode
contains = IP ∈ CIDR; overlap = intersection of two CIDRs.
Family
auto, or force ipv4 / ipv6 (mismatch → error).

When teams pick this route

• Smoke-test an ACL rule. • Check whether two prefixes intersect.

Worked examples

Contains

Before

10.1.2.3

After

true

Overlap

Before

10.0.0.0/16

After

true

Related networking tools

Calculator: subnet-calculator. Hub: networking tools.

IP in subnet FAQ

Contains & overlap

When should I use the number-base converter instead?

To convert an integer between bases 2–36 (hex of a number, binary of a value), use number-base-converter. Networking tools compute subnets and CIDRs — not general base conversion.

Are IP addresses uploaded?

No. All math runs locally in your browser. Nothing is uploaded to FastMinify.

What is the size limit?

64 KiB (UTF-8) for the combined input fields of each tool.

More networking tools in this cluster

Looking for converters, encoders, formatters, and minifiers in one place? Developer tools hub Open the curated developer tools catalogue.