You asked
Is the canon ef 40mm f 2 8 stm good on aps c?
Here is what the site says about that.
From Canon EF 40mm f/2.8 STM: Canon EF 40mm f/2.8 STM: A prime lens by Canon for Full frame cameras, 40mm f/2.8. Specs - Maker: Canon - Focal length: 40mm (prime) - Maximum aperture: f/2.8 - Made for: Full frame sensors - Mounts: Canon EF - Stabilised: no - Autofocus: yes What it frames like - On full frame (Canon EF): as marked, 40mm. - On APS-C (Canon) (Canon EF): like 64mm on full frame; f/2.8 gives about the depth of ...
From Focal length converter: Aperture and depth of field: The f-number sets exposure, and that doesn't change with sensor size: f/2.8 gives the same brightness on a phone as on medium format. Depth of field does change. At the same framing, multiply the f-number by the crop factor to get the full-frame aperture with the same depth of field: f/1.8 on APS-C gives about the background blur of f/2.7 on full frame, and f/1.8 on Micro Four Thirds about ...
Quoted 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}.