Metric information on similarities and distances in fold space is essential for quantitative work in structural bioinformatics and structural biology. Here we derive a suitable metric for protein structures from the fundamental axioms of similarity. Derivation of the metric also clarifies the relationship between the interrelated concepts of distance and similarity.