You asked
Sigma 20mm f 1 4 dg hsm art vs nikon af s 20mm f 1 8g ed?
The Sigma 20mm f/1.4 DG HSM Art and the Nikon AF-S 20mm f/1.8G ED are both full-frame wide primes with autofocus and no stabilisation. The difference is aperture and mount. The Sigma opens to f/1.4, so it gathers more light and gives a thinner depth of field. The Nikon opens to f/1.8, which is still fast but about two-thirds of a stop slower.
For dim light and moving subjects, the Sigma's wider aperture matters more than stabilisation would, because stabilisation steadies the camera, not the subject. The Nikon's f/1.8 is still a useful low-light lens, but it gives up that margin.
The mount decides a lot. The Nikon fits only Nikon F bodies. The Sigma comes in Canon EF, Nikon F, Sony E and L-Mount, so it moves with you if you change systems. On a Nikon body, the two lenses are direct rivals. On a Canon or Sony body, the Sigma is the only option of the two.
On an APS-C body, both lenses frame more tightly, around 30mm full-frame equivalent. The Nikon's f/1.8 then gives about the depth of field of f/2.7 there, while the Sigma's f/1.4 gives about f/2.1.
Neither page in this guide gives a price for these lenses, so the guide can't say which one is better value. Check the price on each catalogue page, and remember prices change.
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}.