Filter factor (or selectivity) is a measure used by query optimizers to estimate the fraction of rows that satisfy a predicate. For an equality predicate on a column with a uniform distribution, it is calculated as 1 divided by the number of distinct values (NDV).