There are detailed engineering specifications detailing not only the precise size and cross section of the two distinct types of O-ring, but also for the different grades of elastomers and rubber ...
Sometimes it IS simply a matter of matching the damaged O-ring to a new O-ring from the box of assorted SAE O-rings you bought at the local auto parts store. Problem solved. But what if you can ...