You asked

Which micro four thirds lenses in the 40 to 50mm range are under 500 euros for portraits?

The site's catalogue doesn't cover Micro Four Thirds lenses, and the pages I can see don't list any lens prices, so I can't name a lens in the 40 to 50mm range or say whether one is under 500 euros. The Pentax K-500 page doesn't help here either, because it is an APS-C camera, not a Micro Four Thirds one.

The focal length maths does help. On Micro Four Thirds, a lens frames like twice its focal length on full frame, so a 40 to 50mm lens shows roughly the view of an 80 to 100mm lens on full frame. The focal length guide puts 85 to 135mm in its short telephoto band, which it describes as the range for portraits. That makes 40 to 50mm a sensible portrait length on this system, close to a classic 85mm portrait lens, though it is a little wider and so takes in more of the background. The focal length converter works out the exact equivalents for any pair of formats, and sensor sizes explains why the crop factor changes the view.

To find actual Micro Four Thirds lenses and their prices, browse the gear catalogue for the system. Prices there are checked on a set date and change over time, so confirm them with the shops before you buy.

Written by Claude from this site's pages.

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