You asked

How does the pentax 40mm f 2 8 compare with a 50mm f 1 8 for portraits on an aps c camera?

The Pentax 40mm f/2.8 is a pancake: the guide describes it as a small lens that keeps the camera compact. The Pentax smc DA 40mm f/2.8 XS is slimmer still, so if carrying size matters most, that one is the better fit. Both are APS-C lenses, but the site doesn't give their mount or current price, so check the lens pages before you buy.

For portraits, the 7Artisans 50mm f/1.8 is the stronger choice. On APS-C it frames like 75mm on full frame, a classic portrait length. The 40mm frames more like 60mm full frame, which is still usable but a little less flattering up close. The 50mm's f/1.8 also gives more background blur and more light than f/2.8, which matters indoors and in dim light. The Portraits guide calls the 50mm the cheapest great lens for people, and the Lenses guide recommends a fast standard prime like it for low light and people.

The 40mm's advantage is size. If you want a light kit to carry everywhere and mostly photograph people in good light, it's a reasonable choice. The 7Artisans lens is manual focus and fits Sony E, Fujifilm X and Micro Four Thirds bodies, so it only works if your camera uses one of those mounts. The budget guide suggests spending as much on lenses as on the body, so a good 50mm is a sound use of money.

For portraits on APS-C, the 50mm f/1.8 is the better lens. Choose the Pentax 40mm if size matters more than the extra blur and light.

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