Depth of field calculator
There are many apps available that can calculate the depth of field. One of the best websites for doing this is Points in Focus
Depth of Field (DoF), Angle of View, and Equivalent Lens Calculator
You plug in the particulars for your camera sensor, lens focal length, and distance to the point of focus. The site will give you the depth of field, near point of acceptable focus, far point of acceptable focus, angles of view, hyperfocal distance (the point to focus on to get everything from infinity to as close as possible to the camera), and more.
You can play what-if scenarios:
– what will happen if I change the aperture?
– what will happen if I focus on something further away?
– what happens if I zoom to the longest focal length of my lens?
– if I focus at the hyperfocal distance, how close will the closest object in acceptable focus be?