PCpartpicker.com is a great website where you can list your pc parts and see if they’re compatible or not. They’ll also list where to buy the part and about how much it costs (or has costed in the past). Real useful website.
If not you can also just look up the part on websites like amazon look up similar parts. They sometimes have a list of computers that are compatible with it. Drives are fairly generic so thankfully it’s one of the easiest parts to switch out. You’re only worry would just to make sure it would fit in your laptop, but for the most part, drives are made around the exact same sizes. You can look up the physical size for your current drive and make sure any new drive will be the same.