Skip to content
VPNDetection
Tool

CIDR to IP Range Converter

Paste CIDR blocks or single addresses, IPv4 or IPv6, and get each one's first and last address and its exact size, with the netmask and wildcard mask for IPv4. Every address links to its own lookup, and every IPv4 block to the range page that holds it.

One per line, up to 1,000 at a time. IPv4 or IPv6; a single address converts as a /32 or a /128.

1 converted

Results

CIDRFIRST ADDRESSLAST ADDRESSADDRESSESNETMASKWILDCARDCOVERAGE
192.168.100.0/22First address192.168.100.0Last address192.168.103.255Addresses1,024Netmask255.255.252.0Wildcard0.0.3.255Coverage192.168.0.0/16

How CIDR notation works

A CIDR block is an address and a prefix length. The prefix length counts the leading bits that name the network; the bits after it number the addresses inside it. 192.168.100.0/22 fixes the first 22 of its 32 bits, which leaves 10 bits, or 1,024 addresses, running from 192.168.100.0 to 192.168.103.255.

First11000000.10101000.01100100.00000000192.168.100.0
Last11000000.10101000.01100111.11111111192.168.103.255
Netmask11111111.11111111.11111100.00000000255.255.252.0
The 22 network bits in white, the 10 host bits in blue. The first address sets every host bit to 0, the last sets every one to 1, and the netmask is 22 ones followed by zeros.

IPv6 works the same way over 128 bits, and is written with the prefix length alone, so it has no netmask or wildcard here. A /64 holds 18,446,744,073,709,551,616 addresses, which is why counts are given in full rather than rounded.

Every IPv4 block in the results links to the /8, /16 or /24 page that holds it, where our datasets break VPN, proxy and hosting coverage down block by block. All IP ranges starts from the top, and the bogon ranges are the blocks that never appear on the public internet. Convert 192.168.100.0/22 to see the example above in the converter.

On this page

What does the number after the slash mean?

It is the prefix length: how many leading bits of the address name the network. The rest number the addresses inside it, so a /24 holds 256 addresses, and a /32 or a /128 is a single address.

00 · No key

Start without signing up.

Paste it into a terminal. No account needed. 1k daily allowance per user, answering ip and is_vpn.

curl "https://api.vpndetection.io/45.83.91.1"
{
"ip": "45.83.91.1",
"is_vpn": true
}
01 · Free key

Sign up and get 50,000 requests a month.

No card and no sales call: the key is issued on signup.
Every request flags VPN IPs.
Upgrade only when you outgrow the allowance.