Food Photography Setup Calculator
Lighting and styling equipment from shot type.
About this calculator
This calculator handles two separate concerns in food photography: getting the right amount of the dish in focus, and making sure the final image will print sharp at your target size. Depth of field is derived using a hyperfocal-distance approach — the circle of confusion is set from sensor width divided by 1500 (a standard approximation; a full-frame 36mm sensor width gives a ~0.024mm circle of confusion), which combines with your aperture and focal length to find the hyperfocal distance, and then the near and far focus limits at your actual focus distance. Shallow apertures like f/2.8-4 (suited to hero shots with creamy background blur) will show a DOF of a few centimeters or less at close range, while f/8-11 flat lays extend that considerably.
The calculator also estimates field of view width at your focus distance using a close-range approximation (sensor width × focus distance ÷ focal length), useful for framing a full spread. On the print side, it estimates megapixel count assuming a standard 3:2 sensor aspect ratio, then divides available horizontal pixels by your target print width to get DPI, rating the result Low/Acceptable/Good/Excellent against common print-quality thresholds (300 DPI being professional-grade), and separately reports the maximum width you could print at a clean 300 DPI. Finally it suggests a shutter speed assuming a typical controlled studio exposure value of EV 10 at ISO 100 — a reasonable starting point for softbox or strobe lighting, but not a substitute for metering your actual setup, since real studio brightness varies with modifier distance and power.
Inputs
Results
Depth of field (cm)
1.5
Print DPI
500
How to Use This Calculator
- Enter your lens focal length (mm) and aperture (f/) — wider apertures like f/2.8-4 suit hero shots, f/8-11 suits flat lays.
- Enter the focus distance (cm) from camera to food subject and the sensor width (mm) of your camera.
- Enter your camera's megapixels and the target print width (inches) for cookbooks or menus.
- Review the Depth of Field, Near/Far Focus Limit, and Field of View outputs to plan your composition.
- Check the Print DPI, Print Quality, and Max Print Width @ 300 DPI outputs to confirm the shot will print sharp at your target size.
How the result changes with Focal length (mm)
| Focal length (mm) | Depth of field (cm) | Print DPI |
|---|---|---|
| 43 | 6.3 | 500 |
| 64 | 2.8 | 500 |
| 128 | 0.6 | 500 |
| 213 | 0.2 | 500 |
What each input means
- Focal length (mm)
- Lens focal length (50-100mm typical for food).
- Aperture (f/)
- f/2.8-4 for hero shots with bokeh, f/8-11 for flat lays.
- Focus distance (cm)
- Distance from camera to food subject in cm.
- Sensor width (mm)
- Sensor width (36mm full-frame, 23.5mm APS-C).
- Megapixels
- Camera sensor resolution in megapixels.
- Print width (inches)
- Target print width for cookbooks or menus.
What each result means
- Depth of field (cm)
- Total DOF — how much of the dish is sharp.
- Near focus limit (cm)
- Closest point in acceptable focus.
- Far focus limit (cm)
- Farthest point in acceptable focus.
- Field of view width (cm)
- Horizontal width of the scene captured.
- Print DPI
- Resolution when printed at specified width.
- Print quality (1-4)
- 1=Low, 2=Acceptable, 3=Good, 4=Excellent.
- Max print width @ 300 DPI (in)
- Maximum print width at professional 300 DPI.
- Suggested shutter (sec)
- Shutter speed at ISO 100 for typical studio EV 10.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersFocal length (mm) = 85, Aperture (f/) = 4, Focus distance (cm) = 80, Sensor width (mm) = 36 = 6 input(s) provided
- Calculate Depth of fieldDepth of field = Math1.5 = 1.5
- Calculate Print DPIPrint DPI = sensorPxWidth / printWidthIn500 = 500
- Calculate Near focus limit79.2 = 79.2
- Calculate Far focus limitFar focus limit = Math80.8 = 80.8
Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why does the far focus limit sometimes show as a very large number like 9999?
When your focus distance is at or beyond the hyperfocal distance, the far-limit formula's denominator (hyperfocal distance minus focus distance) goes to zero or negative, which mathematically means everything beyond the near focus limit is acceptably sharp. The calculator caps this display case at 9999cm rather than showing infinity, so treat that value as 'effectively infinite,' not a literal measurement.
How is the circle of confusion determined, and can I adjust it directly?
It's calculated automatically as sensor width divided by 1500 — a standard photographic approximation — rather than being a separate input, so a full-frame 36mm sensor yields a CoC of about 0.024mm. Changing the sensor width input is the way to change the CoC used in the depth-of-field calculation.
What do the Print DPI quality ratings (Low, Acceptable, Good, Excellent) actually mean?
They're threshold bands applied to the calculated DPI: below 150 is Low, 150-199 is Acceptable, 200-299 is Good, and 300 or higher is Excellent — 300 DPI being the conventional benchmark for professional print quality like cookbooks or menus. The DPI itself comes from your sensor's estimated pixel width (assuming a 3:2 aspect ratio) divided by your target print width in inches.
Why does the suggested shutter speed assume EV 10 regardless of my actual lighting?
The calculator uses a fixed EV 10 at ISO 100 as a typical controlled-studio exposure value, since it has no way to know your actual softbox or strobe power and distance. Use the suggested shutter speed as a starting point and then meter your specific setup, since real studio brightness varies significantly with modifier type, distance, and power output.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Megapixel Calculator
Calculate megapixels from image dimensions. See print sizes at different DPI and estimate file sizes for RAW and JPEG formats.
Photography BusinessPrint Pricing Calculator
Calculate retail pricing for photography prints. Factor in lab costs, framing, shipping, and target profit margin.
Specialized PhotographyMacro Photography Calculator
Magnification ratio, DOF, and working distance.
Wedding PlanningPhotography Timeline Calculator
Build a wedding photography timeline with time estimates for getting ready, ceremony, portraits, group photos, and reception coverage.
Specialized PhotographyAstrophotography Calculator
Star trail vs point: max exposure from focal length and declination.
More in Creative, Media & Design.