Dof (Depth of Field) Calculator

[skip preamble]

To calculate the near, far and hyperfocal distance for a particular lens, please enter the focal length (millimetres), aperture f stop (number) and the object distance (metres) then click Calculate button. To clear the tables click the Reset button. Changing the camera film or sensor format also causes the system to recalculate.

By default, this JavaScript applet will calculate the near, far and hyperfocal distances in metres. For those not familiar with the metric system, you may use distances in feet instead. However this is not fully supported. When using feet for distances, the results are decimalised. In other words, a reading of 6.5 feet is actually 6 feet 6 inches. Which is one of the many reasons why I dislike the old FFU (Fred Flintstone Units) so much!

Focal lengths are all in millimetres and this applet does not attempt to convert focal lengths into inches, thou, cubits, furlongs, rods, poles or perches etc! However, there is a very handy little converter available at if you like that sort of thing.

Related Images: