You asked

How much depth of field will I get for small products with the ttartisan 40mm f 2 8 macro on aps c?

On an APS-C body, the TTArtisan 40mm f/2.8 Macro frames like a 60mm lens on full frame. Its f/2.8 gives about the depth of field of f/4.2 there on Sony E, Fujifilm X, Nikon Z and L-Mount bodies, and about f/4.5 on Canon RF. The focal length converter explains the rule: multiply the f-number by the crop factor to get the full-frame aperture with the same depth of field.

The guide doesn't give centimetre figures for this lens, so it can't say exactly how deep the sharp zone will be at a given distance. What it does make clear is that closeness matters most. At macro distances, product shots will always have a thin slice of sharpness, so f/2.8 is the widest you'll get and the first thing to adjust.

For more depth, stop down to f/4 or f/5.6. You'll lose some light, so use a tripod or a steady light source. The lens page lists the bodies it fits, and it's manual focus and not stabilised, so careful focusing matters. Focus stacking with several frames is the usual way to get a whole small object sharp, and it suits a stable setup.

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