You asked

Pentax hd da 70mm f 2 4 limited vs pentax hd da 40mm f 2 8 limited?

The guide sees these as two different jobs for the same Pentax K mount. Both are primes for APS-C bodies, both autofocus, and neither is stabilised, so the choice comes down to framing and light.

The Pentax HD DA 40mm f/2.8 Limited frames like about 60mm on full frame, and its depth of field is roughly that of f/4.2. It is a pancake lens, so it keeps a camera small. That makes it the better everyday lens for travel, street and documentary work, where you carry the camera all day and want people in the frame without a long lens looking in.

The Pentax HD DA 70mm f/2.4 Limited frames like about 105mm on full frame, and it is faster, at f/2.4. It gives more background blur and lets in more light, which matters for portraits and for dim indoor scenes. Its longer reach also suits isolating a subject at a distance. What it gives up is size and a more distant viewpoint. It is not the lens for crowded streets.

The guide's rule of thumb is that a wide aperture buys faster shutter speeds in dim light and more blur, so if you shoot people in low light, the 70mm is the stronger pick. If you want one prime that goes everywhere, the 40mm is the more sensible carry. Either lens fits the same APS-C Pentax K bodies, such as the Pentax KP or the Pentax K-3 Mark III. For portrait-specific advice, see portraits. For the reason a wider aperture helps in low light, see aperture. Prices change, so check the lens pages for current figures before you buy.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.