The only way to know exactly is to cycle the suspension from bump to fully extended and measure. There are some general shock lengths that work depending on your setup.
What length springs do you have front and rear?
Original shock mounts?
What are you using the truck for?
No need for double shocks. That will actually make it ride worse.

Stock mounts front and rear?
What’s the lift? 4,5,6?