# DOF Calculator

The range between the nearest and farthest objects of a place or location, that appears acceptably sharp in a photograph is called as the depth of field. The DOF varies based on the aperture, camera and the distance that is focused. It is also called as focal range or effective focal range. This online DOF calculator is used to find the depth of field with the given values.

## Depth of Field Calculation

mm
m
m
m
m

The range between the nearest and farthest objects of a place or location, that appears acceptably sharp in a photograph is called as the depth of field. The DOF varies based on the aperture, camera and the distance that is focused. It is also called as focal range or effective focal range. This online DOF calculator is used to find the depth of field with the given values.

Code to add this calci to your website  #### Formula:

h = ( f * f ) / ( a * c ) n = ( h * d ) / ( h + ( d - f ) ) l = ( h * d ) / ( h - ( d - f ) ) r = l - n Where, h = Hyper Focal Length f = Lens Focal Length a = Aperture c = Negative Format d = Subject Distance n = Near Limit of Acceptable Sharpness l = Far Limit of Acceptable Sharpness r = Depth of FIeld

### Example

#### Depth of Field Calculation

Let us considet the negative format is DSLR APS-C , aperture is F2, focal length of the lens is 100 mm and distance is 12 meters.

Hyperfocal length = 100^2 / (2 / 0.025)
= 200 m

Near Limit of Acceptable Sharpness = ( 200 * 12 ) / ( 200 + ( 12 - 100 ) )
= ( 200 * 12 ) / ( 200 + ( 12 - 0.1 ) ) [Converting mm to m 1mm = 0.001m ]
= 2400 / ( 200 + ( 11.9 ) )
= 2400 / 211.9
= 11.33 m

Far Limit of Acceptable Sharpness = ( 200 * 12 ) / ( 200 - ( 12 - 100 ) )
= ( 200 * 12 ) / ( 200 - ( 12 - 0.1 ) ) [Converting mm to m 1mm = 0.001m ]
= 2400 / 188.1
= 12.76 m

DOF = 12.76 - 11.33
= 1.43 m