VLAN & Subnet Calculator
Calculate IP address allocation across VLANs with optimal subnet sizing, growth margin, and utilization analysis.
Inputs
Results
Subnet CIDR
25 bits
Hosts per Subnet
126
Total Usable IPs
504
How to Use This Calculator
- Enter Total Devices, Number of VLANs, and Growth Margin.
- Set Second Octet (10.X.0.0).
- Review Subnet CIDR (bits), Hosts per Subnet, and Total Usable IPs.
- Use Devices per VLAN and Devices + Growth to inform your decision.
- Use the chart to visualize the results and explore different scenarios by adjusting inputs.
How the result changes with Total Devices
| Total Devices | Subnet CIDR | Hosts per Subnet | Total Usable IPs |
|---|---|---|---|
| 10,001 | 20 bits | 4,094 | 16,376 |
| 35,001 | 18 bits | 16,382 | 65,528 |
| 65,000 | 16 bits | 65,534 | 262,136 |
| 90,000 | 16 bits | 65,534 | 262,136 |
What each input means
- Total Devices
- Total number of network devices/endpoints to address
- Number of VLANs
- Number of VLANs to distribute devices across
- Growth Margin
- Additional address space for future device growth
- Second Octet (10.X.0.0)
- Second octet for the 10.X.0.0/Y addressing scheme
How this is calculated
Formula
Hosts = 2^(32-CIDR) - 2; CIDR = smallest where Hosts ≥ Devices × (1+Growth)Worked example, using the default values
- Identify Input Parameters4 parametersTotal Devices = 200, Number of VLANs = 4, Growth Margin = 30, Second Octet (10.X.0.0) = 168 = 4 input(s) provided
- Calculate Subnet CIDRSubnet CIDR = 3025 = 25
- Calculate Hosts per SubnetHosts per Subnet126 = 126
- Calculate Total Usable IPsTotal Usable IPs504 = 504
- Calculate Devices per VLANDevices per VLAN50 = 50
- Calculate Devices + GrowthDevices + Growth65 = 65
Engine last updated . Checked against 1 independently-derived test — how we verify calculators.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Bandwidth Capacity Planner
Calculate required network bandwidth from user count, application profiles, concurrency, and protocol overhead.
Network DesignSwitch Port Density Calculator
Calculate access, distribution, and core switch count from endpoint count, port requirements, and uplink oversubscription.
Technology & ComputingSubnet Calculator
Calculate subnet mask, network address, broadcast address, usable host range, and CIDR notation for any IP address.
Technology & ComputingIP Subnet Calculator
Calculate IP subnet information including subnet mask, hosts per subnet, and network configuration.
Technology & ComputingNetwork Tools Calculator
Subnet calculator, bandwidth estimator, and VLSM network planning.
More in Technology & Computing.