You asked

Sigma 24mm f 1 4 dg dn art vs viltrox af 24mm f 1 8?

Both lenses are 24mm prime lenses for full-frame cameras with autofocus and no stabilisation. The choice comes down to light and mount.

The Sigma 24mm f/1.4 DG DN Art is the one to pick for dim light and moving subjects. Its wider aperture lets in more light and gives a thinner depth of field for a subject against a busy background. It fits Sony E and L-Mount bodies, so it suits a Sony or Leica/Panasonic full-frame user.

The Viltrox AF 24mm f/1.8 gives up a little speed. It is a sensible choice for everyday shooting in good light, and it is the only one of the two that fits Nikon Z bodies. On Sony E it's the same 24mm view as the Sigma, so the difference is mainly the aperture.

Neither lens has stabilisation, so a stabilised camera body will help with slow shutter speeds. It won't freeze a moving subject, which is why the faster lens matters more for sport, kids or indoor events. If you shoot APS-C instead, the Sigma behaves like f/2.1 for depth of field and the Viltrox like f/2.7, so the gap narrows but remains.

The guide isn't quoting prices here, so check each lens page's price section before you decide. For background blur technique, see aperture and background blur, and for how a 24mm fits into a first set of lenses, 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}.