Subnet Mask Calculator

Enter a subnet mask, CIDR prefix, or wildcard mask to see all representations: dotted mask, prefix length, wildcard mask, binary, and hex.

Enter a subnet mask (255.255.255.0), CIDR prefix (/24), or wildcard (0.0.0.255).

Result

Enter your values and press Calculate — the result appears here.

Worked examples

Convert /24

  • value = /24

Result: Mask: 255.255.255.0, Wildcard: 0.0.0.255

Frequently asked questions

What is a wildcard mask?

A wildcard mask is the inverse of a subnet mask. It is used in ACLs and routing protocols to indicate which bits should match (0) and which can vary (1).

💬 Discuss on BestWordz Community

Join the conversation about Cybersecurity, subnet mask calculator, cidr to mask on the BestWordz Community forum.

Visit Forum →
Copied!