Drug selectivity is often measured by its binding affinity to the intended target versus off-targets. Techniques such as in vitro assays and computational modeling are employed to assess these affinities. The selectivity index, calculated as the ratio of binding affinity to the target versus an off-target, provides a quantitative measure of selectivity. A higher index indicates greater selectivity.