Affinity is often quantified using equilibrium dissociation constants, such as the Kd value. The lower the Kd value, the higher the affinity between the ligand and its target. Techniques such as surface plasmon resonance and isothermal titration calorimetry are commonly used to measure these interactions. Additionally, computational methods like molecular docking can provide insights into the affinity of potential toxins.