Free · No sign-up日本語

Bokeh Simulator
See the blur before you shoot.

Preview background blur before your next shoot. Adjust aperture, focal length, sensor size, and distance, then compare two setups with A/B view. The depth of field calculator shows how much of the scene will appear sharp, with live calculations as you adjust the settings.

01

Background blur simulator

Choose a subject and sensor, then adjust the settings. The 35mm-equivalent focal length sets the reference framing. When you switch sensors, the actual focal length adjusts to keep the subject the same size. Focus stays on the subject.

Preview

Background scene

Set up your shot

Change a setting. See the difference.

Subject

Choosing a subject loads a starting distance and a suitable background.

Sensor size

Full frame is the reference format.

Focal length

10 mm · Wide angle300 mm · Telephoto

Distances in meters · 1 m ≈ 3.28 ft

Distances

Drag the subject to move it
Camera
Background
Subject height: 170 cm (5 ft 7 in)
f/
f/1.0 · More blurf/22 · Less blur

Full-frame blur equivalentAbout f/1.8

Bokeh shape

Cat-eye bokeh(Oval highlights near the corners)

Cat-eye shapes are stronger at wide apertures. Try Night storefront or City lights to see the effect.

Your results

Background blur diameter

0.362 mm

0.84% of the image diagonal

Depth of field

0.369 m

2.83 m – 3.20 m

Actual focal length
50.0 mm
Crop factor
× 1.00
Circle of confusion
0.029 mm

The preview is an illustration for comparing settings.

02

Bokeh & depth of field calculations

See the math behind your settings. These values update as you adjust the controls. In the equations, f is the actual lens focal length, not the 35mm equivalent.

Background blur diameter b(blur circle on the sensor)Live calculation
b=f2 × (z − s)N × z × (s − f)=0.362 mm

50.0² × (13000 − 3000) ÷ [1.8 × 13000 × (3000 − 50.0)]

f
Actual focal length50.0 mm
N
f-number1.8
s
Camera to subject3,000 mm
z
Camera to background13,000 mm

Matching the framing across sensors

Crop factor k = 43.27 ÷ sensor diagonal
Magnification m = f_equiv ÷ (s − f_equiv) ÷ k
Actual focal length f = m × s ÷ (1 + m)

For distant subjects, f ≈ f_equiv ÷ k. At close range, the thin-lens model adjusts this value to match the subject size. All lengths are in mm. Current k = 1.00.

Depth of field

q = N × c × (s − f) ÷ f²
Near limit = s ÷ (1 + q); far limit = s ÷ (1 − q)
Depth of field = far − near (far = ∞ when q ≥ 1)

The circle of confusion c is the sensor diagonal ÷ 1,500. Current c = 0.0288 mm.

03

How to blur the background

Try these four ways to get more background blur. Each button loads a controlled A/B comparison using your current subject and scene, with a standard starting setup.

Open up the aperture.

With the same lens and distances, halving the f-number doubles the background blur diameter. Switching from f/2.8 to f/1.8 makes blur circles about 1.56× as wide.

Use a longer lens. Step back.

Keep the subject the same size with a longer lens by moving farther away. The background appears larger and more blurred. For the default portrait, switching from 50mm at 3 m (9.8 ft) to 85mm at 5.1 m (16.7 ft) makes background blur circles about 1.46× as wide, with the background 10 m behind the subject.

Leave room behind your subject.

Put more distance between your subject and the background. At 50mm, f/1.8, and a subject distance of 3 m, increasing the background gap from 1 m to 10 m makes blur circles about 3.1× as wide.

Compare a larger sensor.

At the same framing, f-number, and camera position, a larger sensor needs a longer actual focal length. Compared at the same display size, full frame produces blur circles about 1.5× as wide as APS-C in the preset.

04

Depth of field FAQ & limitations

QWhat is bokeh, and how is it different from depth of field?

Bokeh describes the appearance of out-of-focus areas, including the shape of blurred highlights. Depth of field describes the distance range that appears acceptably sharp. A shallow depth of field can help separate your subject from the background, but it does not tell you whether the blur will look smooth or busy. This simulator compares blur amount and cat-eye effects; individual lenses can render bokeh differently.

QHow do I use the bokeh simulator?

Choose a subject, then adjust the sensor, focal length, aperture, and distances. Click Save as A, change a setting, and drag the A/B split to compare the saved setup on the left with the current one on the right. The summary explains the difference in background blur. You can also start with a comparison preset in the tips section. This is a tool for planning and learning about camera settings; it does not edit your uploaded photos.

QWhat is depth of field?

Depth of field is the range in front of and behind the focus distance that appears acceptably sharp. The calculator shows the near and far limits below the total depth. With the default full-frame, 50mm, f/1.8 setup focused at 3 m (9.8 ft), that range is about 2.83–3.20 m: roughly 37 cm, or 14.5 inches, deep. Holding the lens and focus distance fixed, stopping down increases the range. Moving farther away with the same lens also increases it. Switching to a smaller sensor while matching framing and keeping the same f-number generally increases depth of field. Changing focal length while moving the camera to keep subject size usually changes the depth near the subject much less.

QHow does sensor size affect background blur?

This simulator uses full frame as the reference and adjusts actual focal length to keep the subject the same size when you switch sensors. At the same f-number and distances, the smaller sensor uses a shorter lens and produces less visible background blur at the same display size. For distant subjects, Micro Four Thirds at f/1.8 gives roughly the depth of field and blur of full frame at f/3.6 with matched framing. That equivalence describes blur, not the exposure setting.

QWhy does changing focal length move the camera?

Keep subject size is on by default. As you change focal length, the camera moves to maintain the subject framing while the gap behind the subject stays the same. Stepping back with a longer lens changes perspective: the background appears larger relative to the subject, often called compression. Turn the switch off to zoom from a fixed position. Editing the subject distance or dragging the subject moves it between the fixed camera and background; the new subject size becomes the reference.

QWhat is 35mm-equivalent focal length?

It is a way to compare framing across sensor sizes using a full-frame camera as the reference. The crop factor is 43.27 mm divided by the sensor diagonal. For distant subjects, actual focal length is approximately the equivalent focal length divided by that crop factor. At close range, this thin-lens model adjusts for image distance to match the subject size. You can enter the actual lens focal length directly. The preview uses a common 3:2 frame and diagonal-based scaling, so it does not reproduce every sensor aspect ratio exactly.

QDoes the iPhone option reproduce Portrait mode?

No. The iPhone option compares optical blur using an approximate 1/1.59-inch-type sensor modeled as 4:3, about 8.05 × 6.04 mm. These dimensions are an estimate, not a measurement of the device. Apple’s US technical specifications do not list the physical sensor dimensions. Computational blur added by Portrait mode is not simulated.

QHow is background blur calculated?

The calculator uses an ideal thin lens focused on the subject. It calculates the diameter of a defocused background point on the sensor. In the equation, f is actual focal length, N is the f-number, s is camera-to-subject distance, and z is camera-to-background distance. All lengths in the equation are in millimeters; distances are measured from the ideal lens principal plane. Reference: Foundations of Image Systems Engineering — Thin lenses

QWhat is the circle of confusion?

The acceptable circle of confusion is the blur threshold used to decide what appears sharp. Here it is the sensor diagonal divided by 1,500, or about 0.029 mm for full frame. It determines the reported depth of field, not the physical background blur diameter. Perceived sharpness also depends on viewing distance, output size, and eyesight.

QHow realistic is the preview?

The preview uses a 3D scene to show the positions of the subject, ground, and background. With Keep subject size on, changing focal length moves the camera, which changes perspective and how large the background appears. Turn it off to zoom from a fixed position. Some backgrounds use AI-generated images. The preview helps you compare settings; it does not reproduce an actual photograph exactly. Some devices or browsers may use a simplified image preview. Extreme distances and focal lengths can reveal the limits of image coverage and detail. Very strong blur is limited in the preview, while the numerical results remain uncapped.

QWhat does the simulator leave out?

It does not reproduce lens-specific bokeh, color fringing, loss of sharpness at very small apertures, exposure changes, or minimum focusing distances. It also simplifies the depth within the person and dog, the distances between objects in the background, and foreground blur overlapping the subject. Use it to compare how settings change the image, rather than to predict the exact look or compatibility of a specific lens.