Calculate depth of field

For a given lens, enter the focal length, aperture, the distance to your subject, and the camera’s sensor size. The length of the depth of field is displayed below the fields and updates as you change the values.

Screenshot of lens input
Be sure to use the actual focal length of the lens (e.g. as printed on the front of the lens)—don’t convert it to the 35mm equivalent.

Feel free to give each lens a meaningful name to keep track of them.

Renaming a lens

The depth of field calculation can be expanded to view more related statistics:

Further details about a lens’ depth of field

Comparing lenses

Click on the "Add Lens" box to add an additional lens, then enter the second lens’ characteristics.

comparison of two lenses

If the lenses are similar (i.e. same focal length) you may save time by using the Copy button to carry over the same values to the second lens.

You can add an unlimited number of lenses.

Chart comparing two lenses at various distances

You can also see how lenses compare at various distances from the subject. The graph will display the length of the depth of field at 5-foot intervals until the length surpasses 200 feet.

Saving & sharing

At any time you can copy the address from your browser and send it to a friend. They will see the exact same lenses that you've entered.

You can also bookmark the page to come back to the same lens configuration later.

screenshot with the browser address bar highlighted