Almost all Linux distributions today offer similar hardware compatibility because the Linux kernel already includes support for the most common hardware. Unless your machine uses a rare architecture, most Linux distributions should work out of the box.
However, even the best Linux distros differ in software availability. This is because most distros today build and provide their own package repositories. You need to be aware of which distributions offer the software that you need. For example, Arch Linux does not provide most third-party packages out of the box.