Here are some tips on how to get shallow depth of field for portraits. It’s all about the focal length of the lens, aperture, and distance from camera to subject. Keep in mind, you’ll also have to be very careful with your focus when using shallow depth of field. Beautiful bokeh is great, as long as you get the right things in focus.