Runs in your browser — nothing you enter leaves your device.
Enter an IP and prefix.
Copy buttons copy only the plain record — the grumpy verdict stays on the page.
How subnetting works
A subnet divides an IP network into a network part and a host part. The prefix length — the /24 in 192.168.1.0/24 — says how many bits belong to the network. Everything else is room for hosts. The subnet mask is that same idea written as four octets, the network address is the first address in the block, and the broadcast address is the last. Conventionally you lose those two, which is why a /24 holds 254 usable hosts instead of 256, and why a /30 with four addresses is the classic point-to-point link size. This calculator runs entirely in your browser: nothing is sent to the server, so feel free to paste real internal addressing while planning VLANs, DHCP scopes or firewall rules. The mistakes it prevents are the usual ones — overlapping ranges when two sites join by VPN, DHCP pools that include the gateway, and access-list entries written against the wrong boundary. Run the numbers here, then paste the output into your change ticket so the next person sees exactly what you intended, not what you typed from memory at midnight.
