pjhtech Tools
Address planning

IPv4 Subnet Calculator

Find the network, broadcast, mask and usable address range for an IPv4 prefix.

Input

Reset restores the example inputs.

Local calculation · inputs are not sent to a server.

Result

Calculating the example…

Enter an IPv4 address with its prefix, such as 10.42.7.93/26. Use Network and Netmask for the subnet definition, and choose ordinary LAN host addresses from Usable range.

Example: 10.42.7.93/26 falls inside 10.42.7.64/26. The final address is 10.42.7.127, leaving 10.42.7.65–10.42.7.126 for 62 ordinary hosts.

Default input: 10.42.7.93/26
Network10.42.7.64/26
Netmask255.255.255.192
Wildcard0.0.0.63
Total addresses64
Usable addresses62
First usable10.42.7.65
Last usable10.42.7.126
Broadcast10.42.7.127

Enter four decimal octets followed by /0 through /32. Surrounding whitespace is accepted; ambiguous leading-zero octets are rejected. /31 uses the RFC 3021 point-to-point interpretation with two endpoints. /32 describes one host. A /0 count is arithmetic, not a claim that every address is assignable. Check the special-address reference before using a range.

References