You asked

What cameras fit the canon ef s 24mm f 2 8 stm?

The Canon EF-S 24mm f/2.8 STM is an APS-C lens, so it fits only APS-C Canon EF bodies. On those cameras it frames like a 38mm lens on full frame, with depth of field close to f/4.5. The catalogue lists 14 bodies that take it, from the EOS 1200D to the EOS 850D. Good everyday picks are:

The lens is not stabilised, and that matters more than you might expect. Stabilisation steadies the camera, not a moving subject, so in dim light the f/2.8 aperture and the sensor's performance will do more for you than image stabilisation would. The 24mm focal length suits environmental portraits, where you show the place as well as the person, much as the portraits guide describes for wider lenses. It's less ideal for tight headshots.

Check the guide's focal length converter if you want to compare this lens with full-frame options. The site doesn't list prices on this page, so check the catalogue page for the current figures 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}.