IP Tools

CIDR to IP Range

Expand a CIDR block into the exact range of addresses it covers.

Jump to tool

What Is CIDR to IP Range Conversion?

CIDR to IP range conversion expands a block written in CIDR notation, such as 203.0.113.0/24, into the first and last addresses it covers. It answers a common question: exactly which addresses does a firewall rule, cloud security group or allow-list entry include?

Enter an IPv4 CIDR block and the tool lists its first and last addresses and the range of usable host addresses.

How to Expand a CIDR Block

  1. Enter a block in CIDR notation, such as 10.0.0.0/24.
  2. Select Calculate.
  3. Read the first and last addresses and the usable host range.

Examples

CIDR blockAddress range
10.0.0.0/2410.0.0.0 to 10.0.0.255 (256 addresses)
172.16.0.0/12172.16.0.0 to 172.31.255.255
192.168.4.0/22192.168.4.0 to 192.168.7.255
203.0.113.64/27203.0.113.64 to 203.0.113.95

Check What a Rule Really Covers

A rule written as 203.0.113.0/24 allows 256 addresses, not one. Expanding a block before adding it to a firewall, security group or allow-list shows exactly who you are letting in.

Common Mistakes

  • Writing an address that is not on the block's boundary, such as 192.168.1.10/24, which some systems silently treat as 192.168.1.0/24.
  • Using /32 when you meant a whole subnet, or /0, which means every address.
  • Mixing up /12 and /16 for the 172.16 private range.

CIDR to IP Range FAQ

Need the mask and host count too?

Calculate the full details of a subnet.

IP Subnet Calculator