Measuring a pair of jeans works best if the jeans are properly fitted to your body type.
If you do not own a pair of properly fitted jeans, measuring your own inseam will give you the information necessary purchase some.
If you have trouble finding this measurement on your own, ask a friend or family member to help.
Websites like Search By Inseam allow you to find the inseam measurements for popular pant brands.