You asked

Is the sony e 20mm f 2 8 good for both milky way and portrait work on aps c?

The Sony E 20mm f/2.8 is a small, sensible lens for APS-C, but it's a compromise for both jobs. On an APS-C body like the a6400, it frames like a 30mm lens on full frame. That's a standard-to-wide view, not the wide view Milky Way work usually needs.

For the night sky, f/2.8 is reasonably bright, but the lens isn't stabilised, so you'll be relying on a tripod and short exposures. The guide's focal length converter explains that f/2.8 on APS-C gives roughly the background blur of f/4.2 on full frame, so you get less separation than a faster lens would. If the sky is your main subject, the Sony E PZ 10-20mm f/4 G is the wider APS-C option in this catalogue. It gives up speed for width, so it's better suited to a tripod than to handheld shooting.

For portraits, 20mm is too wide to flatter faces. The portraits guide notes that very wide lenses exaggerate whatever sits closest to the camera. On APS-C, a fast 33-35mm prime is the usual everyday portrait choice (see your first lenses), and the guide's environmental-portrait advice points to a 35mm f/1.8 or f/1.4 for showing a person in their setting.

So the 20mm is a fair lens for casual wide shots and environmental portraits, but it isn't the best pick for either the Milky Way or proper portrait work. The guide's pages here don't cover this lens's low-light performance, so check its sample images before you commit.

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