Nikon D40 has a
6.0MP APS-C (23.7 x 15.5 mm ) sized CCD sensor . On the other hand, Sony A58 has a
20.0MP APS-C (23.2 x 15.4 m ) sized CMOS sensor .
Sony A58's sensor provides 14MP more than Nikon D40's sensor, which gives a significant advantage in real life. You can print your images larger or crop more freely.
On the other hand, please keep in mind that Max sensor resolution is not the only determinant of resolving power. Factors such as the optical elements, low pass filter, pixel size and sensor technology also affects the final resolution of the captured image.
Below you can see the D40 and A58 sensor size comparison.
Nikon D40 and Sony A58 have almost the same sensor size, so neither of them has any significant advantage over the other in terms of providing control over depth of field when used with the same focal length and aperture.
DxOMark Sensor Scores
DxOMark is a benchmark that scientifically assesses image quality of camera sensors. It scores camera sensors for color depth (DXO Portrait), dynamic range (DXO Landscape) and low-light sensitivity (DXO Sports), and also gives them an overall score. Nikon D40 and Sony A58 sensors have been tested by DxO and the results show that A58 has a better overall score of 74, 18 points higher compared to D40's score of 56.
Model |
Overall |
Color Depth |
Dynamic Range |
Low-light ISO |
Nikon D40 |
56 |
21.0 bits |
11.0 Evs |
561 ISO |
Sony A58 |
74 |
23.3 bits |
12.5 Evs |
753 ISO |