You asked

Canon ef 180mm f 3 5l macro usm vs canon ef 100mm f 2 8 macro usm?

The Canon EF 100mm f/2.8 Macro USM is the more flexible of the two. It frames 100mm on full frame and about 160mm on APS-C, and at f/2.8 it gives roughly the depth of field of f/4.5 on APS-C. That makes it a good everyday macro for flowers, small objects and portraits, and it's the lens to start with if you want one macro lens for general use.

The Canon EF 180mm f/3.5L Macro USM reaches further. It frames 180mm on full frame and about 288mm on APS-C. That extra distance keeps you farther from small, skittish subjects such as insects, and it gives more working room when you can't get close. It's the better choice for dedicated close-up work. The trade-off is that it's a longer lens to carry and handle, and at f/3.5 it's slightly slower than the 100mm.

Neither lens has stabilisation, so use a fast shutter speed or a tripod, especially with the 180mm at its longer reach. Both have autofocus and both are Canon EF mount, so either works on the same cameras. Both lenses fit full frame bodies such as the Canon EOS 5D Mark IV and APS-C bodies such as the Canon EOS 90D.

If you want one macro lens, get the 100mm. If you already know you photograph small creatures and want more distance, get the 180mm. For how crop factor changes depth of field, see the focal length converter.

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