top of page
Ed Dozier

How to Measure Lens Focal Length and Field of View


I thought it would be interesting to show you how to find out (or verify) your lens’ focal length and its field of view.

 

One reason you might like to measure this stuff, versus just reading the lens focal length stamped on the lens, is that manufacturers often lie about the true lens focal length. This is particularly true of long zooms, which might not be as long as claimed. It’s often the case that a lens focal length reduces drastically when focusing close (called focus breathing), and these techniques could attach real numbers to that.

 

The diagrams above show the setup to align and measure your lens to get the information for calculating the focal length and field of view (FOV).

 

You only need to take 6 different measurements to calculate everything! The trick is in setting up the targets to make those measurements accurate.

 

The mathematics used in the calculations involves both algebra and trigonometry. Any “scientific” calculator has the necessary features to do this math. You can always download a scientific calculator app onto your smartphone. Fear not the math.

 

To get all of the necessary information, you’ll need to set up some targets on a wall (I used painter’s tape) and then take distance measurements at two different camera-to-wall distances.



Carefully place tape at center and edges of the field of view

 

As shown above, I put some tape targets on the wall that point at the edges of the field of view and the exact center of the frame. I made sure that the distances on either side of the middle of the frame exactly matched. I also made sure that the lens was at exactly the same height as the middle wall target. Using high magnification via Live View or the viewfinder helps getting the targets more precise.

 

My setup was on a tile floor, and I used the tile grout lines to make sure the lens axis was exactly perpendicular to the wall. You could also temporarily tape a little mirror against the wall and line up the camera until you see your reflection in the center of the camera’s field of view.




Laser for even better measurements

 

I happen to have a fun little laser that can make extremely accurate measurements over long distances. I used this device to get my targets placed within a millimeter, and to measure the camera-to-subject distance.

 

As I often say, “garbage in, garbage out”. The more accurate measurements you make, the more accurate your results will be.

 

I made all of the distance measurements relative to the lens axis and to a spot on the lens that I guessed to be near the vertex of the red arrows shown in the diagram. You don’t really need to know this location, since these techniques will actually calculate the location.

 

The nearer wall distance setup is called ‘x’. The farther wall distance setup is called ‘X’. Similarly, the distance along the wall from the frame middle to the frame edge in the nearer wall setup is called ‘y’, while the farther distance setup is called ‘Y’.

 

For both setups, the angular measurement from the lens axis to the frame edge is called ‘Angle’, measured in degrees. The FOV of the lens is twice the value of ‘Angle’.

 

k = Error Distance from lens measurement location to the true angle vertex.

 

k = ((y * X) – (x * Y)) / (Y – y)

 

x = near_wall_distance from lens measurement location

X = far_wall_distance from lens measurement location

 

y = (near_view_width) / 2

Y = (far_view_width) / 2

 

Angle = FOV / 2

 

Angle = ArcTangent (y/x)

 

x = y / Tangent(Angle)         and   X = Y/Tangent(Angle)

 

y = Tangent(Angle) * x         and   Y = Tangent(Angle) * X

 

FOV = 2 * ArcTangent(y/x)  and FOV = 2 * ArcTangent(Y/X)

 

x_Actual = x + k                  

X_Actual = X + k

 

Focal_length = (sensor_width * x_Actual) / (y * 2)

 

 

 

Example

 

I used my Nikkor 24-120mm f/4 S zoom at the 24mm position.

 

x = 1306mm

y = 1085.85mm

X = 2141mm

Y = 1711.325mm

 

k = ((y * X) – (x * Y)) / (Y – y)

k = ((1085.85 * 2141)-(1306 * 1711.325))/(1711.325 – 1085.85)

k = 143.594mm

 

FOV = 2 * ArcTangent(y/x) 

FOV near = 2 * ArcTangent(1085.85/1306) = 79.48 degrees

 

FOV far = 2 * ArcTangent(1711.325/2141) = 77.27 degrees

 

x_Actual = x + k

x_Actual = 1306+143.594 = 1449.59mm

 

X_Actual = 2141+143.594 = 2284.59 mm

 

FOV_Actual = 2 * ArcTangent(1085.85/1449.59) = 73.67 degrees

 

Focal_length = (sensor_width * x_Actual) / (y * 2)

Focal_length = (36 * 1449.59) / (1085.5 * 2) = 24.03mm

 

My angle vertex ‘guess’ at the front of the lens wasn’t very close. I had a calculated error of about 144mm.

 

It just so happens that the horizontal field of view of 73.7 degrees is what a 24mm lens has with a full-frame camera!


 

Summary

 

Using these techniques, you could actually find out what an un-marked lens’ focal length is. You could also verify (or debunk) manufacturer claims about the real focal length of a lens.

242 views

Comments


Recent Posts
Archive
bottom of page