IP Range CIDR Calculator

Enter a block or IP range fast today. Compare masks, hosts, binaries, and CIDR summaries. Download clear network outputs for audits, labs, and planning.

Calculator Inputs

Example Data Table

Input Prefix Total Addresses Usable Hosts Common Use
192.168.1.0/24 /24 256 254 Small office LAN
10.0.0.0/16 /16 65,536 65,534 Large private network
172.16.5.0/30 /30 4 2 Point link
203.0.113.10/32 /32 1 1 Single host rule

Formula Used

Block size = 2 raised to the power of 32 minus prefix length.

Network address = floor of IP integer divided by block size, then multiplied by block size.

Broadcast address = network address plus block size minus one.

Subnet mask = 32 binary bits with prefix bits set to one.

Wildcard mask = 255.255.255.255 minus the subnet mask.

Usable hosts = total addresses minus two for normal blocks. A /31 returns two usable point addresses. A /32 returns one address.

How To Use This Calculator

  1. Enter a CIDR block, such as 192.168.1.10/24.
  2. Enter a start and end IP when you need exact range summarization.
  3. Add a test IP to check whether it sits inside the calculated block.
  4. Enter a larger new prefix to preview subnet splitting.
  5. Press Calculate to show the result above the form.
  6. Use the CSV or PDF buttons to save the calculation.

A Clear Way To Plan IP Blocks

An IP range can look simple at first. Yet one wrong mask can waste addresses. It can also block devices. This calculator helps you inspect a block before you apply it. It shows the network address, broadcast address, subnet mask, wildcard mask, total addresses, usable hosts, and binary form.

Why CIDR Matters

CIDR notation joins an IP address with a prefix. The prefix tells how many bits belong to the network. A smaller prefix gives a larger block. A larger prefix gives a smaller block. For example, /24 is common in small office networks. It gives 256 total addresses. Most normal /24 networks offer 254 usable host addresses.

Range Workflows

Many users start with a first IP and a last IP. This page can summarize that range into exact CIDR blocks. It also shows the smallest covering CIDR block. The exact list is useful for firewall rules. The covering block is helpful for quick planning, but it may include extra addresses outside the original range.

Subnet Planning

Network teams often split one large block into smaller blocks. The new prefix option previews those subnets. It shows the first subnets with their network and broadcast addresses. This helps you reserve spaces for teams, labs, devices, branches, or test environments.

Binary Checks

Binary output is useful when learning subnet math. It shows where network bits stop and host bits begin. This makes mask logic easier to verify. It also helps explain why two addresses fall inside the same block.

Good Practice

Always review usable host counts before deployment. A /31 behaves differently from old host rules. A /32 identifies one address only. Private ranges are best for internal systems. Public ranges need routing, ownership, and careful security controls. Export the result when documenting a change. Keep the saved file with tickets, diagrams, or audit notes. When used with change control, the exported summary reduces disputes. Everyone can see the same mask, range, host count, and subnet split before work begins on live systems.

Final Thoughts

CIDR is compact, but it contains many details. This tool expands those details into readable results. Use it before changing routers, firewalls, DHCP scopes, cloud rules, or monitoring allow lists.

FAQs

What is CIDR notation?

CIDR notation writes an IP address with a slash prefix. The prefix shows how many bits identify the network part. The remaining bits identify host addresses inside that block.

What does /24 mean?

A /24 means the first 24 bits are network bits. It contains 256 total addresses. In normal IPv4 subnetting, 254 addresses are usable by hosts.

Why is the broadcast address important?

The broadcast address is the last address in many IPv4 subnets. Devices should not receive it as a normal host address in traditional subnet designs.

What is a wildcard mask?

A wildcard mask is the reverse of a subnet mask. It is often used in routing rules, firewall policies, and access control lists.

Can I calculate a range without CIDR?

Yes. Enter the start IP and end IP. The calculator returns exact CIDR blocks and the smallest single covering CIDR block.

What does subnet splitting do?

Subnet splitting divides a larger block into smaller equal blocks. Enter a larger new prefix to preview the resulting subnet list.

Why does /31 show two usable addresses?

A /31 is commonly used for point-to-point links. Both addresses can be used on that link, so the calculator counts two usable addresses.

Can I download the result?

Yes. After calculation, use the CSV or PDF button above the form. The downloaded file includes the main subnet and range results.

Related Calculators

Paver Sand Bedding Calculator (depth-based)Paver Edge Restraint Length & Cost CalculatorPaver Sealer Quantity & Cost CalculatorExcavation Hauling Loads Calculator (truck loads)Soil Disposal Fee CalculatorSite Leveling Cost CalculatorCompaction Passes Time & Cost CalculatorPlate Compactor Rental Cost CalculatorGravel Volume Calculator (yards/tons)Gravel Weight Calculator (by material type)

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.