Measure the mounting hole spacing rather than the fan's outer edge: take the distance between installation screws horizontally and vertically, then round to the nearest 10mm.
The two dominant sizes are 80mm and 120mm, with 140mm increasingly common on larger cases. Measuring hole spacing avoids the classic mistake of buying a fan whose frame is slightly oversized for the mount.