i dont exactly know. i did find that this formula was designed for cannons in the 1800's and there are several different versions of it.
but the basics are, the length to weight ratio of the bullet, multiplied by 150 gives you the relative twist.
heres the thing, this formula was designed for round cannon balls with a very high sectional density, not rifle bullets with a long ogive and relatively low sectional density. done right it should come real close whether using rifle or handgun bullets, but i have not found which forumla ( there are several variations ) is most correct.
secondly, you'd want to know what length or weight bullet would shoot best in your barrel of whatever twist. you not going to be swapping out barrels or changing the twist rate, so its the bullet you'd likely change. but in relatively close distances ( 100 yard zero ) i dont know how much difference it makes.
it your shooting 500 or more yards it may matter, but at handgun yardages, it most likely dont. after looking at the different formulas and looking at ballistic charts, im inclined to think that bullet weight to twist rate matters more. meaning slow twist for heavy bullets and fast twist for light bullets, or whatever is correct.. that could be the other way around fast twist for heavy bullets.