Hardware geometry and limitations are the first consideration. A traditional O-ring groove shape is rectangular and more wide than deep. This allows space for the seal to be compressed, about 25% (for static sealing), and still have some excess room for the seal to expand slightly from thermal expansion or swell from the fluid. Reference Figure 1 as an example. Once the available real estate on the hardware is established, then we look at options for the O-ring inner diameter and cross section.