Divide a network such as 10.0.0.0/16 into equal smaller subnets. Say how many subnets you need, how many hosts each must hold, or the new prefix length, and get a table of every subnet with its first host, last host and broadcast address. Download the list as CSV for your IP plan or infrastructure code.
4 subnets of /26, 62 usable hosts each.
| Subnet | First host | Last host | Broadcast |
|---|---|---|---|
| 10.0.0.0/26 | 10.0.0.1 | 10.0.0.62 | 10.0.0.63 |
| 10.0.0.64/26 | 10.0.0.65 | 10.0.0.126 | 10.0.0.127 |
| 10.0.0.128/26 | 10.0.0.129 | 10.0.0.190 | 10.0.0.191 |
| 10.0.0.192/26 | 10.0.0.193 | 10.0.0.254 | 10.0.0.255 |
Every calculation runs in your browser. What you type never leaves this device.
Split by number of subnets, hosts per subnet or a target prefix
Rounds up to the next power of two, so every subnet has room for what you asked
Table of subnets with first host, last host and broadcast
Download or copy the plan as CSV
Shows the total count even when a split makes thousands of subnets (first 512 listed)
Carve a /16 VPC into /20 or /24 subnets for public, private and database tiers across availability zones, then paste the CIDRs into Terraform.
Give each floor, department or Wi-Fi network its own subnet of the same size from one private block.
Work out pod and node CIDRs that do not overlap, and how many /24s a cluster range really gives you.
Check fixed-length subnetting answers for exams by seeing every resulting block laid out.
Borrowing one bit from the host part splits a network in two, two bits make four, three bits make eight. That is why asking for 5 subnets of a /24 gives you 8 subnets of /27: the next power of two that fits. The unused ones are spare for growth.
Subnet Calculator
Network, broadcast, host range and masks for any IPv4 CIDR
IP Range to CIDR
The smallest set of CIDR blocks covering an IP range
IPv6 Calculator
Compress, expand and analyse IPv6 addresses and prefixes
CSV Editor
Edit CSV files like a spreadsheet: cells, sort, filter, remove duplicates, add or delete rows and columns
JSON Formatter
Format and validate JSON
JSON Sort Keys
Alphabetize JSON keys at every level
JSON Flatten
Nested JSON to dot-path keys
JSON Unflatten
Dot-path keys back to nested JSON
Built by Edesy
Edesy builds AI products for Indian businesses. Start self-serve, no demo call needed.
AI agents that answer and make phone calls 24/7. Handle appointments, inquiries and support in Indian and global languages.
₹50 free credit. No demo call needed.