Skip to main content

Intrattenimento e stile di vita

Lens Diffraction Calculator

🌐

Detailed Guide Coming Soon

We're working on a comprehensive educational guide for the Lens Diffraction Calculator in your language. The content below is shown in English.

Cos'è Lens Diffraction Calculator?

The Lens Diffraction Calculator determines the aperture at which diffraction begins to visibly soften an image, based on the camera sensor's pixel pitch and the wavelength of light. Diffraction is a wave optical phenomenon that occurs when light passes through a small aperture — the edges of the aperture cause light waves to bend and interfere, creating a spreading pattern called the Airy disk. As the aperture is stopped down (higher f-number), the Airy disk grows larger relative to the sensor's pixels. When the Airy disk diameter exceeds the size of a single pixel (or more precisely, the Rayleigh criterion), diffraction limits image resolution below the sensor's theoretical maximum. This is why simply stopping down to f/22 or f/32 for maximum depth of field actually degrades sharpness for high-resolution sensors — the resolution gain from increased DOF is offset by diffraction softness. The diffraction-limited aperture depends critically on pixel pitch: smaller pixels (high-megapixel sensors) hit the diffraction limit at wider apertures than larger pixels (lower-megapixel sensors). A 45 MP full-frame sensor with ~4.4μm pixels starts losing resolution to diffraction at approximately f/7.1, while a 12 MP sensor with ~8.5μm pixels remains diffraction-sharp until f/14 or beyond. Professional photographers must balance depth of field needs against diffraction limits when selecting aperture, often using focus stacking at the optimal aperture to achieve deep DOF without diffraction penalties.

PrimeCalcPro provides professional-grade tools trusted by businesses and academics.

Formula

f(x)Airy Disk Diameter (μm) = 2.44 × λ × f-number Diffraction-Limited Aperture ≈ pixel_pitch (μm) / (2.44 × λ) Where λ = wavelength of light ≈ 0.00055 mm (550nm, green light) Simplified: f_diffraction ≈ pixel_pitch (μm) × 1.22 / 0.00055mm × 0.001 Or: f_diffraction ≈ pixel_pitch (μm) / 0.00134 Airy Disk = 1.35 × f-number (in μm, at 550nm)

Leggenda delle variabili

SimboloNomeUnitàDescrizione
d_airyAiry Disk DiameterμmThe diameter of the central diffraction spot produced by a circular aperture. Grows proportionally with f-number.
λWavelength of LightμmReference wavelength for diffraction calculations. Green light at 550nm (0.00055mm) is used as standard.
NAperture f-numberf-stopThe count or quantity of discrete items or observations involved in the calculation, must be non-negative
pPixel PitchμmPhysical size of a single pixel on the sensor, calculated as sensor width / pixel count horizontally.

Come Lens Diffraction Calculator

  1. 1Step 1: Find your sensor's pixel pitch. Pixel Pitch (μm) = Sensor Width (mm) / Horizontal Pixel Count × 1000. For a 36mm wide sensor with 6000 pixels: 36/6000 × 1000 = 6.0 μm.
  2. 2Step 2: Calculate the diffraction-limited aperture: f_diff = pixel_pitch / (2.44 × 0.00055mm) × 0.001 ≈ pixel_pitch / 1.343.
  3. 3Step 3: At any given f-number, calculate Airy disk size: d_airy (μm) = 2.44 × 0.00055 × f-number × 1000 = 1.342 × f-number.
  4. 4Step 4: Compare Airy disk to pixel pitch. When d_airy ≥ pixel_pitch, diffraction is limiting resolution.
  5. 5Step 5: Choose an aperture 1–2 stops wider than the diffraction limit for optimal sharpness with acceptable DOF.
  6. 6Step 6: For critical sharpness at small apertures needed for DOF, use focus stacking at the optimal aperture.

Esempi risolti

Esempio 1Sony A7R V (61 MP, 4.4μm pixel pitch)
Dato:35.7, 9504, 550
Risultato:Pixel pitch 3.76 μm; diffraction limit at f/2.8

Pixel pitch = 35.7/9504 × 1000 = 3.76 μm. f_diff = 3.76/1.342 = f/2.8. Above f/2.8, diffraction begins reducing effective resolution. This ultra-high-res sensor shows diffraction effects very early.

Esempio 2Nikon Z6 III (24 MP, 5.9μm pixel pitch)
Dato:35.9, 6048, 550
Risultato:Pixel pitch 5.94 μm; diffraction limit at f/4.4

35.9/6048 × 1000 = 5.94 μm. f_diff = 5.94/1.342 = f/4.4. The 24 MP sensor tolerates stopped-down apertures better than the 61 MP Sony — f/8 is still quite usable.

Esempio 3Canon APS-C R7 (32.5 MP, 3.2μm pixel pitch)
Dato:22.3, 6960, 550
Risultato:Pixel pitch 3.2 μm; diffraction limit at f/2.4

22.3/6960 × 1000 = 3.2 μm. f_diff = 3.2/1.342 = f/2.4. APS-C cameras with high pixel densities are particularly susceptible to diffraction — avoid f/8+ for maximum resolution.

Esempio 4Phase One IQ4 150 MP medium format
Dato:53.7, 14204, 550
Risultato:Pixel pitch 3.78 μm; diffraction limit at f/2.8

Despite its enormous sensor, the high pixel density of this 150 MP back means it hits diffraction at f/2.8 — similar to the Sony A7R V. The large sensor helps with DOF and perspective, but not diffraction tolerance.

Applicazioni pratiche

🏗️

Professionals in math and calculus use Lens Diffraction Calc as part of their standard analytical workflow to verify calculations, reduce arithmetic errors, and produce consistent results that can be documented, audited, and shared with colleagues, clients, or regulatory bodies for compliance purposes.

🔬

University professors and instructors incorporate Lens Diffraction Calc into course materials, homework assignments, and exam preparation resources, allowing students to check manual calculations, build intuition about input-output relationships, and focus on conceptual understanding rather than arithmetic.

📊

Consultants and advisors use Lens Diffraction Calc to quickly model different scenarios during client meetings, enabling real-time exploration of what-if questions that would otherwise require returning to the office for detailed spreadsheet-based analysis and reporting.

🏥

Individual users rely on Lens Diffraction Calc for personal planning decisions — comparing options, verifying quotes received from service providers, checking third-party calculations, and building confidence that the numbers behind an important decision have been computed correctly and consistently.

Casi speciali

Extreme input values

In practice, this edge case requires careful consideration because standard assumptions may not hold. When encountering this scenario in lens diffraction calculator calculations, practitioners should verify boundary conditions, check for division-by-zero risks, and consider whether the model's assumptions remain valid under these extreme conditions.

Assumption violations

In practice, this edge case requires careful consideration because standard assumptions may not hold. When encountering this scenario in lens diffraction calculator calculations, practitioners should verify boundary conditions, check for division-by-zero risks, and consider whether the model's assumptions remain valid under these extreme conditions.

Rounding and precision effects

In practice, this edge case requires careful consideration because standard assumptions may not hold. When encountering this scenario in lens diffraction calculator calculations, practitioners should verify boundary conditions, check for division-by-zero risks, and consider whether the model's assumptions remain valid under these extreme conditions.

Diffraction-Limited Aperture by Sensor Resolution and Format

CameraMegapixelsPixel Pitch (μm)Diffraction Limit (f-stop)
Full-frame 12 MP (e.g., Nikon D700)128.45f/6.3
Full-frame 24 MP (e.g., Sony A7 III)245.94f/4.4
Full-frame 36 MP (e.g., Nikon D800)364.87f/3.6
Full-frame 45 MP (e.g., Canon R5)454.39f/3.3
Full-frame 61 MP (e.g., Sony A7R V)613.76f/2.8
APS-C 26 MP (e.g., Sony A6700)263.93f/2.9
MFT 20 MP (e.g., Olympus OM-1)203.33f/2.5
Medium Format 150 MP (Phase One IQ4)1503.78f/2.8

Domande frequenti

Q

Does diffraction make images unacceptably blurry, or is it subtle?

A

Diffraction is typically subtle — noticeable in pixel-level examination of prints or crops but often invisible at normal viewing distances. At 1–2 stops past the diffraction limit, most viewers won't notice softness in a 20×30 inch print at normal viewing distance. However, for critical technical applications (architectural photography, product photography for advertising, large format printing), staying within the diffraction limit is important for maximum sharpness.

Q

What aperture gives the sharpest image overall?

A

The sharpest aperture (called the 'sweet spot') is typically 2–3 stops below maximum aperture (wide open), where aberrations (coma, spherical, chromatic) are well-controlled, but before diffraction becomes significant. For most modern lenses, this is f/5.6–f/8 on full-frame cameras. Specifically, the sharpest aperture is approximately the geometric mean between wide-open and the diffraction limit.

Q

Why do older cameras seem to tolerate smaller apertures without diffraction problems?

A

Older, lower-resolution cameras have larger pixels — a 12 MP full-frame camera has ~8.5μm pixels vs. ~4.4μm for a 61 MP sensor. The diffraction-limited aperture is proportional to pixel pitch, so the 12 MP camera doesn't show diffraction softness until f/11 or beyond, while the 61 MP camera shows it from f/4 onward. This is a fundamental tradeoff between resolution and diffraction tolerance.

Q

How does diffraction affect video vs. stills?

A

Video typically downsamples from the full sensor resolution to the output resolution (4K = 8.3 MP). This effective downsampling means the output pixel pitch is equivalent to a much lower resolution, shifting the diffraction limit to smaller apertures. A 4K video downsampled from a 24 MP sensor behaves like a ~3 MP sensor for diffraction purposes, tolerating much smaller apertures before visible softening.

Q

Is focus stacking a good solution for diffraction avoidance?

A

Yes — focus stacking (capturing multiple frames at different focus distances and blending them in software) allows shooting at the optimal aperture (f/5.6–f/8) for every frame, then combining them for deep depth of field without diffraction. Software like Helicon Focus, Zerene Stacker, and Photoshop's Auto-Blend Layers mode automate this process. It requires a static subject and tripod but yields superior results to simply stopping down to f/16 or f/22.

Q

Does sensor anti-aliasing filter affect diffraction calculations?

A

Many cameras include an optical low-pass (anti-aliasing) filter in front of the sensor to prevent moiré patterns. This filter slightly softens the image — and in effect, makes the camera behave as if it has slightly larger pixels for resolution purposes. Cameras without AA filters (Nikon D800E, Sony A7R, many mirrorless cameras) achieve slightly higher resolution but are more susceptible to moiré, and the diffraction limit as calculated is more immediately noticeable.

Q

At what f-number does diffraction become obvious in typical photo printing?

A

For a standard 30×20 cm (12×8 inch) print viewed at 30 cm, diffraction becomes noticeable when the Airy disk exceeds approximately 0.1mm at the print scale. Working backwards from print magnification, for a 24 MP full-frame camera (2:1 print enlargement at most for this size), diffraction becomes print-visible around f/11–f/16. For pixel-peeping on screen at 100%, diffraction is visible 2–4 stops earlier.

Errori comuni da evitare

  • !Stopping down to f/16–f/22 for maximum DOF on high-resolution sensors, causing more softness than depth of field gain provides.
  • !Assuming all cameras have the same diffraction-limited aperture regardless of resolution.
  • !Ignoring diffraction in macro photography where effective aperture is much smaller than marked aperture.
  • !Confusing lens aberrations (which improve as you stop down) with diffraction (which worsens as you stop down).
  • !Not considering that raw file sharpening in post can partially compensate for mild diffraction softness.
💡

Consiglio Pro

Test your specific camera and lens combination by shooting a resolution chart or brick wall at every full-stop aperture from wide open to minimum. Examine images at 100% magnification on screen. The aperture with the highest apparent sharpness and contrast is your lens's sweet spot — make note of it for reference in future shoots.

Lo sapevi?

The Hubble Space Telescope's primary mirror was ground to within 10 nanometers of its target curvature — but was ground to the wrong prescription due to a calibration error. Even with this defect, the telescope could still detect stars smaller than its theoretical diffraction limit because diffraction spread the starlight in a mathematically predictable pattern that image processing algorithms could partially deconvolve.

Regional Guides

🇺🇸 US
Uses US customary units and standards where applicable
🇬🇧 UK
May require conversion to metric units or British standards
🇪🇺 EU
Follows EU conventions and SI units where applicable
📖Difficoltà:Avanzato
Fai una domanda

Hai una domanda su questa calcolatrice? Ottieni una risposta dettagliata.

Mathematically verified
Reviewed June 2026
Our methodology

Ricevi suggerimenti matematici settimanali

Unisciti a 12.000+ abbonati che ricevono suggerimenti sulla calcolatrice ogni settimana.

🔒
100% Gratuito
Nessuna registrazione
Preciso
Formule verificate
Istantaneo
Risultati immediati
📱
Compatibile mobile
Tutti i dispositivi

Impostazioni

PrivacyTerminiInfo© 2026 PrimeCalcPro