Measure the object you actually carry
Write down width, height and thickness including the case, grips or folded flap. If a phone is 76 mm wide with its case, use that measure when comparing against the pocket mouth. Record whether you need to insert it one-handed.
Measure opening, depth and shape separately
Measure the narrowest span while fully open and the distance from the lowest point of the mouth to the floor of the pocket. A straight opening of 72 mm is 4 mm narrower than a 76 mm phone. An angled entry might work in flexible fabric, so use a test piece before counting it as usable.
Test the closure and sitting position
Cut card to the carried dimensions and pad it to a similar thickness. Insert it and verify the zip or flap shuts without pressing the object. Sit down and stand back up with the garment fastened. Note if the object presses at the hip or rides above an open edge.

