Look up the model number stamped on the shock body on the rancho website where they list the compressed and extended lengths. Then do the math.
Alternatively, remove the shock and measure the compressed and extended lengths yourself. Then do the math.