IP Address Planner Calculator

Design CIDR plans for offices, labs, and clouds. Choose equal subnets or variable VLSM layouts. Download clean tables, then share ranges with teammates securely.

Calculator

Tip: non-aligned inputs are automatically aligned.
Select how you want to divide the base network.
Applies to each planned subnet.
Uses bits: newPrefix = basePrefix + ceil(log2(count)).
Uses block size: nextPow2(hosts + 2).
0 means generate the maximum possible count.
Largest host needs are allocated first and aligned to boundaries.
Reset

Example Data Table

This example shows a typical VLSM plan inside 192.168.10.0/24.

Team Hosts Planned CIDR Usable hosts Gateway
Guest WiFi 80 192.168.10.0/25 126 192.168.10.1
IT 60 192.168.10.128/26 62 192.168.10.129
HR 30 192.168.10.192/27 30 192.168.10.193
CCTV 10 192.168.10.224/28 14 192.168.10.225
Why usable hosts can be higher than needed
Subnets use power-of-two blocks. A request for 80 hosts becomes a /25 because it provides 126 usable addresses and clean alignment.

Formula Used

How to Use This Calculator

  1. Enter your base network in CIDR notation.
  2. Choose a planning mode that matches your design.
  3. Set the gateway preference for each subnet.
  4. Provide subnet count, hosts, or a VLSM list.
  5. Press Submit to generate the full plan table.
  6. Use the download buttons for CSV or PDF exports.

FAQs

1) Why does my network change after I enter CIDR?

If the IP is not on a subnet boundary, the tool aligns it to the correct network address. This prevents incorrect range math and keeps exports consistent.

2) What is the difference between equal subnets and VLSM?

Equal subnets divide the base network into same-size blocks. VLSM creates different-size blocks to match each team’s host needs more efficiently.

3) Why does the tool add two addresses to host needs?

Traditional IPv4 subnets reserve the network and broadcast addresses. So, a request for H hosts needs at least H+2 total addresses to fit cleanly.

4) When should I allow /31 and /32?

Use /31 for point-to-point links where both addresses are usable. Use /32 for single-host routes or loopbacks. Many LAN segments still prefer /30 or larger.

5) Why is broadcast shown as N/A sometimes?

A /31 link has no broadcast address in the usual sense, and both IPs are usable. A /32 represents one host address only, so broadcast is not meaningful.

6) How does the planner pick a gateway address?

You can choose the first usable or last usable address per subnet. The suggestion is included for convenience and can be adjusted to your standards.

7) Can I plan more subnets than the base network supports?

No. The tool checks capacity based on prefix and block size. If the request exceeds available space, it returns a clear limit message.

8) Is this calculator suitable for production network design?

It is a strong planning aid for IPv4 ranges, exports, and reviews. Always validate with your routing, security policies, and address management standards before deployment.

Related Calculators

ip network calculatorsubnet calculatorwildcard mask calculatoripv4 subnet calculatorip range calculatorip block calculatornetwork address calculatoripv6 subnet calculatorcidr block calculatornetwork size calculator

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.