• APS-C 369.7mm2
  • 6.1 megapixels
  • ISO 200 - 1600
  • APS-C 368.2mm2
  • 14.6 megapixels
  • ISO 100 - 3200
  • Detailed specifications
  • Nikon D40
  • Pentax K20D
Links
Prices:    
Manufacturer URL: Manufacturer website
Nikon D40 webpage
Manufacturer website
Predecessor:   Pentax K10D
K10D vs K20D
Successor: Nikon D3000
D40 vs D3000
Pentax K-7
K20D vs K-7
General
Model Number: D40 K20D
Alternate Model Number(s):    
Camera Format: SLR Pro SLR
Currently Manufactured: No No
Retail Price: $599.95 $799.95
Street Price:    
Date Available: 2006-12-07 2008-04-30
Tripod Mount: Yes Yes
Weight: 26.0 oz (737 g)
includes batteries
28.3 oz (802 g)
includes batteries
Size: 5.0 x 3.7 x 2.5 in.
(126 x 94 x 64 mm)
5.6 x 4.0 x 2.8 in.
(142 x 102 x 70 mm)
Waterproof: No No
Waterproof Depth: n/a n/a
Image Sensor
Sensor Type: CCD CMOS
Sensor Manufacturer:    
Effective Megapixels: 6.1 14.6
Sensor Format: APS-C APS-C
Sensor size: 369.72mm2 (23.70mm x 15.60mm) 368.16mm2 (23.60mm x 15.60mm)
Approximate Pixel Pitch: 7.88 microns 5.05 microns
Focal Length Multiplier: 1.5x 1.5x
Aspect Ratio: 3:2 3:2
Color Filter Type: RGBG RGBG
Anti Aliasing Filter: Fixed Fixed
Self-Cleaning: No Yes
Sensor shift image stabilization: No Yes
On-Sensor Phase Detect: No No
DxO Sensor Score: 56 65
DxO Color Depth Score (bits): 21.0 22.9
DxO Dynamic Range Score (evs): 11.0 11.1
DxO Maximum Effective ISO Score (iso): 561 639
Image Capture
Image Resolution: 3008 x 2000 (6.0 MP, 3:2),
2256 x 1496 (3.4 MP, Other),
1504 x 1000 (1.5 MP, 3:2)
4672 x 3104 (14.5 MP, Other),
3872 x 2592 (10.0 MP, Other),
3008 x 2000 (6.0 MP, 3:2),
1824 x 1216 (2.2 MP, 3:2)
Image File Format: JPEG, RAW (.NEF) JPEG (EXIF 2.21), RAW (.PEF, .DNG)
Continuous-mode frames/second: 2.5 2.8
Video Capture
Can take movies: No No
Movie Resolution:
Movie File Format:    
Composite Video Out: Yes Yes
NTSC/PAL Switchable Video: Yes Yes
Video Usable as Viewfinder: No No
HD Video Out: No
HD Video Connection:
Lens & Optics
Lens Mount: Nikon F Pentax K (KA/KAF/KAF2)
Lens: Nikkor 18-55mm f/3.5-5.6G ED II AF-S DX n/a
Focal Length (35mm equivalent): 27 - 83mm  
Focal Length (actual): 18 - 55mm  
Zoom Ratio: 3.06x  
Aperture Range: f/3.5 - 22 (W), f/5.6 - 38 (T)  
Integrated ND Filter: No No
Normal Focus Range: 28 cm to Infinity
11.0 in to Infinity
 
Macro Focus Range:    
Filter Thread: 52.0mm n/a
Thread Type: n/a n/a
Optical Image Stabilization: No No
Digital Zoom: No No
Digital Zoom Values: n/a n/a
Auto Focus
Auto Focus: Yes Yes
Auto Focus Type: Nikon Multi-CAM 530 3-Area Phase Detection, 1 cross-type, 2 line-type 11-point TTL phase-matching (SAFOX VIII)
Auto Focus Assist Light? Yes Yes
Manual Focus: Yes Yes
Viewfinder
Viewfinder: Optical / LCD (playback only) Optical / LCD
Viewfinder Type: SLR type, eye-level pentamirror, 95%, 0.8x, 18mm eyepoint, -1.7 to +0.5 diopter SLR type; eye-level pentaprism, coverage: 95%, magnification: 0.95x, diopter: -2.5 to 1.5
Focus Peaking: No No
EVF Resolution: n/a n/a
Viewfinder Magnification (35mm equivalent):   0.63x
Viewfinder Magnification (nominal/claimed):   0.95x
Display
Eye-level Viewfinder: Yes Yes
Rear Display: Yes Yes
Rear Display Size (inches): 2.5 2.7
Rear Display Resolution: 230,000 dots 230,000 dots
Touchscreen: No No
Articulating Screen: No No
Tilt Swivel Screen: No No
Selfie Screen: No No
Max Playback Zoom: 19.0x 32.0x
Top Deck Display: No Yes
Exposure
Maximum ISO (native): 1600 3200
Minimum ISO (native): 200 100
ISO Settings: Auto, 200 - 1600; 3200 extended Auto, 100, 200, 400, 800, 1600, 3200, 6400 (expanded)
Auto ISO Mode: Yes Yes
White Balance Settings: Auto, Incandescent, Fluorescent, Direct Sunlight, Flash, Cloudy, Shade, Preset Auto, Daylight, Shade, Cloudy, Tungsten, Fluorescent (W, D, N), Flash, Color Temperature
Shutter Speed Range: 1/4000 - 30 sec 1/4000 - 30 sec
Bulb Mode: Yes Yes
Exposure Compensation: +/- 5.0EV in 0.3EV steps +/- 3.0EV in 0.3EV steps
Metering Modes: 3D color matrix metering II, color matrix metering II, center-weighted, spot TTL open-aperture: 16-segment, Center-weighted, Spot
Program Auto Exposure: No Yes
Aperture Priority: Yes Yes
Shutter Priority: Yes Yes
Full Manual Exposure: Yes Yes
Creative Exposure Modes: Portrait, landscape, child, sports, close up, night portrait, no flash Sensitivity Priority, Shutter and Aperture Priority
Self Timer: 2 to 20 seconds 2 or 12 seconds
Time Lapse (intervalometer):    
High Resolution Composite: No No
Flash
Built-in Flash: Yes Yes
Flash Modes: Red-Eye Reduction, Red-Eye Reduction with Slow Sync, Slow Sync, Rear-Curtain Sync. On, Redeye, Slow Sync, Slow Sync + Redeye, Trailing Curtain Sync, Wireless
Flash Guide Number (ISO 100): 12.0 m / 39.4 ft. 13.0 m / 42.7 ft.
Flash Range Description: n/a Depends on lens
Max Flash Sync: 1/500 1/180
Flash Exposure Compensation: -3 to +1 EV in 0.3EV steps -2 to +1 EV in 0.3EV steps
External Flash Connection: ISO hot shoe Hot Shoe, PC-Sync Socket
Built-In Wireless Flash Control:   Full TTL exposure
Image Storage
Usable Memory Types: SD / SDHC SD / SDHC
UHS Support:    
Other Memory:    
Dual Card Slots: No No
RAW Capture Support: Yes Yes
Uncompressed Format: RAW (.NEF) RAW (.PEF, .DNG)
Movie File Format:    
Included Memory: No memory included No memory included
Included Memory Type:    
Connectivity
Built-In Wi-Fi: No No
NFC: No No
Bluetooth: No No
Built-In GPS: No No
Microphone Jack: No No
Headphone Jack: No No
External Connections: USB 2.0 High Speed USB 2.0 High Speed
PictBridge Compliant: Yes Yes
DPOF Compliant: Yes Yes
Remote Control: Yes Yes
Remote Control Type: Optional ML-L3 wireless Wired or IR
Connections (extended): DC input DC input, wired remote
Performance Timing
Cycle time for JPEG shooting in single shot mode (seconds per frame, max resolution): 0.60 0.39
Cycle time for RAW shooting in single shot mode (seconds per frame): 0.57 0.36
Buffer size for RAW shooting in single shot mode (frames): Unlimited 11
Cycle time for RAW+JPEG shooting in single shot mode (seconds per shot):    
Camera penalizes early shutter press? No No
JPEG shooting speed in burst mode (fps, max resolution): 2.5 2.8
Buffer size for JPEG shooting in burst mode (frames, max resolution): 100 38
RAW shooting speed in burst mode (fps):    
Buffer size for RAW shooting in burst mode (frames):    
RAW+JPEG shooting speed in burst mode (fps):    
Buffer Size for RAW+JPEG shooting in burst mode (frames):    
Shutter lag (full AF, wide/mid): 0.26 seconds 0.17 seconds
Shutter lag (full AF, tele): 0.26 seconds  
Shutter lag (full AF, live view - DSLR):    
Shutter lag (prefocused, live view - DSLR):    
Shutter Lag (manual focus): 0.190 seconds 0.090 seconds
Shutter lag (full AF, with flash):   0.24 seconds
Shutter Lag (prefocused): 0.098 seconds 0.089 seconds
Shutter Lag (notes):   Live View: Full AF = n/a Prefocused = 0.659s Prefocused with flash = 2.395s
Startup Time: 0.4 seconds 0.4 seconds
Play -> Record Time: 0.1 seconds 0.5 seconds
Flash cycle time, full power: 4.8 seconds 3.1 seconds
Power
Battery Life, Stills (CIPA Rating Monitor/Live View):    
Battery Life, Still (CIPA Rating OVF/EVF): 470 shots 530 shots
Battery Life, Video:    
Battery Form Factor: EN-EL9 Proprietary D-LI50
Usable Battery Types: Lithium Ion rechargeable Lithium-ion rechargeable
Batteries Included: 1 x Proprietary EN-EL9 Lithium Ion rechargeable 1 x Proprietary D-LI50 Lithium-ion rechargeable
Battery Charger Included (dedicated charger or AC/USB adapter): Yes Yes
Dedicated Battery Charger Included: Yes
Internal Charging Supported: No
Software
Included Software: PictureProject CD-ROM S-SW74/75
OS Compatibility: Windows, Mac OS Windows XP/Vista, MacOS 10.2 or later
Miscellaneous
Notes & Features: PENTAX-developed Shake Reduction (SR) system; Weather and dust resistant body; Live View mode that allows users to see the full image area to confirm composition, focus status and lighting on the large 2.7 inch LCD monitor; Expanded Dynamic Range function; Improved Dust Reduction system that features the new Dust Alert function to pinpoint the exact location of dust particles for the photographer to remove.