You asked

Sigma 17 40mm f 1 8 dc art vs sigma 28 45mm f 1 8 dg dn art?

The 17-40mm and the 28-45mm are both f/1.8 zooms from Sigma, but they are built for different camera sizes. Choose by the body you own.

The Sigma 17-40mm f/1.8 DC Art is made for APS-C. On Sony E, Fujifilm X and L-Mount it frames like 26-60mm on full frame, and on Canon RF like 27-64mm. It mounts on Sony, Fujifilm, L-Mount and Canon RF bodies. On a full-frame body it works in APS-C crop mode at fewer megapixels. It gives you a wide view for landscapes, street and travel, and it's the better buy if you already have an APS-C camera.

The Sigma 28-45mm f/1.8 DG DN Art is a full-frame lens, mounting on Sony E and L-Mount. Its 28-45mm view is a natural standard range, and it's the one to pick if you shoot full frame. It's less wide than the 17-40 on APS-C, and it's a better portrait and everyday lens on a full-frame body.

Both lenses are f/1.8 and neither is stabilised. For dim light and moving people, the wide aperture does the work, not stabilisation. Remember that f/1.8 on APS-C gives about the background blur of f/2.7 on full frame, so the full-frame lens will blur backgrounds more at the same framing. The focal length page explains this.

If you shoot portraits, the portraits guide explains why a standard zoom like the 28-45 suits people shots. These pages don't show prices, so check each lens page for its current price section before buying.

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