What I do is more of a trial and error method.
First I set the return nozzle in the tank as high as it will go without causing bubbles on the surface.
Then fill with water ( part of my freshwater testing ) and fill the sump with water about 2" above the return pump suction, then turn the pump on. If the pump starts sucking air add a little more water so that it's a 2" above the pump.
With the overflow full and running, mark the level in the sump ( tape or sharpie), then turn the pump off.
The inches of water that returns to the sump is the room in the sump you need to make sure is available all the time, and give yourself a couple inches to spare for safety measure.
Do this 2-3 times.