Pentax Q has a 12.0MP 1/2.3-inch (6.17 x 4.55 mm ) sized CMOS sensor . You can shoot at maximum resolution of 4000 x 3000 pixels with aspect ratios of 1:1, 4:3, 3:2 and 16:9. Q has a native ISO range of 125 - 6400 and it can save files in RAW format which gives you a wider room for post processing.
Pentax Q 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 Pentax Q vs Canon SX740 HS or take a look at Highest resolution Mirrorless cameras list.
Pentax Q DxOMark Sensor Scores
DxOMark is a benchmark that scientifically assesses image quality of camera sensors. Pentax Q sensor has been tested by DxO Mark and got an overall score of 47 for its image quality. You can find the details of their analysis of Pentax Q here.
Let's look at how the size of the Pentax Q's 1/2.3-inch sensor compares with other standard sensor sizes.
Comparison image of Pentax Q Sensor Size with other standard sensors
Sensor size is what determines the circle of confusion, and therefore how much
depth of field Pentax Q gives you at any given aperture.
You can
calculate
the exact depth of field for the Pentax Q
at any focal length, aperture and subject distance, including the hyperfocal distance
for landscapes and the very shallow focus zone you get with long telephoto lenses.