You asked

Can I adapt the pentax smc da 40mm f 2 8 xs to sony e?

The guide doesn't cover adapting this lens to Sony E. Its catalogue page lists only one mount, Pentax K, and the cameras it fits are all Pentax K bodies. So the guide can't say whether an adapter would work, or how a Sony body would handle it.

If you're deciding between the lens and a Sony system, the page's details still matter. The Pentax smc DA 40mm f/2.8 XS is an APS-C pancake: on a Pentax K APS-C body it frames like a 60mm lens on full frame and gives about the depth of field of f/4.2. It is not stabilised, so it steadies nothing but the framing. The guide's depth-of-field notes explain how the crop factor changes background blur, which helps if you're comparing it with lenses made for other systems.

If you want a lens that is native to a Sony body, the guide's lens notes can help you judge aperture and light, and the portrait guide shows which focal lengths suit people. Those pages don't name any Sony lenses, though, so the guide can't recommend one by name.

Written by Claude from this site's pages.

The answer changes if

Ask next

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}.