Subnet Mask Calculator

Convert between CIDR notation, dotted-decimal subnet masks, and binary representation. Calculate wildcard masks and visualize network/host bits.

Optional: Enter an IP to see the network and broadcast addresses
Enter the prefix length (0-32), e.g., 24 for /24

Result:

--