You asked
Canon ef 28mm f 1 8 usm vs canon ef 28mm f 2 8 is usm?
The Canon EF 28mm f/1.8 USM is the better pick for dim light and moving subjects. The Canon EF 28mm f/2.8 IS USM is the better pick if you want to keep things steady handheld and sharp.
The f/1.8 lets in more than a stop more light than the f/2.8, which matters most indoors, at night, or at events. It also gives a shallower background blur. On an APS-C body such as the Canon EOS 80D, its depth of field is about that of f/2.9, against about f/4.5 for the f/2.8. The catch is that it has no stabilisation, so you'll want a faster shutter speed in low light.
The f/2.8 IS adds image stabilisation. That steadies the camera, not a moving subject, so it helps most with static scenes, architecture, and slow shutter speeds. Its f/2.8 is still a useful maximum aperture, but it's a step slower in dim places. Both lenses are 28mm primes that fit the same Canon EF cameras, so the choice comes down to light against stability.
Both work on full-frame bodies such as the Canon EOS 5D Mark IV, and on APS-C bodies, where they frame like 45mm. For the aperture reasoning, see the focal length converter. If you're building a kit, the guide suggests a fast standard prime as the second lens after a zoom, see your first lenses.
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}.