Only in my opinion I find that for a round shell of reasonable fit in the tube 6 x the diameter is a fair length for a good clear and safe launch. Perhaps 8 x diameter if you need the maximum available height. There is a limit to the height achieved by small shells. For larger shells (over 10 inches) typical mortars seem to be shorter in proportion meaning that my 16" tube is only 6 feet deep which is about 4.5 Diameters high. Still It's your choice within the regulations for your country of residence. There may well be laws or approved codes of practise that actually lay down the precise measurements needed to comply with your local laws.
Thanks for the valuable information Arthur