Wildcard masks are the inverse of subnet masks and are commonly used in Cisco access control lists (ACLs) and OSPF configuration.
Formula
Wildcard Mask = 255.255.255.255 − Subnet Mask (bitwise inverse)