CIDR to IP Range Converter - Expand Any CIDR Block

Calculations performed locally

Convert any CIDR notation to a complete list of IP addresses. Instantly see network, broadcast, and all usable hosts in any IPv4 or IPv6 subnet block.

Expand CIDR Blocks to IP Address Lists

Instant Results
IPv4 & IPv6 Support
Export to CSV/JSON
100% Free

Enter IPv4 or IPv6 CIDR notation (e.g., 192.168.1.0/24, 10.0.0.0/28, 2001:db8::/120)

Enter a CIDR address above to get started

We'll show you every IP address in the range

Try:

Convert CIDR Blocks to Complete IP Lists

CIDR to IP Range expands any CIDR notation into a complete list of individual IP addresses. Enter a CIDR block like 192.168.1.0/24, and we enumerate every IP in that range with clear labels for network, usable, and broadcast addresses.

What You'll Discover

📊
Range Boundaries First IP (network), last IP (broadcast), first and last usable hosts
🔢
IP Counts Total addresses in the block and number of usable hosts
📋
Address List Every individual IP address for blocks up to 256 addresses
🏷️
IP Classification Each address labeled as Network, Usable, or Broadcast

Can Find

  • Complete IP list (up to 256 addresses)
  • First 10 and last 10 IPs for large networks
  • Network address and broadcast address
  • First and last usable host
  • Total IP count and usable host count
  • IP type labels (Network/Usable/Broadcast)

Cannot Find

  • IP geolocation or owner details
  • Subnet masks in binary/hex formats
  • Visual binary breakdown
  • Subnet splitting (VLSM)
  • Live network scanning or connectivity

How to Convert CIDR to IP Range

Expand any CIDR block in 3 simple steps

1

Enter CIDR Notation

Type or paste your CIDR notation (e.g., 192.168.1.0/24 for IPv4 or 2001:db8::/120 for IPv6).

2

Click Convert

Press the Convert button to expand the CIDR block into its complete IP address range.

3

View & Export Results

See all IP addresses in the range. Copy individual IPs or export the entire list as CSV, JSON, or text.

Understanding Your CIDR to IP Range Results

We display 6 key fields. Here's what each means:

First IP (Network)

The network address that identifies the subnet itself. This address cannot be assigned to devices—it represents the network as a whole. For 192.168.1.0/24, the network address is 192.168.1.0.

Example: 192.168.1.0

First Usable

The first IP address that can be assigned to a device. This is one address after the network address. This is typically assigned to the default gateway (router).

Example: 192.168.1.1

Last Usable

The last IP address that can be assigned to a device. This is one address before the broadcast address. Combined with first usable, it defines your assignable range.

Example: 192.168.1.254

Last IP (Broadcast)

The broadcast address used to reach all hosts on the network simultaneously. This address cannot be assigned to individual devices. Messages sent to this IP reach every device on the subnet.

Example: 192.168.1.255

Total IPs

Every address in the range including the network and broadcast addresses. For a /24, this is 256 addresses (2^8). For a /16, this is 65,536 addresses (2^16).

Example: 256

Usable Hosts

The number of addresses you can actually assign to devices. This is total IPs minus 2 (network and broadcast). Exception: /31 networks have 2 usable hosts and /32 has 1.

Example: 254

Why Use Our CIDR to IP Range Converter

More features than basic converters

Complete IP Enumeration

Get a full list of every IP address in any CIDR block up to 256 addresses, with network and broadcast addresses clearly labeled.

Smart Large Network Handling

For networks larger than /24 (256 addresses), we show the first 10 and last 10 IPs to prevent browser slowdown while still giving you the boundaries.

IPv4 & IPv6 Support

Full dual-stack support from /0 to /32 for IPv4 and /0 to /128 for IPv6. Enter any valid CIDR notation.

Triple Export Formats

Download your IP list as JSON for APIs and scripts, CSV for Excel and Google Sheets, or TXT for documentation.

One-Click Copy

Copy individual IPs with a click or grab the entire list at once. Perfect for pasting into firewall rules or config files.

IP Type Labeling

Each IP is clearly marked as Network (first), Usable (assignable), or Broadcast (last) so you know exactly what can be assigned.

When You Need CIDR to IP Range Conversion

Common scenarios for expanding CIDR blocks

Firewall Configuration

Generate IP lists when your firewall doesn't support CIDR notation and you need to add individual IP addresses to allow or block lists.

Network Scanning

Create target lists for tools like Nmap, Masscan, or custom vulnerability scanners that require explicit IP addresses rather than CIDR ranges.

Asset Inventory

Document every IP address in your network allocation for compliance auditing, asset management, or network documentation purposes.

ACL Configuration

Build access control lists for routers, switches, or cloud security groups that require explicit IP addresses instead of CIDR notation.

How CIDR to IP Range Conversion Works

We use RFC-compliant calculation to expand any CIDR block.

Calculation Engine

Our converter uses Python's ipaddress module for RFC-compliant network calculations. When you enter a CIDR block, we perform bitwise operations to calculate the network boundaries: the prefix length determines how many bits are fixed (network portion) vs variable (host portion). For 192.168.1.0/24, the first 24 bits are fixed, leaving 8 bits (256 addresses) for hosts.

Display Limits

For networks with 256 or fewer addresses (/24 and smaller), we show every IP in the range with type labels. For larger networks, displaying thousands of IPs would freeze your browser, so we show the first 10 and last 10 as a sample. You can still export the complete boundaries or use the API for full enumeration.

IPv4 vs IPv6 Differences

IPv4 reserves two addresses per subnet: the first (network address) and last (broadcast address) cannot be assigned to devices. IPv6 has no broadcast concept—all addresses are theoretically usable. However, IPv6 subnets are so large that practical enumeration is only feasible for /120 or smaller prefixes (256 addresses).

CIDR to IP Range vs Subnet Calculator

Both tools work with CIDR notation but serve different purposes. Subnet Calculator provides network analysis: subnet masks, binary breakdown, VLSM splitting, and network classification. This CIDR to IP Range tool focuses solely on enumeration—listing every individual IP address for use in scripts, firewall rules, or documentation.

Tool Specifications

IPv4 Prefix Range
/0 to /32
IPv6 Prefix Range
/0 to /128
Full List Display
≤256 IPs
Large Networks
First/last 10 sample
Export Formats
JSON, CSV, TXT
Cache Duration
24 hours
API Access
Free, no key required
Rate Limit
None

Frequently Asked Questions

How do I convert CIDR to IP range?

Enter CIDR notation like 192.168.1.0/24 into the input field and click Convert. We'll expand the CIDR block and show you every IP in the range with clear labels for network address, usable hosts, and broadcast address.

How many IPs are in a /24 CIDR?

A /24 CIDR block contains 256 total IP addresses (2^8). Of these, 254 are usable hosts—subtract the network address (first IP) and broadcast address (last IP) which cannot be assigned to devices.

Why can't I see all IPs for large networks?

For networks larger than /24 (more than 256 addresses), displaying thousands of IPs would slow down your browser. We show the first 10 and last 10 IPs as a sample so you can see the boundaries. Use the export button or API for complete enumeration.

What's the difference between total IPs and usable hosts?

Total IPs is every address in the range including network and broadcast. Usable hosts is the number you can actually assign to devices—total minus 2 for most subnets. Exception: /31 networks (point-to-point links) have 2 usable hosts, and /32 has 1.

Does this work with IPv6?

Yes! Enter any IPv6 CIDR notation like 2001:db8::/120. Full IP enumeration works for /120 or smaller prefixes (256 addresses or fewer). Larger IPv6 networks show first/last 10 samples since full enumeration is impractical.

What's the difference between this and Subnet Calculator?

Subnet Calculator shows network analysis: subnet masks, binary breakdown, VLSM splitting, and network classification. CIDR to IP Range focuses specifically on listing every individual IP address—perfect when you need the actual IPs for firewall rules, scripts, or documentation.

Can I export the IP list?

Yes! After converting, use the export buttons to download your IP list as JSON (for APIs and scripts), CSV (for Excel and Google Sheets), or TXT (for documentation). You can also copy individual IPs or the entire list with one click.

What do Network, Usable, and Broadcast mean?

Network is the first IP—it identifies the subnet and can't be assigned to devices. Usable addresses are everything in between that you can assign to hosts. Broadcast is the last IP—it reaches all hosts on the network and can't be assigned. IPv6 doesn't have broadcast addresses.

Ready to Expand Your CIDR Blocks?

Enter any CIDR notation above to see every IP address in the range.

Try It Now