Type a tool name, for example "keyword density" or "transcript".
Convert a CIDR notation IP block to its full IP address range, subnet mask, and host count.
A CIDR to IP range converter turns CIDR notation such as 192.168.1.0/24 into the actual addresses the block covers. Paste one block per line, and this free tool returns the network address, first and last usable IP, broadcast address, subnet mask and usable host count. It suits network admins, developers and security teams.
CIDR notation writes a block of IPv4 addresses as a starting address, a slash and a prefix length, such as 192.168.1.0/24. The prefix length tells you how many of the 32 bits are fixed as the network portion. The remaining bits identify individual addresses inside the block.
CIDR stands for Classless Inter-Domain Routing. It replaced the older Class A, B and C scheme, which could only split networks at 8, 16 or 24 bits. With CIDR, any prefix from /0 to /32 is valid, so an address block can be sized to fit the network that needs it.
The math is simple. A block holds 2 to the power of (32 minus the prefix) addresses. A /24 holds 2 to the power of 8, which is 256 addresses. A /16 holds 65,536 and a /8 holds 16,777,216. A smaller prefix number always means a bigger block.
Many systems still ask for a start and end address instead of a prefix. Firewall rules, spreadsheets, log filters, geo-IP databases and older admin panels often work that way. Converting by hand means binary math, and one wrong bit gives you the wrong boundary.
You can convert one block or a whole list in a few seconds. Here is the process, using the labels on the page.
If you click the button with an empty box, the tool asks you to enter at least one CIDR.
The easiest way to see what the converter returns is to run the three sample blocks from the input box. Here is what the usable range and host count look like for each.
| CIDR | Usable IP Range | Usable Hosts |
|---|---|---|
| 192.168.1.0/24 | 192.168.1.1 to 192.168.1.254 | 254 |
| 10.0.0.0/8 | 10.0.0.1 to 10.255.255.254 | 16,777,214 |
| 172.16.0.0/12 | 172.16.0.1 to 172.31.255.254 | 1,048,574 |
For 192.168.1.0/24, the network address is 192.168.1.0, the broadcast address is 192.168.1.255 and the subnet mask is 255.255.255.0. The block has 256 addresses, but two are reserved, so 256 minus 2 leaves 254 usable hosts.
The /12 row shows why people use a converter. The mask is 255.240.0.0, and the range ends at 172.31.255.254, not 172.16.255.254. The boundary falls in the second octet, which is hard to spot without doing the bit math. These three blocks are the private ranges defined in RFC 1918.
Each column answers a different question, and knowing which one to copy keeps you from misconfiguring a device.
The Network column is the first address in the block. It identifies the subnet itself and is not assigned to a device. The Broadcast column is the last address, used to reach every host on the subnet. Neither is a usable host address in a standard subnet.
The IP Range column shows the first and last usable host addresses, not the network and broadcast addresses. For 192.168.1.0/24 it reads 192.168.1.1 to 192.168.1.254. If a system wants the full span of the block, use the Network value as the start and the Broadcast value as the end.
The Subnet Mask is the prefix written in dotted form. /24 is 255.255.255.0, and /28 is 255.255.255.240. Usable Hosts tells you whether the block is big enough. If you need 50 devices, a /26 gives 62 usable addresses and fits, while a /27 gives only 30 and does not.
These two prefixes are special cases. A /32 is one address, so the range starts and ends at the same IP, the broadcast shows Not applicable and the host count is 1. A /31 has two addresses and no broadcast, so both are listed as usable, which matches how point-to-point links are commonly configured.
Anyone who has to move between prefix notation and plain address ranges will use this regularly. These are the typical situations.
If you need a list for a spreadsheet, convert your blocks here and copy the values you need from the table. The page does not offer an export button.
Most problems come from the input format or from misreading the usable range. These are the cases you are most likely to hit.
If you enter 192.168.1.77/24, the Network column shows 192.168.1.0. The converter aligns the address to the block boundary, because the prefix defines which bits belong to the network. The row still shows the CIDR you typed, so you can match it to your source.
This converter works with IPv4 only. An IPv6 block such as 2001:db8::/32 returns an Invalid IP message, because IPv6 uses a 128-bit address and a different notation.
It also performs a pure address calculation. It does not tell you who owns a block, whether the addresses are in use, or which domains sit on them. For a full subnet breakdown that includes the wildcard mask, use the subnet CIDR calculator. To see which domains share a server in a block you care about, try a reverse IP lookup. You can find related utilities in the Network and IP tools category.
Paste your CIDR blocks into the box above and click Convert to IP Range. You get the exact network, usable addresses, mask and host count for every line in one table, so you can configure rules and size subnets with confidence.
Your report has been submitted. We will look into this issue.
A VPN changes your network exit. It does not guarantee anonymity.
Themes, plugins, code, video, audio, graphics & more from 90,000+ authors.
Web Development
Design & Media
Unlimited Access
Explore Envato Market