Nikon D40 vs Pentax K-5
The Nikon D40 and the Pentax K-5 are two digital cameras that were officially introduced, respectively, in November 2006 and September 2010. Both are DSLR (Digital Single Lens Reflex) cameras that are equipped with an APS-C sensor. The Nikon has a resolution of 6 megapixels, whereas the Pentax provides 16.1 MP.
Below is an overview of the main specs of the two cameras as a starting point for the comparison.
|Nikon D40||Pentax K-5|
|Digital single lens reflex||Digital single lens reflex|
|Nikon F mount lenses||Pentax K mount lenses|
|6 MP, APS-C Sensor||16.1 MP, APS-C Sensor|
|no Video||1080/25p Video|
|ISO 200-1,600 (200 - 3,200)||ISO 100-12,800 (80 - 51,200)|
|Optical viewfinder||Optical viewfinder|
|2.5 LCD, 230k dots||3.0 LCD, 921k dots|
|Fixed screen (not touch-sensitive)||Fixed screen (not touch-sensitive)|
|2.5 shutter flaps per second||7 shutter flaps per second|
|Lens stabilization only||In-body stabilization|
|not weather sealed||Weathersealed body|
|470 shots per battery charge||740 shots per battery charge|
|124 x 94 x 64 mm, 522 g||131 x 97 x 73 mm, 760 g|
Going beyond this snapshot of core features and characteristics, what are the differences between the Nikon D40 and the Pentax K-5? Which one should you buy? Read on to find out how these two cameras compare with respect to their body size, their imaging sensors, their shooting features, their input-output connections, and their reception by expert reviewers.
The physical size and weight of the Nikon D40 and the Pentax K-5 are illustrated in the side-by-side display below. The two cameras are presented according to their relative size. Three consecutive perspectives from the front, the top, and the back are available. All width, height and depth measures are rounded to the nearest millimeter.
If the front view area (width x height) of the cameras is taken as an aggregate measure of their size, the Pentax K-5 is notably larger (9 percent) than the Nikon D40. Moreover, the K-5 is substantially heavier (46 percent) than the D40. It is noteworthy in this context that the K-5 is splash and dust-proof, while the D40 does not feature any corresponding weather-sealing.
The above size and weight comparisons are to some extent incomplete since they do not consider the interchangeable lenses that both of these cameras require. Hence, you might want to study and compare the specifications of available lenses in order to get the full picture of the size and weight of the two camera systems.
The following table provides a synthesis of the main physical specifications of the two cameras and other similar ones. If you would like to visualize and compare a different camera combination, just use the right or left arrows in the table to switch to the respective camera. Alternatively, you can also navigate to the CAM-parator app and make your selection from the full list of cameras there.
|Nikon D40||4.9 in||3.7 in||2.5 in||18.4 oz||470||n||Nov 2006||499|
|Pentax K-5||5.2 in||3.8 in||2.9 in||26.8 oz||740||Y||Sep 2010||1,099|
|Nikon D7500||5.4 in||4.1 in||2.9 in||25.4 oz||950||Y||Apr 2017||1,299|
|Nikon D3400||4.9 in||3.9 in||3.0 in||15.7 oz||1200||n||Aug 2016||499|
|Nikon D3300||4.9 in||3.9 in||3.0 in||15.2 oz||700||n||Jan 2014||499|
|Nikon D3100||4.9 in||3.8 in||3.0 in||17.8 oz||550||n||Aug 2010||599|
|Nikon D3000||5.0 in||3.8 in||2.5 in||18.9 oz||500||n||Jul 2009||599|
|Nikon D60||5.0 in||3.7 in||2.5 in||18.4 oz||500||n||Jan 2008||629|
|Nikon D40X||4.9 in||3.7 in||2.5 in||18.4 oz||520||n||Mar 2007||729|
|Nikon D80||5.2 in||4.1 in||3.0 in||23.6 oz||600||n||Aug 2006||999|
|Nikon D50||5.2 in||4.0 in||3.0 in||21.9 oz||400||n||Apr 2005||749|
|Nikon D70s||5.5 in||4.4 in||3.1 in||24.0 oz||500||n||Apr 2005||899|
|Nikon D70||5.5 in||4.4 in||3.1 in||24.0 oz||400||n||Jan 2004||999|
|Olympus E-M5 II||4.9 in||3.3 in||1.8 in||16.5 oz||310||Y||Feb 2015||1,099|
|Pentax KP||5.2 in||4.0 in||3.0 in||24.8 oz||390||Y||Jan 2017||1,099|
|Pentax K-3 II||5.2 in||3.9 in||3.0 in||28.2 oz||720||Y||Apr 2015||1,099|
|Pentax K-3||5.2 in||3.9 in||3.0 in||28.2 oz||560||Y||Oct 2013||1,299|
Notes: Measurements and pricing do not include easily detachable parts, such as add-on or interchangeable lenses or optional viewfinders.
(1) Number of images that can be taken on a full battery charge according to the CIPA-standard; (2) Official announcement.
Any camera decision will naturally be influenced heavily by the price. The retail prices at the time of the camera’s release place the model in the market relative to other models in the producer’s line-up and the competition. The D40 was launched at a markedly lower price (by 55 percent) than the K-5, which puts it into a different market segment. Usually, retail prices stay at first close to the launch price, but after several months, discounts become available. Later in the product cycle and, in particular, when the replacement model is about to appear, further discounting and stock clearance sales often push the camera price considerably down. Then, after the new model is out, very good deals can frequently be found on the pre-owned market.
The size of the sensor inside a digital camera is one of the key determinants of image quality. All other things equal, a large sensor will have larger individual pixel-units that offer better low-light sensitivity, wider dynamic range, and richer color-depth than smaller pixels in a sensor of the same technological generation. Furthermore, a large sensor camera will give the photographer more possibilities to use shallow depth-of-field in order to isolate a subject from the background. On the downside, larger sensors tend to be associated with larger, more expensive camera bodies and lenses.
Both cameras under consideration feature an APS-C sensor, but their sensors differ slightly in size. The sensor area in the K-5 is 1 percent bigger. They nevertheless have the same format factor of 1.5. Both cameras have a native aspect ratio (sensor width to sensor height) of 3:2.
With 16.1MP, the K-5 offers a higher resolution than the D40 (6MP), but the K-5 has smaller individual pixels (pixel pitch of 4.81μm versus 7.85μm for the D40). Yet, the K-5 is a much more recent model (by 3 years and 10 months) than the D40, and its sensor will have benefitted from technological advances during this time that enhance the light gathering capacity of its pixel-units.
The resolution advantage of the Pentax K-5 implies greater flexibility for cropping images or the possibility to print larger pictures. The maximum print size of the K-5 for good quality output (200 dots per inch) amounts to 24.6 x 16.3 inches or 62.6 x 41.5 cm, for very good quality (250 dpi) 19.7 x 13.1 inches or 50.1 x 33.2 cm, and for excellent quality (300 dpi) 16.4 x 10.9 inches or 41.7 x 27.6 cm. The corresponding values for the Nikon D40 are 15 x 10 inches or 38.2 x 25.4 cm for good quality, 12 x 8 inches or 30.6 x 20.3 cm for very good quality, and 10 x 6.7 inches or 25.5 x 16.9 cm for excellent quality prints.
The Nikon D40 has a native sensitivity range from ISO 200 to ISO 1600, which can be extended to ISO 200-3200. The corresponding ISO settings for the Pentax K-5 are ISO 100 to ISO 12800, with the possibility to increase the ISO range to 80-51200.
Since 2007, DXO Mark has published sensor performance measurements that have been derived using a consistent methodology. This service is based on lab testing and assigns an overall score to each camera sensor, as well as ratings for dynamic range ("DXO Landscape"), color depth ("DXO Portrait"), and low-light sensitivity ("DXO Sports"). Of the two cameras under consideration, the K-5 offers substantially better image quality than the D40 (overall score 26 points higher). The advantage is based on 2.7 bits higher color depth, 3.1 EV in additional dynamic range, and 1.1 stops in additional low light sensitivity. The adjacent table reports on the physical sensor characteristics and the outcomes of the DXO sensor quality tests for a sample of comparator-cameras.
|Olympus E-M5 II||Four Thirds||15.9||4608||3456||1080/60p||23.0||12.5||842||73|
|Pentax K-3 II||APS-C||24.1||6016||4000||1080/60i||23.6||13.6||1106||80|
Many modern cameras are not only capable of taking still images, but can also record movies. The K-5 indeed provides for movie recording, while the D40 does not. The highest resolution format that the K-5 can use is 1080/25p.
Apart from body and sensor, cameras can and do differ across a variety of features. The D40 and the K-5 are similar in the sense that both have an optical viewfinder. The latter is useful for getting a clear image for framing even in brightly lit environments. The viewfinder in the K-5 offers a wider field of view (100%) than the one in the D40 (95%), so that a larger proportion of the captured image is visible in the finder. In addition, the viewfinder of the K-5 has a higher magnification (0.61x vs 0.53x), so that the size of the image transmitted appears closer to the size seen with the naked human eye. The table below summarizes some of the other core capabilities of the Nikon D40 and Pentax K-5 in connection with corresponding information for a sample of similar cameras.
|Olympus E-M5 II||2360||n||3.0||1037||swivel||Y||1/8000s||10.0||n||Y|
|Pentax K-3 II||optical||Y||3.2||1037||fixed||n||1/8000s||8.3||n||Y|
One feature that differentiates the K-5 and the D40 is in-body image stabilization (IBIS). The K-5 reduces the risk of handshake-induced blur with all attached lenses, while the D40 offers no blur reduction with lenses that themselves do not provide optical image stabilization.
The Pentax K-5 has an intervalometer built-in. This enables the photographer to capture time lapse sequences, such as flower blooming, a sunset or moon rise, without purchasing an external camera trigger and related software.
The D40 writes its imaging data to SDHC cards, while the K-5 uses SDXC cards.
For some imaging applications, the extent to which a camera can communicate with its environment can be an important aspect in the camera decision process. The table below provides an overview of the connectivity of the Nikon D40 and Pentax K-5 and, in particular, the interfaces the cameras (and selected comparators) provide for accessory control and data transfer.
| WiFi |
|Olympus E-M5 II||Y||stereo||mono||Y||-||micro||2.0||Y||-||-|
|Pentax K-3 II||Y||mono||mono||Y||Y||mini||3.0||-||-||-|
Studio photographers will appreciate that the Pentax K-5 (unlike the D40) features a PC Sync socket, so that professional strobe lights can be controlled by the camera.
Both the D40 and the K-5 have been discontinued, but can regularly be found used on eBay. The D40 was replaced by the Nikon D40X, while the K-5 was followed by the Pentax K-5 II. Further information on the two cameras (e.g. user guides, manuals), as well as related accessories, can be found on the official Nikon and Pentax websites.
So how do things add up? Is there a clear favorite between the Nikon D40 and the Pentax K-5? Which camera is better? Below is a summary of the relative strengths of each of the two contestants.
Advantages of the Nikon D40:
- Less heavy: Is lighter (by 238g or 31 percent) and hence easier to carry around.
- More affordable: Was introduced into a lower priced category (55 percent cheaper at launch).
- More heavily discounted: Has been available for much longer (launched in November 2006).
Reasons to prefer the Pentax K-5:
- More detail: Has more megapixels (16.1 vs 6MP), which boosts linear resolution by 64%.
- Better image quality: Scores substantially higher (26 points) in the DXO overall evaluation.
- Richer colors: Generates noticeably more natural colors (2.7 bits more color depth).
- More dynamic range: Captures a broader range of light and dark details (3.1 EV of extra DR).
- Better low-light sensitivity: Can shoot in dim conditions (1.1 stops ISO advantage).
- Broader imaging potential: Can capture not only stills but also 1080/25p video.
- More complete view: Has a viewfinder with a larger field of view (100% vs 95%).
- Larger viewfinder image: Features a viewfinder with a higher magnification (0.61x vs 0.53x).
- Easier setting verification: Features a control panel on top to check shooting parameters.
- Larger screen: Has a bigger rear LCD (3.0" vs 2.5") for image review and settings control.
- More detailed LCD: Has a higher resolution rear screen (921k vs 230k dots).
- Faster shutter: Has higher mechanical shutter speed (1/8000s vs 1/4000s) to freeze action.
- Faster burst: Shoots at higher frequency (7 vs 2.5 flaps/sec) to capture the decisive moment.
- Easier time-lapse photography: Has an intervalometer built-in for low frequency shooting.
- Longer lasting: Gets more shots (740 versus 470) out of a single battery charge.
- Better sealing: Is splash and dust sealed for shooting in inclement weather conditions.
- Sharper images: Has stabilization technology built-in to reduce the impact of hand-shake.
- Better studio light control: Has a PC Sync socket to connect to professional strobe lights.
- More modern: Reflects 3 years and 10 months of technical progress since the D40 launch.
If the count of individual advantages (bullet points above) is taken as a guide, the K-5 is the clear winner of the contest (19 : 3 points). However, the relative importance of the various individual camera aspects will vary according to personal preferences and needs, so that you might like to apply corresponding weights to the particular features before making a decision on a new camera. A professional wildlife photographer will view the differences between cameras in a way that diverges from the perspective of a family photog, and a person interested in architecture has distinct needs from a sports shooter. Hence, the decision which camera is best and worth buying is often a very personal one.
How about other alternatives? Do the specifications of the Nikon D40 and the Pentax K-5 place the cameras among the top in their class? Find out in the latest Best DSLR Camera listing whether the two cameras rank among the cream of the crop.
In any case, while the comparison of the spec-sheets of cameras can offer a general idea of their imaging potential, it remains incomplete and does no justice, for example, to the way the D40 or the K-5 perform in practice. At times, user reviews, such as those published at amazon, address these issues in a useful manner, but such feedback is on many occasions incomplete, inconsistent, and unreliable.
This is why hands-on reviews by experts are important. The adjacent summary-table relays the overall verdicts of several of the most popular camera review sites (cameralabs, dpreview, ephotozine, imaging-resource, and photographyblog). As can be seen, the professional reviewers agree in many cases on the quality of different cameras, but sometimes their assessments diverge, reinforcing the earlier point that a camera decision is often a very personal choice.
|Nikon D40||81/100||+ +||o||5/5||4.5/5||Nov 2006||499|
|Pentax K-5||..||83/100||5/5||4.5/5||4.5/5||Sep 2010||1,099|
|Nikon D7500||+ +||86/100||5/5||4.5/5||4.5/5||Apr 2017||1,299|
|Nikon D3400||+||76/100||4/5||4.5/5||4.5/5||Aug 2016||499|
|Nikon D3300||+||77/100||4.5/5||4.5/5||4.5/5||Jan 2014||499|
|Nikon D3100||+ +||72/100||4.5/5||5/5||4.5/5||Aug 2010||599|
|Nikon D3000||+||72/100||4/5||3.5/5||4.5/5||Jul 2009||599|
|Nikon D60||80/100||+ +||4/5||o||4.5/5||Jan 2008||629|
|Nikon D40X||79/100||+ +||4/5||o||4/5||Mar 2007||729|
|Nikon D80||+||+ +||o||4.5/5||4.5/5||Aug 2006||999|
|Nikon D50||78/100||+ +||4/5||o||4.5/5||Apr 2005||749|
|Nikon D70s||..||..||..||o||5/5||Apr 2005||899|
|Nikon D70||..||+ +||..||o||..||Jan 2004||999|
|Olympus E-M5 II||+ +||81/100||5/5||4.5/5||5/5||Feb 2015||1,099|
|Pentax KP||..||82/100||5/5||..||4.5/5||Jan 2017||1,099|
|Pentax K-3 II||..||..||5/5||4.5/5||5/5||Apr 2015||1,099|
|Pentax K-3||..||83/100||5/5||4.5/5||5/5||Oct 2013||1,299|
|Notes: (+ +) highly recommended; (+) recommended; (o) reviewed; (..) not available.|
The above review scores should be interpreted with care, though. The ratings were established in reference to similarly priced cameras that were available in the market at the time of the review. Hence, a score should always be seen in the context of the camera's market launch date and its price, and comparing ratings of very distinct cameras or ones that are far apart in terms of their release date have little meaning. It should also be noted that some of the review sites have over time altered the way they render their verdicts.
Other camera comparisons
Did this review help to inform your camera decision process? In case you are interested in seeing how other cameras pair up, just make a corresponding selection in the search boxes below. Alternatively, you can follow any of the listed hyperlinks for comparisons that others found interesting.
Specifications: Nikon D40 vs Pentax K-5
Below is a side-by-side comparison of the specs of the two cameras to facilitate a quick review of their differences and common features.
|Camera Model||Nikon D40||Pentax K-5|
|Camera Type||Digital single lens reflex||Digital single lens reflex|
|Camera Lens||Nikon F mount lenses||Pentax K mount lenses|
|Launch Date||November 2006||September 2010|
|Launch Price||USD 499||USD 1,099|
|Sensor Specs||Nikon D40||Pentax K-5|
|Sensor Format||APS-C Sensor||APS-C Sensor|
|Sensor Size||23.7 x 15.6 mm||23.7 x 15.7 mm|
|Sensor Area||369.72 mm2||372.09 mm2|
|Sensor Diagonal||28.4 mm||28.4 mm|
|Sensor Resolution||6 Megapixels||16.1 Megapixels|
|Image Resolution||3008 x 2000 pixels||4928 x 3264 pixels|
|Pixel Pitch||7.85 μm||4.81 μm|
|Pixel Density||1.63 MP/cm2||4.32 MP/cm2|
|Moiré control||Anti-Alias filter||Anti-Alias filter|
|Movie Capability||no Video||1080/25p Video|
|ISO Setting||200 - 1,600 ISO||100 - 12,800 ISO|
|ISO Boost||200 - 3,200 ISO||80 - 51,200 ISO|
|DXO Sensor Quality (score)||56||82|
|DXO Color Depth (bits)||21.0||23.7|
|DXO Dynamic Range (EV)||11.0||14.1|
|DXO Low Light (ISO)||561||1162|
|Screen Specs||Nikon D40||Pentax K-5|
|Viewfinder Type||Optical viewfinder||Optical viewfinder|
|Viewfinder Field of View||95%||100%|
|Top-Level Screen||no Top Display||Control Panel|
|LCD Framing||Live View|
|Rear LCD Size||2.5inch||3.0inch|
|LCD Resolution||230k dots||921k dots|
|LCD Attachment||Fixed screen||Fixed screen|
|Shooting Specs||Nikon D40||Pentax K-5|
|Focus System||Phase-detect AF||Phase-detect AF|
|Continuous Shooting||2.5 shutter flaps/s||7 shutter flaps/s|
|Shutter Life Expectancy||50 000 actuations||100 000 actuations|
|Time-Lapse Photography||no Intervalometer||Intervalometer built-in|
|Image Stabilization||Lens stabilization only||In-body stabilization|
|Fill Flash||Build-in Flash||Build-in Flash|
|Storage Medium||SDHC cards||SDXC cards|
|Second Storage Option||Single card slot||Single card slot|
|UHS card support||no||no|
|Connectivity Specs||Nikon D40||Pentax K-5|
|Studio Flash||no PC Sync||PC Sync socket|
|USB Connector||USB 2.0||USB 2.0|
|HDMI Port||no HDMI||mini HDMI|
|Microphone Port||no MIC socket||External MIC port|
|Wifi Support||no Wifi||no Wifi|
|Body Specs||Nikon D40||Pentax K-5|
|Environmental Sealing||not weather sealed||Weathersealed body|
|Battery Life (CIPA)||470 shots per charge||740 shots per charge|
124 x 94 x 64 mm
(4.9 x 3.7 x 2.5 in)
131 x 97 x 73 mm
(5.2 x 3.8 x 2.9 in)
|Camera Weight||522 g (18.4 oz)||760 g (26.8 oz)|
Did you notice an error on this page? If so, please get in touch, so that we can correct the information.