You asked

Nikon af s 24 70mm f 2 8e ed vr vs nikon af s dx 17 55mm f 2 8g if ed?

Both lenses have a constant f/2.8 aperture, so they gather the same light in dim scenes. They differ in which cameras they fit and how much they frame.

The Nikon AF-S 24-70mm f/2.8E ED VR is the guide's pick for most people with a full-frame Nikon such as the D750 or D810. It's stabilised, which steadies the camera at slow shutter speeds but does nothing to freeze a moving subject. On APS-C it frames like 36-105mm, so it gives up some width there. It matches the standard zoom the lenses guide suggests as a first lens.

The Nikon AF-S DX 17-55mm f/2.8G IF-ED is made for APS-C cameras such as the D5300 or D7500. On those bodies it frames like 26-82mm on full frame, so it's wider at the short end than the 24-70 on a crop camera. It isn't stabilised, and the guide calls it big and heavy. It suits someone who already owns an APS-C Nikon and wants a fast standard zoom for it.

So choose by your body. Full frame points to the 24-70 E VR. APS-C points to the 17-55 for its wider view. For low light, either lens pairs well with a fast prime: a 50mm f/1.8 on full frame, or a 33-35mm f/1.4 to f/1.8 on APS-C. The landscape guide is also worth a look if you shoot scenery, since it suggests f/4 zooms when you don't need the wide aperture.

Prices aren't stated here, and they change, so check each lens page for current shop prices.

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