CIDR to Subnet Mask Converter

Convert between CIDR prefix notation (e.g. /24) and dotted-decimal subnet mask (e.g. 255.255.255.0) instantly.

About CIDR to Subnet Mask Converter

CIDR (Classless Inter-Domain Routing) notation expresses subnet masks as a prefix length. This tool converts in both directions: enter a prefix number like 24 to get 255.255.255.0, or enter a subnet mask to get the CIDR prefix and wildcard mask.

How to Use

  1. Enter the required values in the input fields above
  2. Press the calculate button or hit Enter
  3. View the detailed results in the output section
  4. Use the Copy button to copy results to your clipboard

Related Subnet Tools