I along with our regulating authorities consider a dead end main to be one that is not looped. If there isn't a user at the end of the line, why is it being installed "and" placed on the system in the first place. I don't know many clients that just spend money to install waterlines to nowhere.
The main issue is water quality. You will have to perform the hydraulics to size the line for the existing or future flows. The latter is what can cause quality problems. If the line is sized for a large future flow; but, a low flow will exist for a time, the water can become stagnant.
As rconner stated in the last response, the water will become stagnant in an unlooped line if it is not flushed from the line (by users or a flushing hydrant) in a timely fashion. Stagnation can cause low chlorine residual, bacteria, odors, colors, etc. depending on the type of water being placed into system.
Looping the line will allow it to transfer water from one part of the system to another and potentially keep it fresher. Running two lines side by side from adjacent locations and tying them together at the end will not improve the quality as the water is from the same location and will not move through the pipe except when the users on that line draw water.
There is no scientific calculations to determine the length that I know of; but, often I will determine how much water the pipe will hold and based upon the existing flow see how many days storage are in the line. Then depending on the estimated time that the line will be in low flow condition, I will advise the client that they will have quality problems. They may decide to institute a flushing program for that line (even if its based upon complaints) or they can decide to install a smaller line now and upsize it later when the high flow conditions arise.