Bokeh is not adjustable, but depth-of-field (DoF) is.
DoF is influenced by a number of factors:
- image sensor size
- Lens focal length
- How far the point of focus (PoF) is from the camera
- The lens aperture used
- and how far behind the PoF the background is.
A kit lens mounted on a APS-C (1.6 crop factor) camera body, set to 18 mm, an aperture of f/3.6, and with a PoF
5 feet from the image sensor will deliver:
Total DoF - 3.49 feet deep
DoF starts - 1.2 feet in front of the PoF (34%). (3.8 feet from the image sensor)
DoF ends - 2.3 feet behind the PoF (66%). (7.3 feet from the image sensor)
Changing only the PoF distance - to
10 feet from the image sensor then delivers:
Total DoF - 21.1 feet deep
DoF starts - 3.9 feet in front of the PoF (18%). (6.12 feet from the image sensor)
DoF ends - 17.3 feet behind the PoF (82%). (27.3 feet from the image sensor)
Now lets consider what happens when a longer focal length is used.
We'll use a 1.6 crop factor image sensor, a 50 mm lens at f/4 and a 100 mm lens also at f/4.
We will keep our main subject scale in the image frame the same for both lenses, so we will use the 50 mm lens at 10 feet and the 100 mm lens at 20 feet.
For the 50 mm lens set to f/4 and a PoF of 10 feet we get
Total DoF - 1.84 feet
DoF starts - 0.84 feet in front of the PoF (45%). (9.14 feet from the image sensor)
DoF ends - 1 foot behind the PoF (55%). (11 feet from the image sensor)
For the 100 mm lens set to f/4 and a PoF of 20 feet we get
Total DoF - 1.83 feet
DoF starts - 0.87 feet in front of the PoF (48%). (9.14 feet from the image sensor)
DoF ends - 0.95 feet behind the PoF (52%). (11 feet from the image sensor)
Note that the 50 mm and 100 mm Dof is very nearly identical, though there is a signficant change in the DoF distribution that makes it closer to 50%/50%.
I used this online DoF calculator -
Online Depth of Field Calculator
And recommend this tutorial -
Understanding Depth of Field in Photography