Subnet mask--
Network address--
Broadcast address--
First usable--
Last usable--
Total addresses--
Usable hosts--
Use this IPv4 subnet calculator for practical CIDR network planning. It supports /0 through /32 and handles /31 and /32 edge cases without classful assumptions.
Subnet mask--
Network address--
Broadcast address--
First usable--
Last usable--
Total addresses--
Usable hosts--
CIDR prefix length determines the network mask.
Network address = IP address AND subnet mask.
Broadcast address = network address OR wildcard mask.
192.168.1.10/24 gives network 192.168.1.0, broadcast 192.168.1.255, and 254 usable hosts.
10.0.0.0/30 provides 4 total addresses and 2 traditional usable hosts.
It is a planning estimate based on the values you enter. Real-world conditions can change the result.
Overhead, rounding, equipment limits, supplier units, network conditions, and user behavior can all affect the final number.
Round conservatively when running short would interrupt a project, backup, stream, trip, or outage plan.
Use the result card and checklist, then compare related calculators or guides before making a final decision.
No. Use manufacturer documentation, platform guidance, or professional advice for critical decisions.
This subnet calculator helps network admins, students, home lab users, and IT generalists convert CIDR notation into usable network details. It supports decisions such as choosing a subnet size, checking usable host capacity, documenting network ranges, planning VLANs, and avoiding address overlap before configuring routers, switches, firewalls, DHCP scopes, or cloud networks.
The result is useful before a configuration change because subnet mistakes can create routing conflicts, unreachable devices, DHCP exhaustion, VPN overlap, or firewall policy problems. Use it to document a plan before applying it.
The IP address anchors the calculation. The prefix length, such as /24 or /27, tells how many bits belong to the network portion. A smaller prefix number usually means a larger subnet. A larger prefix number usually means fewer usable host addresses.
Host bits = 32 - CIDR prefix.
Total addresses = 2 ^ host bits.
Usable IPv4 hosts = total addresses - 2 for most traditional subnets.
Subnet mask = 32-bit mask with prefix bits set to 1.
For example, a /24 has 8 host bits, so it contains 256 total addresses and commonly 254 usable host addresses. Modern platforms may reserve addresses differently, especially in cloud networks.
If you enter 192.168.10.0/27, the host bits are 5 because 32 - 27 = 5. The subnet contains 2^5, or 32 addresses. In traditional IPv4 planning, that usually means 30 usable hosts. The mask is 255.255.255.224, and the first range runs from 192.168.10.0 through 192.168.10.31.
Check whether the subnet is large enough for devices, gateways, DHCP reservations, network gear, future growth, and reserved addresses required by your platform. Real networks may also be affected by routing policy, NAT, firewall zones, overlapping VPN routes, and provider limits.
This is an IT planning calculator. Confirm production network changes against device documentation, cloud provider behavior, routing policy, firewall rules, DHCP design, and organizational standards before deployment.
CIDR notation writes an IP address with a slash prefix, such as 192.168.1.0/24. The number after the slash tells how many bits are used for the network portion.
A /24 has 256 total IPv4 addresses and commonly 254 usable host addresses.
Some cloud providers reserve addresses for gateway, DNS, metadata, or platform services.
A wildcard mask is the inverse of a subnet mask and is often used in ACL and routing configuration.
No. Review routing, firewall policy, VPN overlap, DHCP, and platform-specific rules before deployment.
Start with the actual number from your project, device, network, trip, or equipment label instead of a best guess.
Round up for materials, food, water, storage, and capacity. Round down for runtime when running short would cause trouble.
Use the related calculators on this page to plan the next part of the job instead of treating one result as the whole answer.