You asked
What cameras fit the nikon af s 50mm f 1 8g?
The Nikon AF-S 50mm f/1.8G fits every camera in the catalogue that takes the Nikon F mount: eight full-frame bodies and nine APS-C ones. It has autofocus but no stabilisation, so its f/1.8 aperture does the work in dim light. The sensor you pair it with matters as much as the lens.
On full frame it gives a natural 50mm view, and this is where the lens does its best work. The guide's sensible pairing is the Nikon D750, a full-frame body that handles low light well and gets the most from an f/1.8 lens for people and food indoors. The Nikon D850 gives the same view with more room to crop, but it is a bigger investment for the body. The Nikon Df suits you if handling and a retro feel matter as much as the pictures.
On APS-C the lens frames like 75mm, and f/1.8 gives about the depth of field of f/2.7. That means a softer background blur than on full frame, so it is a better fit for tighter portraits than for dim interiors. The Nikon D7500 is a capable APS-C partner if you already shoot on that sensor.
Whichever body you choose, the lens is a strong first prime. Pair it with a standard zoom for everything else, as the lenses guide suggests.
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}.