CIDR ↔ Subnet Mask Converter
Convert between CIDR notation like /24 and dotted-decimal subnet masks like 255.255.255.0.
Results
No conversion run yet.
What this tool does
This tool converts CIDR prefixes into subnet masks and subnet masks into CIDR prefixes. It is useful when reading network diagrams, firewall rules, or cloud networking configuration.
When this tool is useful
- Converting /24, /27, or /29 into dotted-decimal subnet masks
- Checking what subnet mask a firewall or router entry corresponds to
- Translating documentation between CIDR and subnet mask formats
Related Tools
Related Articles
What is a subnet mask?
Learn what a subnet mask does, how it defines network boundaries, and how it relates to CIDR notation and usable host ranges.
What is CIDR notation?
Learn what CIDR notation means, how /24 or /27 prefixes work, and how CIDR relates to subnet masks and IP ranges.
CIDR cheat sheet (common subnet sizes)
Quick reference for common CIDR ranges, subnet masks, block sizes, and usable host counts for fast subnet calculations.
