For two arbitrary vectors A,B of the same length and with, components of one set the probability that two vectors have no common components is calculated. In digital processing or coding theory this probability is useful comparing binary patterns. The formula can be easily implemented.