Wildcard Mask Calculator
Enter a subnet mask or wildcard mask to instantly convert between the two formats for Cisco ACL and OSPF configuration. Get the inverse mask, matching IP range, and access list notation — essential for writing Cisco IOS access control lists, OSPF network statements, and router filter rules. Use the subnet mask calculator to convert between CIDR notation and dotted-decimal mask format for firewall and ACL configuration.
Subnet Mask to Wildcard
Wildcard to Subnet Mask
Binary Representation
Cisco Command Examples
Common Wildcard Masks
| CIDR | Subnet Mask | Wildcard Mask | Hosts |
|---|---|---|---|
| /8 | 255.0.0.0 | 0.255.255.255 | 16,777,214 |
| /16 | 255.255.0.0 | 0.0.255.255 | 65,534 |
| /24 | 255.255.255.0 | 0.0.0.255 | 254 |
| /25 | 255.255.255.128 | 0.0.0.127 | 126 |
| /26 | 255.255.255.192 | 0.0.0.63 | 62 |
| /27 | 255.255.255.224 | 0.0.0.31 | 30 |
| /28 | 255.255.255.240 | 0.0.0.15 | 14 |
| /29 | 255.255.255.248 | 0.0.0.7 | 6 |
| /30 | 255.255.255.252 | 0.0.0.3 | 2 |
| /32 | 255.255.255.255 | 0.0.0.0 | 1 |
Related Network Tools
Explore these related tools for subnet calculation and IP address management. Use the network address calculator to determine which network a host IP belongs to when diagnosing routing or connectivity issues.
Additional networking calculators for IP address planning and network analysis. The broadcast address calculator accepts any IP with a /prefix or dotted-decimal mask and instantly calculates the subnet broadcast address.
Comments & Feedback
Share your experience or ask questions about this tool