- Free
- No sign-up
- Works on any device
No tool matches your search.
- Free
- No sign-up
- Works on any device
Create a QR code for a link, Wi-Fi, WhatsApp, contact and more, or read one from a photo.
- Free
- No sign-up
- Works on any device
Fill in the details to see your QR code.
PNG for phones, chats and websites. SVG and PDF stay sharp at any size, which is best for printing. Tip: point your phone camera at the preview to test it.
3. Style (optional): colors, dots, logo
Choose a photo or screenshot or drag it here
Works with photos of printed codes, screenshots and image files.
Looking for QR codes…
Depth of field calculator
Calculate the near and far limits of sharpness and the total depth of field from focal length, aperture, subject distance and sensor size, with a simple diagram.
- Free
- No sign-up
- Works on any device
About Depth of field calculator
Depth of field is the range of distances that look acceptably sharp. It follows from the hyperfocal distance, H = f squared over (N times c) plus f, where f is focal length, N the f-number and c the circle of confusion. The near limit is s(H - f) over (H + s - 2f) and the far limit is s(H - f) over (H - s). A 50 mm lens at f/2.8 focused at 3 metres on full frame has H = 31.0 m, and sharpness runs from 2.74 to 3.32 metres. The tool draws the split and lets you set your own circle of confusion.
How to use Depth of field calculator
- Choose the sensor size, or enter its width and height, then type the focal length and the f-number.
- Enter the distance to the subject and choose metres or feet.
- Read the near and far limits and the total depth of field, and use the strip below the form to see how it divides around the subject.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
- Free to embed on your own website, with a ready-made code to copy.
- Available in 10 languages.
Also known as
Frequently asked questions
What circle of confusion does the tool use?
The sensor diagonal divided by 1500 unless you type your own. That gives about 0.029 mm for full frame, a widely used convention rather than a physical constant.
What happens when the subject is beyond the hyperfocal distance?
The far limit becomes infinity: everything from the near limit to the horizon is acceptably sharp. The tool then shows infinity in place of a number.
Does a shorter focal length give more depth of field?
At the same subject distance and f-number, yes. Wide lenses give a deeper zone of sharpness, but if you move closer to keep the subject the same size, the difference mostly disappears.
Is Depth of field calculator free?
Yes. Depth of field calculator on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.
Can I put Depth of field calculator on my own website?
Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.