Subnetting is the foundational skill behind virtually all network design, from a small home office separating guest WiFi from internal devices, to a cloud architect carving up a Virtual Private Cloud into availability zones. This calculator handles the binary math automatically so you can focus on the design decision rather than manual bit-shifting.
Network Address
The first address in the range, with all host bits set to zero — identifies the subnet itself, never assigned to a device.
Broadcast Address
The last address in the range, with all host bits set to one — used to send a packet to every device on the subnet simultaneously, never assigned to a device.
Usable Hosts
Total addresses minus 2 (network + broadcast reserved) — the actual number of devices you can assign on this subnet, except for /31 and /32 which use special rules.
Wildcard Mask
The inverse of the subnet mask, used in Cisco ACLs and some routing protocol configurations instead of the standard mask.
❌ "Invalid format" error
Make sure you're using the format IP/prefix exactly, e.g. 10.0.0.0/16 — no spaces, and the prefix must be between 0 and 32.
❌ "Cannot create N subnets" error
You're asking for more subnets than the network has room for. A /24 can produce at most 256 single-address subnets (/32) — requesting more than that from a /24 will fail.
⚠️ "Subnets Created" shows more than requested
This is expected, not an error — subnetting can only divide into powers of 2 (2, 4, 8, 16...). Requesting 5 subnets will actually create 8, since that's the next power of 2.
💡
Plan for growth
When using Hosts → Subnet Size, consider future growth — a subnet that exactly fits today's device count leaves zero room for expansion without re-numbering.
💡
Use /30 or /31 for point-to-point links
Router-to-router WAN links only ever need 2 addresses — a /30 (2 usable) or /31 (
RFC 3021, 2 usable with no network/broadcast reservation) avoids wasting address space.
💡
Document every subnet's purpose
A simple spreadsheet mapping each subnet to its department, VLAN, or function prevents the confusion that builds up as a network grows over years.
📰 The Complete Guide to Subnetting & Network Design
This calculator is for getting a network plan out fast. For the reasoning behind it — why subnetting exists, VLSM, cloud subnetting patterns, and design case studies — see the in-depth guide below.
ToolsNovaHub tools are built and independently maintained with a focus on accurate, no-signup network and security utilities. Spotted an error? Let us know.
What is a subnet calculator used for? +
A subnet calculator computes the network address, broadcast address, subnet mask, and usable host range for any CIDR network, and can split a network into smaller subnets or find the right subnet size for a given number of devices.
What does the /24 in an IP address mean? +
The /24 is CIDR notation indicating the first 24 bits of the 32-bit address identify the network, leaving 8 bits for host addresses — giving 256 total addresses (254 usable).
Why are 2 addresses always unusable in a subnet? +
The first address (all host bits zero) identifies the network itself, and the last address (all host bits one) is reserved as the broadcast address — neither can be assigned to a device, except in /31 and /32 networks which use special rules.
What's the difference between a subnet mask and CIDR notation? +
They express the same information differently — a subnet mask like 255.255.255.0 and CIDR notation /24 both mean exactly 24 network bits. CIDR is more compact; subnet masks are required by some older equipment.
How do I split a network into equal subnets? +
Use the Split Into Subnets tab — enter your network and the number of subnets needed. The tool automatically calculates the new prefix and lists every resulting subnet with its usable range.
Why did I get more subnets than I asked for? +
Subnetting only works in powers of 2. If you request 5, 6, or 7 subnets, the calculator creates 8 (the next power of 2) since networks can't be split into non-power-of-2 equal pieces.
What subnet size do I need for 100 devices? +
Use the Hosts → Subnet Size tab and enter 100 — the tool will recommend a /25 (126 usable hosts), the smallest standard subnet that comfortably fits 100 devices with some headroom.
What is a wildcard mask and why does it matter? +
A wildcard mask is the bitwise inverse of a subnet mask, used in Cisco access control lists (ACLs) and some OSPF configurations instead of the standard mask format.
What's the smallest usable subnet? +
A /30 provides 2 usable host addresses, the traditional smallest practical subnet. A /31 (per RFC 3021) provides exactly 2 usable addresses with no network/broadcast reservation, commonly used for point-to-point router links today.
Does this tool support IPv6 subnetting? +
Not currently — this calculator focuses on IPv4 subnetting math. IPv6 uses a fundamentally different addressing philosophy (typically allocating a generous /64 per segment) covered in our IP Converter guide.
Can I use this for cloud VPC subnet planning? +
Yes — the same CIDR math applies to AWS, Azure, and Google Cloud VPC subnets. Note that cloud providers often reserve additional addresses beyond the standard network/broadcast pair, so check your provider's specific documentation.
Why does my calculation show a different class than I expected? +
The "IP Class" field shows the legacy A/B/C/D/E classification based purely on the first octet value — this is historical context only and has no bearing on modern CIDR-based routing, which ignores classful boundaries entirely.
Is this subnet calculator free to use? +
Yes, 100% free with no limits, no signup, and no data stored — every calculation runs entirely in your browser.
Can I calculate subnets for a /16 or larger network? +
Yes — any prefix from /0 to /32 is supported for the CIDR Calculator and Hosts → Subnet Size tabs. The Split tab caps at 64 resulting subnets per calculation for display practicality.