Quantifying similarity to and diversity within datasets of molecules is a subject of immense importance in machine learning , synthetic chemistry , and cheminformatics at large. Decades of research in developing suitable approaches have yielded various descriptors for molecules, particularly fingerprints, and dozens of metrics for comparisons. Molecular representations and similarity metrics are covered at length below with case studies in the fields mentioned above.