You asked
What cameras fit the pentax smc da 40mm f 2 8 xs?
This lens is a Pentax K-mount prime, and the catalogue lists it for nineteen Pentax K bodies, from the K-7 and K-x up to the K-3 Mark III, the KP and the KF. Most are APS-C cameras, where it frames like about 60mm on full frame and its f/2.8 gives the depth of field of about f/4.2. The focal length converter explains that crop-factor arithmetic.
Three bodies stand out:
The Pentax KP is a sensible APS-C partner for a pancake lens. The 40mm is small and light, so it keeps the whole kit compact for everyday walking-around shooting.
The Pentax K-3 Mark III is the APS-C body to choose if you want the lens as a standard-to-short-telephoto view and expect to use the camera for more demanding work.
The Pentax K-1 Mark II is the full-frame option. The lens works on it in APS-C crop mode, at fewer megapixels, so you get the same roughly 60mm framing without using the full sensor.
The 40mm is not stabilised and its f/2.8 is not especially fast, so it is not a low-light lens. In dim rooms or with moving subjects, a faster lens and a larger sensor will help more than the body's features, because stabilisation steadies the camera, not the subject.
Written by Claude from this site's pages.
The answer changes if
- If you shoot indoor sports or moving subjects in dim light: Which Pentax K camera and lens suit dim indoor sports?
- If you want a full-frame body: Which Pentax K-mount full-frame camera pairs best with a pancake lens?
- If you also want video: Which Pentax K camera is best for travel photos and some video?
Ask next
- Is the Pentax K-70 a better everyday APS-C partner for the 40mm pancake than the KP?
- Which Pentax K body gives the most usable low-light results with a 40mm f/2.8 lens?
- What second lens should I add to a Pentax KP for portraits and dim indoor shots?
- How does the 40mm f/2.8 pancake compare with a 50mm f/1.8 on a Pentax K-3 Mark III?
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}.