Calculate DOF, Hyperfocal Distance, Near/Far Limits ยท Multi-sensor Support
Depth of Field (DOF) is the distance range in a photo that appears acceptably sharp. When you focus on a point, objects in front of and behind that point are also acceptably sharp within the DOF. It's controlled by four factors: aperture, focal length, focus distance, and sensor size. Mastering DOF is essential for creative photography.
The Circle of Confusion (CoC) is the largest blur spot that the human eye perceives as a sharp point. Different sensor sizes have different standard CoC values: full frame ~0.029mm, APS-C ~0.016-0.019mm, M4/3 ~0.011mm. A larger CoC value results in shallower calculated DOF. Our calculator lets you adjust this value manually for fine-tuning.
To achieve shallow DOF (creamy bokeh): โ Use a wide aperture (f/1.4, f/2.8); โก Use a long focal length (85mm, 135mm, 200mm); โข Get closer to your subject; โฃ Use full frame or larger format. Example: 85mm at f/1.4 on full frame at 1.5m distance gives approximately 2cm of DOF โ extreme background blur.
Hyperfocal distance is a classic landscape photography technique. When you focus at the hyperfocal distance, everything from half that distance to infinity appears sharp. For example: 24mm at f/8 on full frame gives a hyperfocal distance of about 2.42m. Focus at 2.42m, and everything from ~1.21m to infinity is within DOF.
Yes. Most phone sensors are around 1/2.3-inch or 1/1.7-inch โ select the appropriate option. However, phone lenses have very short focal lengths (typically 4-8mm), resulting in extremely deep DOF even at wide apertures (f/1.8). This is why smartphones struggle to produce natural background blur (portrait mode uses computational simulation).
๐ก All calculations are performed locally in your browser. No data is uploaded. Works offline.