Ip Subnet Calculator

Enter the values the ip subnet form asks for and the result is computed here, in the page, with no sign-up and no upload. Change one field at a time to see how sensitive the ip subnet figure is to that assumption.

Subnet Calculator
VLSM Planner
Reference Table

Network Information Input

VLSM Subnet Planner

Subnet Mask Reference Table

CIDR Subnet Mask Total IPs Usable Hosts Wildcard Mask
/32 255.255.255.255 1 0 0.0.0.0
/31 255.255.255.254 2 0 0.0.0.1
/30 255.255.255.252 4 2 0.0.0.3
/29 255.255.255.248 8 6 0.0.0.7
/28 255.255.255.240 16 14 0.0.0.15
/27 255.255.255.224 32 30 0.0.0.31
/26 255.255.255.192 64 62 0.0.0.63
/25 255.255.255.128 128 126 0.0.0.127
/24 255.255.255.0 256 254 0.0.0.255
/23 255.255.254.0 512 510 0.0.1.255
/22 255.255.252.0 1,024 1,022 0.0.3.255
/21 255.255.248.0 2,048 2,046 0.0.7.255
/20 255.255.240.0 4,096 4,094 0.0.15.255
/19 255.255.224.0 8,192 8,190 0.0.31.255
/18 255.255.192.0 16,384 16,382 0.0.63.255
/17 255.255.128.0 32,768 32,766 0.0.127.255
/16 255.255.0.0 65,536 65,534 0.0.255.255
/15 255.254.0.0 131,072 131,070 0.1.255.255
/14 255.252.0.0 262,144 262,142 0.3.255.255
/13 255.248.0.0 524,288 524,286 0.7.255.255
/12 255.240.0.0 1,048,576 1,048,574 0.15.255.255
/11 255.224.0.0 2,097,152 2,097,150 0.31.255.255
/10 255.192.0.0 4,194,304 4,194,302 0.63.255.255
/9 255.128.0.0 8,388,608 8,388,606 0.127.255.255
/8 255.0.0.0 16,777,216 16,777,214 0.255.255.255
Embed tool Add this tool to your website Get embed code

Add this calculator to a related page with a visible HeyCal source link.

Instant results No signup required Standard formulas Free to use

Frequently Asked Questions about Ip Subnet Calculator

How do I sanity-check the ip subnet result?

Rerun the calculator with a known example and compare it against the figure you expect; then swap back to your own numbers.

Which ip subnet inputs change the outcome most?

Adjust one field at a time. The figure that shifts the result hardest is the assumption worth double-checking before you rely on it.

Is there a completely free IP subnet calculator that doesn’t require uploading my network data?

Yes, absolutely. The key is to look for a tool that runs entirely in your browser using client-side scripts, typically JavaScript. The heycalc IP Subnet Calculator works this way. Your IP address and subnet details are processed locally on your device, so nothing is uploaded to any server. You can even disconnect from the internet after the page loads, and the calculator will still function perfectly.

How do I use a VLSM subnet calculator for real network planning?

Start by defining your base network in CIDR format (for example, 192.168.0.0/24). Then, list each subnet you need with a name and the number of required hosts. A proper VLSM planner will automatically sort your subnets from largest to smallest and allocate non-overlapping address blocks. You’ll see the network address, broadcast, and usable host range for each subnet. Always check the “utilization rate” to see how efficiently you’re using the total address space—aim for a high percentage to minimize waste.

What’s the difference between a subnet mask and a wildcard mask?

A subnet mask tells a router which part of an IP address is the network portion (using 1s) and which part is for hosts (using 0s). For example, 255.255.255.0 means the first 24 bits are the network. A wildcard mask is the inverse: 0s mark the network bits, and 1s mark the host bits. So for a /24, the wildcard mask is 0.0.0.255. Wildcard masks are primarily used in OSPF routing protocol configurations and some access control lists (ACLs). A good IP subnet calculator will always display both.

Can this tool calculate subnets for classful addressing like Class A, B, or C?

Yes, it identifies the IP class automatically based on the first octet of the address. Class A (1-126) has a default mask of /8, Class B (128-191) uses /16, and Class C (192-223) uses /24. However, modern networking almost exclusively uses Classless Inter-Domain Routing (CIDR), which is why the calculator prioritizes CIDR notation. The “IP Class” field is displayed as informational, which is particularly helpful for students learning the history of subnetting or for anyone maintaining legacy systems.