Measure a comparable item
A hoodie can match your chest measurement and still feel short, just as two cables can look alike and fit different ports. Choose one known reference first: a hoodie you wear or the exact device model on your desk.
Match the model identifier
For electronics, compare the full model number, connector and regional requirements. Match the version in the listing to the device or accessory you already own.