Bokeh simulator and depth of field calculator

This application interactively calculates the camera depth of field and background blur and visually simulates it on a photo together with different types of lens blur (bokeh) for any lens, camera and distance combination. Activating the help mode shows descriptions of the interface elements. By clicking on one of the question mark icons () you can read detailed information about any panel of the interface. The simulator makes use of modern web technologies, so it requires at least following browsers versions to work correctly: Chrome 20.0, Firefox 4.0, Opera 12.0, Safari 6.0, Internet Explorer 10. The most fluid operation is provided by Google Chrome.

You can mail me at: admin@dofsimulator.net or contact me on Facebook: www.facebook.com/dofsimulator or Twitter: www.twitter.com/dofsimulator Any feedback, bug reports and opinions are welcome.

Michael Bemowski is the author and owner of all copyrights except for models drawings and background photos, which are published under Creative Commons licence or in public domain. Copying and distributing this application in different way than linking to this page is FORBIDDEN!

Updated cameras and lens database.

Fixed Mpix calculation for Video 16:9. 08.09.2018 Updated cameras and lens database. Added Nikon Z and Canon RF systems.

Minor fixes and improvements. 24.05.2018 Updated cameras and lens database. Added multiaspect sensors support.

More readable blur values.

Improved keyboard support - it is now possible to use arrow keys to change the parameters.

Visual improvements: more readable menu.

Introduced GDPR-compliant cookie constent. 09.04.2017 Improved user interface: basic and advanced modes, additional icons that makes navigation easier.

Added lens database with focal length and aperture range and minimum focusing distance data.

Lens converters support: teleconverters, reductors and anamorphic lens.

Updated camera database, included medium-format cameras. Added links to technical specifications from digicamdb.com.

Ability to define a custom circle of confusion calculated by resolution or by print size.

The camera location can me moved on the DOF preview together with the distance scale.

Automatic help tooltips appearing when using some of the application features.

Simplified guide, separated into main and more detailed screens.

The simulation sticks to the browser window when scrolling.

Larger simulation size on high-resolution screens.

Many visual improvements, unification among browsers.

Error messages shown when invalid values are entered into fields.

Further fixes and improvements of the model positioning on the background. 30.04.2015 The depth of field simulation works now also on the model: ears, nose and face are blurred depending on the calculated depth of field.

Introduced perspective distortions on the model: the appearance of model's face changes at small distances.

Modified set of models - they now differ also in height.

Video 16:9 mode that changes the image ratio to typical for HD video.

New depth of field preview zoom feature allows to precisely see its range on the person even for small values of DOF.

The links generated for current settings are much shorter now. The old links will still work.

Thanks to the kindness of digicamdb.com administrator a list of digital photo and video cameras has been added. Based on this data the sensor size and focal length range is set.

Improved support for different screen sizes, especially small, mobile devices screens.

A mobile app for Android smartphones and tablets has been released on Google Play.

Enhanced offline version: easier installation: it now works independently from the browser installed in your system.

Stoping the bokeh simulation is now possible during processing.

Sensors sizes list cleanup: added large format film and very small sensors, division of the list into groups.

Expansion of the circle of confusion sizes list with values corresponding to typical video sizes. Division of the list into groups.

When the distance from the model to the camera is small, its head is placed on more interesting background instead of on the sky.

Faster background images loading thanks to better compression. 18.09.2014 Completly new advanced bokeh simulation feature. It allows to simulate different types of real-world background lens blur: from soft disks, through polygonal diaphragms to rings from a catadioptric lens.

Added option that allows to lock the distance between the model and the background - it simulates the photographer movement with constant position of the model.

Facebook page for the application is now available: http://www.facebook.com/dofsimulator Like it and subscribe to get notified instantly about new features in the future! 24.08.2014 Changed model positiong algorithm when background scaling is enabled - it no longer moves when focal length is changed.

Displaying opitmal and maximum f-number when diffraction effects are enabled.

Cookies warning fixes: it is not shown and the page does not hang if the cookies are blocked. 11.08.2014 New feature for generating links to the current parameters.

Added saved settings list sort feature.

Displaying the beginning of the DOF at the hyperfocal distance.

Ability to choose in which units the distances are shown: metric (meters, centimeters) or imperial (feet, inches, yards).

Ability to change slider value with mouse wheel.

I introduced the "Donate" button that allows you to send me some amout of money if you like the application. 27.05.2014 Displaying number of megapixels corresponding to the calculated blur.

Fixes in calculation and displaying of depth of field values for distances close to the hyperfocal distance.

Limited scale on the DOF preview in mobile version in order to be more readable on small screens.

Some optimalizations to speed up the application, especially in mobile mode. 17.05.2014 Introduced mobile version, which allows to comfortably use the application on smaller screens.

Added the ability to move the model and tree silhouettes in order to change their distances in the configuration.

New option allowing to choose other, than the traditionally adopted in photography, circle of confusion size. 27.04.2014 Added option allowing to inlcude diffraction when calculating image blur.

Introduced new guide, which presents all features of the application and replaces existing descriptions of the panels. 09.04.2014 Because it turned out, that web browsers cannot poperly save the webpage on disk I have provided downloadable version in a zip file.

Added several new sensor sizes an ability to choose them with size preview.

It is now possible to enter triple the focal length avaliable on the slider for each sensor size. 07.04.2014 Fixed typo in sensor sizes: 35mm DX -> FX.

Added 1m scale intervals in the DOF panel. 06.04.2014 Moved to new domain, added English translation.

More sensor sizes to choose from: medium format, DSLRs and compact cameras.

Ability to change slider value by clicking on its track.

Support for Internet Explorer 9 and higher.

Added top menu and date of last update.

Added fullscreen mode button.

Moved description from bottom to dialogs avaliable from top menu.

8 new background images with much bigger resolution.

Ability to choose models and backgrounds from thumbnails view.

Saving all settings and restoring them at the next visit to the page. Added reset button to revert them to default values.

Changed method of positioning the model relative to the background in order to be more realistic (in previous version the background moved when focal length changed).

Better fitting the content to the window width.

Bugfixes, layout adjustments etc. 07.03.2014 First version of the application. 20.03.202008.09.201824.05.201809.04.201730.04.201518.09.201424.08.201411.08.201427.05.201417.05.201427.04.201409.04.201407.04.201406.04.201407.03.2014

{{bkg.name}} {{bkg.name}}



{{ctrl.printModel("girl2")}}

{{ctrl.printModel("girl1")}}

{{ctrl.printModel("woman1")}}

{{ctrl.printModel("man1")}}

{{ctrl.printModel("boy2")}}

{{ctrl.printModel("boy1")}}

{{ctrl.printModel("woman2")}}

{{ctrl.printModel("man2")}}

Large format Medium format DSLRs / mirrorless Compact cameras The large format scale is 3x smaller relative to other sizes. {{sensor.key}} {{sensor.key}} {{sensor.key}} {{sensor.key}} {{sensor.key}} {{sensor.key}}

Copy the link below to return to the current settings in the future or on another computer. You can also share it with others.

Please update your browser to use all features of this page.

Chrome

Firefox

Opera

Safari

Internet Explorer



Excellent 5 blades diaphragm Soft 6 blades diaphragm Neutral 7 blades diaphragm Hard 8 blades diaphragm Catadioptric lens 9 blades diaphragm

Value Diagonal Resolution Print View Circle of confusion size: mm Fraction of sensor diagonal: D/ Circle of confusion: {{customCocCtrl.lines.value() | infiniteNumber:4}}mm Dimensions: x px Resolution: Mpix Circle of confusion: {{customCocCtrl.resolution.value() | infiniteNumber:4}}mm Units: Print size: x {{customCocCtrl.units[units].small.unit}} x {{customCocCtrl.units[units].big.unit}} Resolution: dpi Circle of confusion: {{customCocCtrl.print.value() | infiniteNumber:4}}mm Units: Image size: x {{customCocCtrl.units[units].small.unit}} x {{customCocCtrl.units[units].big.unit}} Viewing distance: {{customCocCtrl.units[units].small.unit}} {{customCocCtrl.units[units].big.unit}} Circle of confusion: {{customCocCtrl.view.value() | infiniteNumber:4}}mm OK Cancel

Android app is now available. Go to Google Play to download it and use the simulator without internet connection.

A new version of the application is available. Go to dofsimulator.net to download the update. Changes: {{change}}

Welcome again! If you find this site useful, please consider making a donation, to support its development. $5 $15 $25 Other

An error occured when loading parameters Please make shure that the link has been correctly copied and try again.

In accordance with the GDPR we need to obtain your constent for using cookies and local storage on this site. We use them to store your settings, analyse the traffic and to provide personalized ads in cooperation with our partner Google. See details I agree Settings

Accept cookies used in this site. Allow ads personalization. Save settings If you do not allow cookies, your parameters will not be saved for next visit. You can change your settings at any time.

