ZHIXU TOOLSZHIXU TOOLSZHIXU

Subnet calculatorSUBNET / MASK · HOSTS · NETWORKS

Provides an IP and subnet mask, immediately obtains a network address, a broadcast address, and the number of hosts available; cuts to the address section mode, and calculates how many networks can be assigned by the current mask.

Single address & mask

IPv4
Dots in decimal, four paragraphs 0–255, e.g. 10.0.0.1
A point can be filled in a decimal number 255.255.255.0, or a prefix length can be filled directly 24
24
/0 · 0.0.0.0 /32 · 255.255.255.255

Calculate Results

Mask mode
Usable hosts
254
2^(32−24) − 2
= 254
Network Position (Stocked) Host space (distributable to equipment)
Network Position 24 bitHost 8 bit

What about the host count?: The number of host places available = 2 is reduced by 2 by the network address (all 0) and the broadcast address (all 1). / 31 by the point-to-point link of 2 available addresses and only by 1 in 32.

What about the number of networks?: In the address segment mode, the respective network numbers are calculated using the starting and ending address, the difference being the number of subnets involved in this section.

Mask validity: A mask's binary form must have consecutive 1s followed by consecutive 0s. For example, 255.255.254.0 is valid; 255.255.253.0 is invalid.

How to use

ZHIXU TOOLS · Back to all tools