Sony HX5 has a 10.0MP 1/2.4-inch (6.104 x 4.578 mm ) sized BSI-CMOS sensor and features Bionz processor. You can shoot at maximum resolution of 3456 x 2592 pixels with aspect ratios of 4:3 and 16:9. HX5 has a native ISO range of 125 - 3200 but unfortunately, Sony HX5 doesn't have RAW file support. If you need a Compact camera with a RAW support, consider Leica Q (Typ 116) or Casio Exilim EX-10 in the same price range.
Sony HX5 is not the highest resolution Small Sensor camera. Canon SX740 HS with its 21.0MP sensor is leading in this class. Check the comparison of Sony HX5 vs Canon SX740 HS or take a look at Highest resolution Compact cameras list.
Let's look at how the size of the Sony HX5's 1/2.4-inch sensor compares with other standard sensor sizes.
Comparison image of Sony HX5 Sensor Size with other standard sensors
Sensor size is what determines the circle of confusion, and therefore how much
depth of field Sony HX5 gives you at any given aperture.
You can
calculate
the exact depth of field for the Sony HX5
at any focal length, aperture and subject distance, including the hyperfocal distance
for landscapes and how close you can get before the focus zone becomes too thin.