I figured out an equation for determining string length. However, it is very complicated and would be too much of a hassle to explain. For a 58 NTN at a five-inch brace I calculated a string length of 56.5 inches. However, that's for a non-stretching string, which most will at least stretch a little. I would go with 55.5 inches assuming 1 inch of stretch and see where that puts you.
I find that 3-4 inches shorter than the NTN length is a good rule of thumb depending on the stretch of the material, unless it's a recurve, then it needs to be about 1-2 inches shorter than where the recurve meets the working limb.
*correction was made. I forgot brace height is usually measured from the belly not back so i had to re-calculate for handle width (which i assumed to be 1.5 inches). That changed the result from 57.1 inches to 56.5.