NetToolForge

Free networking utility

CIDR / Subnet Mask Converter

Convert between CIDR, subnet and wildcard masks.

CIDR / Subnet Mask Converter

Convert between CIDR, subnet and wildcard masks.

How this tool works

For example, /24 means 255.255.255.0. Enter a dotted subnet mask to convert it back into CIDR. Only contiguous masks are valid.

Worked example

A /26 subnet mask is 255.255.255.192 and its wildcard mask is 0.0.0.63.

Always verify outputs before changing production systems. These tools are for learning, planning, and troubleshooting.