Most of the big shock manufacturers have brochures that have compressed length uncompressed length and types of ends on the shocks
In the back of the brochure. PDF such as rancho measure your rig look for a brochure and read the specs. And pic your shock. .