LensSimulator.photo: Interactive Lens, Bokeh & Depth of Field Simulator

Lens Simulator is a free, interactive depth-of-field, bokeh and optical ray-tracing simulator. Compare focal lengths, apertures, sensor formats and real lens profiles side by side on a 3D portrait.

Loading scene…
0%

What Lens Simulator does

How the simulator is built

How to read the simulator

Choose a framing preset (Face, Headshot, Upper body, Full body) and the simulator moves the longer lens farther back so the person stays the same size in the frame. To test a tight room or minimum focus, drag Camera distance and walk forward or back yourself. Open Side view for the sharp zone in metres, or Optical X-Ray to watch the focusing elements move inside the barrel.

Ideal lens math vs. real patent ray-tracing

Each camera has two modes.

Ideal lens uses thin-lens math for the geometric effect of focal length, aperture and sensor size on background blur.

Real lens traces rays through the multi-element glass prescription from the optical patent. Compare it with an ideal lens at the same focal length and f-stop to see what the real optics do: cat's-eye bokeh toward the corners, spherical-aberration glow wide open, and focus breathing at close portrait distances. Production tolerances, coatings and aspherical molding texture are not modeled.

Choosing a portrait lens and the entrance pupil

Frame a person the same way and step back with a longer lens, and two things happen. The background looks larger and closer, and the entrance pupil (focal length ÷ f-number) sets how large distant blur circles are next to the subject. A 58mm f/0.95 (61 mm pupil) and an 85mm f/1.4 (60.7 mm pupil) blur a distant background by nearly the same amount, from completely different working distances and with a different background view.

DSLR, mirrorless and sensor formats

A DSLR and a mirrorless camera with the same sensor size frame a portrait the same way. What changes the picture is the sensor format and the optical design of the lens. A 56mm f/1.2 on APS-C frames like an 85mm on full frame, and matches the depth of field and background blur of a full-frame 85mm f/1.8.

Depth of field, bokeh and crop factor

Depth of field explains the sharp zone beside the picture. Bokeh draws the traced disc: cat’s eye, aperture blades and spherical aberration. Crop factor compares the same framing on APS-C, full frame and medium format. Lens compression shows why a longer lens makes the background look closer.

Compare two lenses

Real lens patent matchups

All lens comparisons