You asked

Is the canon ef 50mm f 1 8 stm good for portraits?

Yes, for portraits the 50mm f/1.8 is a good choice. The guide's portrait page calls it the cheapest great lens in photography and says that if you buy one lens for people, this is the one (the lenses for portraits). Its f/1.8 aperture gives the soft background and sharp eyes that portraits need (aperture and background blur).

Its focal length depends on your camera. On a full-frame body it is a natural, slightly tight view. On APS-C it frames like 80mm and behaves like a classic 75-80mm portrait lens.

The lens is not stabilised, but portraits are usually shot at moderate shutter speeds, so this matters less than the aperture. Stop down to about f/2.8 when two people sit at different distances, because at f/1.8 the sharp zone can be thinner than a face. If you later want a longer, flatter view, the guide suggests an 85mm for full frame. For a fuller kit, see your first lenses.

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