You asked

Sigma 28 45mm f 1 8 dg dn art vs tamron 20 40mm f 2 8 di iii vxd?

The Sigma 28-45mm f/1.8 DG DN Art is the better pick for dim light and moving people. Its f/1.8 aperture gathers about a stop and a quarter more light than f/2.8, and it blurs backgrounds more. On full frame it frames as marked, 28-45mm, a standard view that suits portraits, street and food. The depth-of-field guide explains why the wide aperture matters most at close range. The portrait guide explains why the 28-45mm range works best for environmental portraits, where the setting matters.

The Tamron 20-40mm f/2.8 Di III VXD gives up some speed for width. Starting at 20mm, it suits landscapes, interiors and architecture, where a wide view matters more than a bright aperture. Its f/2.8 is still a good standard for everyday use, but it will struggle more in low light.

Neither lens has stabilisation, so the camera body's stabilisation, if it has one, steadies the frame. It does not freeze a moving subject. For that, you need the faster aperture and enough light, which favours the Sigma.

Mount matters too. The Sigma works on Sony E and L-Mount, and the Tamron on Sony E and Nikon Z. If you shoot Sony, either lens fits your camera. If you shoot Nikon Z, only the Tamron is an option. The pages here don't give prices, so check the lens pages for current figures before you buy.

For a first lens, the lens guide recommends a fast standard prime alongside a standard zoom, so the Sigma covers the first role better than the Tamron does.

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