You asked

Canon rf 85mm f 2 macro is stm vs canon rf 100mm f 2 8l macro is usm?

The guide sees these two as different macro tools. The Canon RF 85mm f/2 Macro IS STM is the more versatile of the pair. Its f/2 aperture gathers about a stop more light than the 100mm's f/2.8, which helps with small subjects in dim light and gives more background blur. The 85mm is also the length the guide's portraits page recommends for people on full frame, so it doubles as a portrait lens.

The Canon RF 100mm f/2.8L Macro IS USM gives up that light for reach and working distance. Standing further from the subject is less likely to scare off insects or flowers, so it suits skittish macro subjects better. Its longer focal length also flatters faces, but it is a less comfortable lens indoors.

Both are stabilised, both autofocus, and both fit full-frame RF bodies such as the Canon EOS R6 Mark II. On an APS-C body the 85mm frames like 136mm and the 100mm like 160mm. For how crop factor changes depth of field, see the focal length converter.

For most visitors the 85mm is the sensible choice: more light and more uses. Choose the 100mm when keeping your distance from the subject matters more than speed. This comparison doesn't include prices, so check current listings 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}.