You asked

Would a 35mm f 1 8 do better than a 50mm for environmental portraits on my sony a6400?

For environmental portraits, the 35mm f/1.8 would do better than a 50mm on your Sony a6400. The Portraits guide recommends 35mm f/1.8 or f/1.4 for portraits that show where someone is, and a 50mm is a tighter, more head-and-shoulders view. On your camera the difference is bigger because of the crop. A 35mm on APS-C frames roughly like a 52mm lens on full frame, and a 50mm like 75mm, so the 50mm would crop out most of the setting. The focal length page explains the conversion, and the focal length converter can check other lengths.

A 35mm may still be a little tight for a clear sense of place. On APS-C, a lens around 23mm gives a view close to the 24-35mm full-frame range the guide calls wide. The lens list on the Sony a6400 page doesn't show a 35mm f/1.8 or a 50mm prime in the part visible here, so check the full list before buying. Two zooms from that list cover the wider range well:

Pair either with a shallow-depth setting, and move closer to your subject if the background looks too busy.

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