I do not think pants size is a good measure for bike fit. There are general rules of fit that provide a close starting point but in an age of saggy pants and weird fitting cloths, I doubt your clothing inseam is a good rule of thumb for anybody but for yourself.
LC