You asked
Can I adapt the canon ef s 24mm f 2 8 stm to canon rf?
The guide can't say whether the Canon EF-S 24mm f/2.8 STM works on RF bodies through an adapter. Its page for the lens lists it only as a Canon EF lens made for APS-C sensors, and it doesn't cover adapters or RF cameras. Treat an adapter plan as untested here.
What the page does say matters for that decision. On APS-C it frames like about 38mm on full frame, and f/2.8 gives roughly the depth of field of f/4.5 there. It has no image stabilisation. Every camera it lists is an APS-C EF body, from the EOS 1200D to the 90D and 850D, and it won't mount on the larger-sensor Canon EF bodies.
If you want a native Canon RF lens with a similar wide view, the closest page is the Canon RF 24mm f/1.8 Macro IS STM. It is made for full-frame sensors, has a faster f/1.8 aperture, and has image stabilisation. It is also a macro lens, so it suits close-up work as well as general shooting. The guide's focal length converter explains how the crop factor changes depth of field if you compare the two.
Written by Claude from this site's pages.
The answer changes if
- If you have a full-frame RF body: Can I put the Canon EF-S 24mm f/2.8 STM on a full-frame RF camera?
- If you shoot mostly in dim indoor light: Which RF lens gives a 24mm view with the best low-light performance?
- If you want to keep your APS-C body: Which RF lens suits an APS-C camera with a 24mm view?
Ask next
- Which Canon APS-C camera pairs best with the EF-S 24mm f/2.8 STM for everyday travel shooting?
- How does the RF 24mm f/1.8 Macro IS STM compare with the EF-S 24mm f/2.8 STM for me?
- Is a used EF-S 24mm f/2.8 STM a good buy for a beginner on a tight budget?
- Which full-frame RF camera would suit a 24mm macro lens for close-up flower photography?
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}.