O rings come in standard fixed sizes identified by a "dash number". captain o ring is my first go to source. there are size charts do have measured dimensions. (theirs might.)
Note you can't measure a used o ring for dimensions as they invariably stretch and flatten