Depth of Field Calculator

Depth of Field Calculator MCP Connector for Claude

A+

Deterministic photographic engine for depth of field, hyperfocal distance, and sensor equivalence.

3 tools Official Updated Oct 1, 2026 Official Vinkius Partner

This MCP server provides a deterministic engine for precise photographic calculations. It connects AI agents to professional optical math, allowing for the calculation of near and far focus limits, total depth of field, and hyperfocal distance. The engine automatically switches between standard and macro magnification models based on focus distance. Use calculate_dof for primary depth of field metrics, calculate_hyperfocal to find the hyperfocal distance, and get_sensor_equivalence to adjust the Circle of Confusion for different sensor formats like APS-C or Micro 4/3.

photographyopticsdepth-of-fieldhyperfocalsensor-equivalence

3 tools expose this connector's capabilities to your AI agent.

get_sensor_equivalence

Adjusts the Circle of Confusion based on different sensor formats to allow for crop factor comparisons

calculate_dof

Calculates the primary depth of field metrics for a given photographic setup

calculate_hyperfocal

Determines the hyperfocal distance for a specific lens and aperture setting

See how to talk to your AI agent using Depth of Field Calculator.

Calculate the depth of field for a 50mm lens at f/2.8 with a focus distance of 2 meters using metric units.

The total depth of field is 0.24 meters, with a near limit of 1.82 meters and a far limit of 2.06 meters.

What is the hyperfocal distance for a 35mm lens at f/8 with a CoC of 0.029mm?

The hyperfocal distance is 19.11 meters.

What is the crop factor and equivalent CoC for an APS-C sensor compared to a full-frame sensor with a base CoC of 0.029?

The crop factor is 1.5 and the equivalent CoC is 0.0193mm.

The `calculate_dof` tool automatically detects macro scenarios. If the focus distance is less than ten times the focal length, it switches from the standard formula to a magnification-based formula for higher accuracy.

Related Connectors