🧮 Depth of Field (DOF) Calculator

Calculate depth of field from focal length, aperture, focus distance and sensor size, giving near and far limits and hyperfocal distance.

📐 計算公式與說明

Hyperfocal distance H = f² ÷ (aperture N × circle of confusion c) + f (mm); near limit = H×S ÷ (H + S − f), far limit = H×S ÷ (H − S + f), where S = focus distance×1000 in mm (results ÷1000 shown in m). Validation: focal length, aperture, focus distance and circle of confusion required. Convention: the far-limit denominator H − S + f reaches zero at S ≥ H + f, making the far limit ∞.

光圈越小、焦距越短、距離越遠,景深越大。