How To Calculate Focal Length

Focal Length Calculator

Calculate the optimal focal length for your photography needs based on sensor size, subject distance, and field of view requirements.

Calculation Results

Recommended Focal Length:
Field of View (Horizontal):
Field of View (Vertical):
Angle of View (Horizontal):
Angle of View (Vertical):

Comprehensive Guide to Calculating Focal Length

Understanding and calculating focal length is fundamental to photography and optics. Whether you’re a professional photographer, cinematographer, or optics engineer, mastering focal length calculations will significantly improve your ability to control perspective, composition, and image quality.

What is Focal Length?

Focal length, measured in millimeters (mm), is the distance between the camera’s sensor and the optical center of the lens when the lens is focused at infinity. It determines:

  • Field of view – How much of the scene is captured
  • Magnification – How large subjects appear in the frame
  • Perspective – The spatial relationship between objects
  • Depth of field – The range of acceptable sharpness

The Focal Length Formula

The basic formula to calculate focal length when you know the sensor size and desired field of view is:

f = (sensor width × subject distance) / subject width

Where:

  • f = focal length (mm)
  • sensor width = physical width of your camera sensor (mm)
  • subject distance = distance from camera to subject (mm)
  • subject width = width of subject you want to fill the frame (mm)

Sensor Size and Crop Factors

Different camera systems use different sensor sizes, which directly affect focal length calculations:

Camera Type Sensor Size (mm) Crop Factor Equivalent Focal Length
Full Frame 36×24 1.0x No crop
APS-C (Canon) 22.3×14.9 1.6x Multiply by 1.6
APS-C (Nikon/Sony) 23.6×15.7 1.5x Multiply by 1.5
Micro Four Thirds 17.3×13 2.0x Multiply by 2.0
Medium Format (Fujifilm) 44×33 0.79x Divide by 0.79

For example, a 50mm lens on an APS-C camera with 1.5x crop factor behaves like a 75mm lens on full frame (50 × 1.5 = 75).

Angle of View Calculations

The angle of view (AOV) determines how much of the scene is visible through the lens. It’s calculated using:

AOV = 2 × arctan(sensor dimension / (2 × focal length))

Focal Length (mm) Full Frame AOV (Horizontal) APS-C AOV (Horizontal) Common Uses
14mm 104° 84° Ultra-wide architecture, astrophotography
24mm 74° 56° Landscape, street photography
50mm 39° 27° Standard prime, portraits
85mm 24° 16° Portrait, headshots
200mm 10° 6.5° Sports, wildlife

Practical Applications

  1. Portrait Photography:

    For a classic headshot with pleasant facial proportions, use an 85mm lens on full frame (or 50mm on APS-C) at a distance of 1.5-2 meters. This creates a flattering perspective with natural facial feature ratios.

  2. Landscape Photography:

    Wide-angle lenses (14-35mm) capture expansive scenes. For foreground interest, position key elements 1-2 meters from the camera and use f/8-f/11 for maximum depth of field.

  3. Architectural Photography:

    Use tilt-shift lenses (17-24mm) to control perspective distortion. Calculate focal length based on building dimensions and shooting distance to avoid converging verticals.

  4. Wildlife Photography:

    Long telephoto lenses (300-600mm) are essential. For a 1.5m tall animal at 30m distance on full frame, you’d need approximately 400mm to fill the frame vertically.

Advanced Considerations

Professional photographers consider these additional factors:

  • Circle of Confusion: Affects perceived sharpness. Typically 0.03mm for full frame, 0.02mm for APS-C.
  • Hyperfocal Distance: The focus distance that maximizes depth of field. Calculated as (f²)/(N×c) + f, where N is f-number and c is circle of confusion.
  • Lens Compression: Longer focal lengths compress background elements, making them appear closer to the subject.
  • Diffraction Limit: Typically occurs beyond f/11-f/16, reducing sharpness despite increased depth of field.

Common Mistakes to Avoid

  1. Ignoring sensor size: Always account for crop factors when comparing lenses across different systems.
  2. Overlooking working distance: Macro photography requires considering minimum focus distances.
  3. Neglecting perspective: Focal length affects perspective more than physical distance from subject.
  4. Disregarding lens characteristics: Zoom lenses may have varying maximum apertures across their range.

Scientific Foundations of Focal Length

The principles behind focal length calculations stem from geometric optics, particularly the thin lens equation:

1/f = 1/v – 1/u

Where:

  • f = focal length
  • v = image distance (sensor to lens)
  • u = object distance (subject to lens)

For photography, we simplify this by assuming the lens is focused at infinity (u → ∞), making 1/u approach 0, so 1/f ≈ 1/v.

Authoritative Resources

For deeper technical understanding, consult these academic resources:

Frequently Asked Questions

How does focal length affect depth of field?

Longer focal lengths inherently produce shallower depth of field at equivalent apertures due to:

  • Increased magnification of the subject
  • Longer distance between lens elements
  • Narrower angle of view concentrating light rays

For example, at f/2.8:

  • 24mm lens might have 0.5m depth of field at 2m focus distance
  • 200mm lens might have 0.02m depth of field at 2m focus distance

Why do my photos look different at the same focal length on different cameras?

This occurs due to:

  1. Sensor size differences: Smaller sensors crop the image circle, effectively increasing the field of view magnification
  2. Pixel density: Higher megapixel sensors may reveal more lens aberrations
  3. Anti-aliasing filters: Some cameras use stronger filters that slightly soften images
  4. JPEG processing: Manufacturer-specific color science and sharpening algorithms

How do I calculate focal length for macro photography?

Macro photography introduces additional variables:

Magnification = (focal length) / (focus distance – focal length)

For 1:1 macro (life-size reproduction):

Focus distance = 2 × focal length

Example: A 100mm macro lens achieves 1:1 at 200mm (0.2m) from the subject.

What’s the relationship between focal length and perspective?

Perspective is determined by camera position, not focal length. However:

  • Wide angles (short focal lengths) exaggerate relative sizes when close to subjects
  • Telephotos (long focal lengths) compress relative distances between objects
  • Normal lenses (≈ diagonal of sensor) reproduce perspective similar to human vision

To maintain perspective while changing composition:

  1. Move physically closer/farther from subject
  2. Adjust focal length to keep framing identical
  3. Compare the resulting images to see perspective differences

Leave a Reply

Your email address will not be published. Required fields are marked *