Depends on the manufacturer.
Williams and Bally each utilized legs of approximately 31".
Gottlieb legs can be distinguished by the absence of vertical ribs and the rounded corners of the base where the metal is folded over and the hole tapped for the leg levelers is more of a square corner, even though the tip has a radius, than Bally or Williams.
This base configuration will stand true for a Gottlieb 27" leg compared to Williams legs. Bally legs in the 70's and 80's were 28.5" long with totally square corners at the leveler mount plate. Williams legs throughout time have a broader radius at the base.
The base of the legs for your El Dorado and Volley, even though the leg lengths are different, should be dimensionally the same. Not sure what the other set of about 31" long legs are from. Post a few pictures and we can help you identify them.