See what is sharp and how blurred the background gets for any camera, lens, aperture and focus distance – in a 3D scene and a live camera preview
Quick Answer:With an 85 mm lens at f/1.8 on full frame focused at 10 ft, depth of field is only about 5 inches – from 9.8 ft to 10.2 ft – and a background 30 ft behind the subject is blurred into discs about 2.8% of the frame width. Stopping down to f/8 deepens the sharp zone to about 2 ft. Depth of field grows with a smaller aperture (higher f-number), a shorter focal length and a longer focus distance; at the hyperfocal distance everything from half that distance to infinity is sharp.
Through the camera
--
Blur is drawn to scale for the frame shown.
Scene from the side · drag to orbit
Acceptably sharpFocus planeField of view
The 3D view needs WebGL. The depth-of-field numbers below still work.
Camera & lens
--
Depth of field
--
--
Near limit
--
Far limit
--
Hyperfocal distance
--
Background blur
--
--
Frame width at subject
--
--
Full-frame equivalent
--
--
Same framing, different apertures
Depth of field and background blur at your focal length and focus distance.
Aperture
Near
Far
Total DOF
Background blur
What controls background blur
Four things decide how soft the background looks: a wider aperture (smaller f-number), a longer focal length, a closer focus distance and a background that is far behind the subject. Depth of field alone does not tell the whole story – an 85 mm lens at f/4 and a 35 mm lens at f/1.8 can have similar depth of field around a person, but the 85 mm blurs a distant background more because it magnifies it. That is why the simulator shows the blur disc as a share of the frame width, which is what you actually see in the photo.
Sensor size matters through framing. To fill the frame the same way, a smaller sensor needs a shorter lens, so at the same f-number it gives more depth of field and less blur. Multiply the f-number by the crop factor to find the full-frame aperture with the same look – f/1.8 on Micro Four Thirds looks like f/3.6 on full frame.
How the Depth of Field Calculator & 3D Simulator works
Choose your sensor size, focal length, aperture and focus distance. The calculator uses the thin-lens depth-of-field equations to find the nearest and farthest distances that look acceptably sharp, and the hyperfocal distance – the focus distance that keeps everything from half that distance to infinity sharp.
Sharpness is judged against the circle of confusion: the largest blur spot that still looks like a point in a normal-sized print, 0.030 mm on a full-frame sensor and smaller on smaller sensors (divided by the crop factor). Choose "Critical" for big prints or close inspection – it halves the circle and roughly halves the depth of field.
The camera preview renders the scene from the camera position and blurs every pixel by the size of its blur disc, computed from its distance with the same formula, so the amount of blur is to scale. The fairy lights in the background turn into bokeh discs whose size you can compare with the frame.
Hyperfocal distance H = f² ÷ (N × c) + f
Near limit = s × (H − f) ÷ (H + s − 2f); far limit = s × (H − f) ÷ (H − s), or infinity when s ≥ H
Blur disc of a background at distance d = f² ÷ (N × (s − f)) × (d − s) ÷ d
Worked example
Full-frame camera, 85 mm lens at f/1.8, focused on a person 10 ft (3,048 mm) away, with trees 30 ft behind them.
Hyperfocal distance: 85² ÷ (1.8 × 0.030) + 85 = 133,880 mm, about 439 ft.
Near limit: 3,048 × 133,795 ÷ (133,880 + 3,048 − 170) = 2,982 mm (9.78 ft); far limit: 3,048 × 133,795 ÷ (133,880 − 3,048) = 3,117 mm (10.23 ft).
Background at 40 ft (12,192 mm): blur disc = 85² ÷ (1.8 × 2,963) × 9,144 ÷ 12,192 = 1.02 mm on the sensor.
Result: Only about 5 inches (0.44 ft) is sharp, and the background is blurred into discs 2.8% of the 36 mm frame width – a strongly blurred, portrait-style background.
Depth of field at 10 ft on full frame
Depth of field at 10 ft on full frame
Lens
Near limit
Far limit
Depth of field
Hyperfocal
24 mm f/2.8
6.9 ft
17.9 ft
10.9 ft
22.6 ft
24 mm f/8
4.4 ft
infinity
∞
8.0 ft
35 mm f/1.8
8.8 ft
11.5 ft
2.7 ft
74.5 ft
35 mm f/5.6
7.1 ft
17.0 ft
10.0 ft
24.0 ft
50 mm f/1.8
9.4 ft
10.7 ft
15.6 in
152 ft
50 mm f/4
8.7 ft
11.7 ft
2.9 ft
68.5 ft
50 mm f/8
7.8 ft
14.0 ft
6.3 ft
34.3 ft
85 mm f/1.8
9.8 ft
10.2 ft
5.3 in
439 ft
85 mm f/4
9.5 ft
10.5 ft
11.8 in
198 ft
135 mm f/2.8
9.9 ft
10.1 ft
3.2 in
712 ft
200 mm f/2.8
9.9 ft
10.1 ft
1.4 in
1,563 ft
Focus distance 10 ft (3.05 m), circle of confusion 0.030 mm. For APS-C, use the focal length that gives the same framing (e.g. 35 mm on APS-C ≈ 50 mm on full frame) and multiply the f-number by 1.5 to get a similar depth of field.
Assumptions and limits
Depth of field is a gradual transition, not a hard edge – details just outside the limits are only slightly soft.
The thin-lens formulas are very accurate for normal shooting distances. At macro distances (life-size magnification) depth of field is tiny – often under a millimetre – and the lens design matters more.
The preview models blur from defocus only. Real lenses add optical character such as cat-eye bokeh at the frame edges, onion rings and aperture-blade shapes.
Phone portrait modes add blur in software; the optics of a phone main camera give very little blur at normal distances.
Sources
Zeiss – Depth of Field and Bokeh (H. H. Nasse, Camera Lens News 35)
Depth of field is the range of distances in front of and behind the point you focus on that still look acceptably sharp in the photo. Outside it, objects get gradually softer. It is not a hard line: the limits are defined by a circle of confusion – the largest blur spot that still looks like a point at normal viewing size, 0.03 mm on a full-frame sensor.
How do I get a blurrier background?
Use a wider aperture (smaller f-number such as f/1.8), a longer focal length, get closer to your subject and move the subject further away from the background. Of these, distance usually matters most: a background 30 ft behind a person blurs far more than one 3 ft behind, at the same settings.
What is the hyperfocal distance?
It is the focus distance that gives the most depth of field for a given lens and aperture. Focus there and everything from half the hyperfocal distance to infinity is acceptably sharp. For a 24 mm lens at f/11 on full frame it is about 5.8 ft (1.8 m), so everything from about 2.9 ft to the horizon is sharp – the classic landscape technique.
Does sensor size change depth of field?
At the same f-number and the same framing, a smaller sensor gives more depth of field, because it needs a shorter lens to frame the subject the same way. To match the look on full frame, multiply the f-number by the crop factor: f/2 on APS-C (1.5×) looks like f/3 on full frame, and f/1.8 on a phone camera (about 3.5×) looks like f/6.3.
Why does my phone blur the background in portrait mode?
A phone main camera has a tiny sensor and a very short lens, so optically almost everything is sharp – at 5 ft its background blur is only a fraction of a percent of the frame. Portrait mode measures depth with a second camera or machine learning and adds the blur in software.