This post describes an autofocus test chart I've developed, why I think it's better than others I've seen, and how to use it to test the autofocus of your camera and lens:
My Tech-Related Photography Posts
- Digital Image Color Spaces
- Lightroom goodies (lots of plugins)
- Online Exif (Image Data) Viewer
- Adobe Lightroom 1.x Resources
- Jeffrey's Lightroom Configuration Manager
- Adobe Lightroom Custom Metadata-Viewer Presets
- Jeffrey's Autofocus Test Chart
- Photoshop Calendar-Template-Building Script
- A Qualitative Analysis of NEF Compression
- NEF, Color Space Settings, and Embedded JPGs
- Tripod Stability Tests, Part I
- Timing a Transcend 80x 4GB Compact Flash card
with a Nikon D200 - Digital Camera “White Balance”
- Maximum Aperture of the Nikon 18-200mm
Throughout its Zoom Range
more...
- Introduction
- What Makes a Good Test Chart
- How to Print It (downloading offered here)
- Preparing to Use It
- Taking the Shot
- Interpreting the Results
1. Introduction
If you suspect that your modern SLR or SLR lens has autofocus problems, you can use a chart like the one offered on this page to perform some tests.
The basic premise of a chart like this is that when photographed at an angle, the paper slices through the plane of focus. Depending on the situation, that plane can be very thick, encompassing the whole chart (leaving the whole chart in focus), or, more usefully, it can be very thin, leaving only the areas of the chart that intersect with that thin region in focus.
The illustration below shows proper autofocus and the result one might expect from it, where the region of what is actually in focus is more or less centered on the focus target. It also has views for the problems of back focus and front focus, where for some reason, the lens actually focuses on a region either behind or in front of the focus point (resulting in the in-focus area on the chart to be above or below the focus target). Mouseover the buttons under the chart to see those views.
Back Focus
- Proper Focus
- Front Focus
mouseover a button to see that view (Camera side view from Digital Photography Review)
|
|
It has to be said....
It must be said on a page like this that while there is certainly broken or miscalibrated equipment out there, it's probably safe to say that the majority of “is my autofocus broken?” concerns are rooted not in miscalibrated equipment, but in the user's misunderstanding of the equipment, or of proper technique.
If you suspect you have equipment with autofocus problems and mention it on a photography forum, such as those at Phil Askey's most excellent Digital Photography Review, be prepared for three types of responses: “me too”, “are you sure?”, and “it's all your fault.”
About that last group, sadly, some people seem to enjoy being being combative and ignore all evidence that the user actually does understand the issues at hand, and persistently, incessantly post “it's all your fault – you don't understand anything” type responses. Just ignore them.
However, the “are you sure, did you consider...” responses tend to be from respectable forum members trying to help. Even if it does turn out that your equipment is at fault, you can always pick up good hints and tips from these people, so embrace and appreciate them. I certainly learned a lot when I went through this with my own autofocus problems. It turns out that the major cause of my problems was broken equipment, but in trying to understand where the problem lay, I learned a lot and improved my technique.
Oh, and I came up with an excellent autofocus test chart....
mouseover a button to see that image
2. What Makes a Good Test Chart?
Many factors make an autofocus test chart good or bad, but the two most overwhelmingly important are:
- the ability to ensure that the autofocus locks on to the exact location you intend, and
- that it allows you to clearly interpret relative crispness of focus across the scene.
Without the first, the test has absolutely no meaning, and without the second, you can't grasp the meaning it holds.
Two popular autofocus test charts I've seen and used (and learned much from), by Tim Jackson and Leon Goodman, don't address either of these concerns as well as they could, which is why I developed the chart presented here.
I'll go ahead and add a third important characteristic of a good test chart – perhaps the most important – proper instructions, because it's easy to draw the wrong conclusions from an improperly used chart. The two charts I link to in the previous paragraph excel in this area, and reading through them is highly recommended.
Ensuring Autofocus Lock
Toward the first goal, the middle my test chart has a high-contrast black bar – the autofocus target – surrounded on all sides by liberal expanses of low-contrast gray that the camera autofocus can not lock on to. For an illustration of this, see the “What the Autofocus Sees” button in the super-shrunk view of the chart, at right.
(Testing to ensure that your camera's autofocus system can indeed not lock onto the low-contrast gray is an important step in Preparing to Use the chart.)
Below is a small section of the chart at full resolution, from slightly left of center, showing part of the black bar that is the focus target (with the red line added here just to indicate the vertical centerline of the chart).
However, here's what the autofocus sees:
This provides a clear target for the autofocus. The low-contrast gray extends quite a bit from side to side, but more importantly, it extends the full height of the page. This means that even when the chart is viewed at a steep angle like that shown in the photo at the top of this page, a large area of low-contrast gray still presents itself around the target, buffering it from anything else that the autofocus might lock on. Thus, with the precautions discussed later, you're sure that the autofocus locks onto the target bar if it locks onto anything at all.
Ease of Interpretation
Toward the second important feature – allowing you to interpret relative focus – I've filled the area around the target with lines and boxes that, when viewed at an angle, make it quite clear how focus progresses as you inspect up and down the page:
It should be readily apparent how useful the lines and blocks are when viewed this way, but it's perhaps useful to contrast this with a different method I've seen.
I've seen autofocus test charts that use lines of random Lorem Ipsum text, because, as the author correctly notes, we are hypersensitive to the crispness of text, so it makes for good test fodder. The problem with this approach is that we don't really care about absolute crispness, but want to scan up and down to gauge relative crispness. For this, random lines of spaced text are not as good because there's no continuity as you scan vertically.
On the other hand, this chart's vertical lines make for something that would be smooth and consistent throughout a vertical scan if focus were perfect throughout, but since focus is not perfect throughout, the smooth and consistent nature of the lines highlight clearly what is and isn't in focus.
Additionally, when some of the lines are dashed, the individual blocks making up the line become convenient visual markers of distance from the focus target, allowing you to quickly compare a block above the target with its counterpart the same distance below the target.
3. How to Print The Test Chart
The test charts are provided as 2,449 × 3,299 pixel grayscale GIFs, which, when printed at 300 ppi, fit nicely on US Letter or A4-sized paper.
The key to properly printing the test chart is to get a result in which the gray areas are faint enough that your camera's autofocus system can't lock onto them, but are distinct enough that you can use them to gauge the results. With my printer on my paper in the light I use for tests with my camera, “25% gray” seems to be the sweet spot.
Your situation may be different from mine, so I've built seven different versions of the test chart, each with differing levels of gray for the low-contrast areas. The 5% version is the most faint, while the 35% is the darkest:
| Download Jeffrey's Autofocus Test Chart (version 1.0) |
| 5% · 10% · 15% · 20% · 25% · 30% · 35% |
|
On Windows, right-click the desired link, and on a Mac, ctrl-click the
link, then select the “Save Target As” or “Download Linked File” item to download the chart image. |
I'll suggest that you start with the 25% version that worked for me, printing and testing as instructed below, returning to try a lower-contrast version if need be.
Be sure to print at “100%” without any “fit to paper” option so that the resulting print is as crisp as your printer can produce. Any resizing necessarily incurs fuzziness, which can make interpretation of the results slightly more difficult.
It makes sense to select the “center image on page” option, if your print dialog offers it. Depending on the printer, you may have to select borderless printing in order to fit the full image onto the page, or just as well, let a tad be cropped off. Either are better than resizing to fit the page.
If printing from within Photoshop, be sure to tell Photoshop that it's to be printed at 300 ppi by selecting “Image > Image Size...” and unchecking the “Resample Image” box, then change the Resolution to 300, as shown at right.
If possible, print on high-resolution matte photo paper, such as Canon's MP-101. Besides giving a crisper print, the paper is more sturdy, which makes it resistant to curling and warping (both of which are detrimental to its successful use in testing focus).
After printing, test the appropriateness of the low-contrast gray by lighting the chart well, filling the viewfinder with the gray area, and checking to see whether the autofocus can lock on to it. If it can, you need to move to a lower-percent gray.
The version you've printed holds promise if the autofocus system can't lock onto the gray, but the quick test you've just done is only preliminary. Be sure to check again under actual conditions after setting up for the real shot, as described below.
4. Preparing to Use It
Using the test chart involves taking a picture of it, but it's important that it's done under the right conditions.
The Setup
Bright — you want enough light for the autofocus system to do its job, and to allow for a fast enough shutter speed, to reduce overall shake-induced blur.
Wide open aperture — the wider the aperture (that is, the lower the f-stop number), the more shallow the depth of field becomes, thereby accentuating any focus-related problems. Using aperture-priority exposure mode makes this easy to ensure.
Autofocus On — lest you forget
Fast Shutter — you want a fast enough shutter speed to eliminate the blurring effects of camera shake. As one suggestion, you should have enough light to get at least a 1/1,000th second exposure at ISO 400 or lower. (That should cover most bases, but if you're skilled enough to think this page might be useful, you're probably skilled enough to know what shutter speed you need to eliminate shake-induced blur.)
You might also consider using a tripod, and a remote shutter release.
IS? / VR? — I've never heard of an image-stabilization or vibration-reduction feature causing changes in focus accuracy, but just in case, if you have equipment with these features, it might make sense to test both with and without them.
Low ISO — the ISO sensitivity is not particularly important in its own right, but it's important to realize that while increasing it allows you to get more sensitivity from the sensor, but it does nothing for the autofocus system. If you know you have plenty of light for the autofocus system and merely want to push the shutter speed really high, increasing ISO is fine. Just realize that pushing it too high adds some level of noise-induced blur to the overall picture.
Personally, I like to keep the ISO under 400 on my Nikon D200, but I'll go to 800 if needed when doing a quick focus test that I'll not put too much stock in.
Square to the Chart — it makes interpretation easier if you're exactly square to the bottom of the chart (that is, you're aiming straight to the chart on the horizontal plane, without any side-to-side angle). The top-center and bottom-center of the chart has small black “sightlines” that can be of help.
Chart is Flat — if the chart is not perfectly flat, its slight rumples can have a large impact on the focus. It's okay if just the corners of the chart float a bit off the table. The focus is on the main part of the chart, so to speak, and that's the section that must be perfectly flat.) Using a heavy-stock paper helps a lot.
Exposure Compensation — especially in really bright light (e.g. direct sun), automatic exposure tends to underexpose the fairly uniform brightness of the chart, so you may need to dial in some compensation. A few sample shots should make it clear whether this is necessarily.
Enough Distance — nothing will work if you're closer than the minimum focus distance of the lens, so be sure that you're far enough away that you're not bumping up against that limit. Note that some lenses have a different minimum-focus-distance between manual focus and autofocus. Zoom lenses can have a different minimum depending upon the focal length in use.
Deciding how far away you should be from the chart is influenced by what kind of test you want (some lenses display autofocus accuracy that varies with subject distance), the focal length of the lens, and the nature of your autofocus sensors.
Understanding Your Autofocus Sensors
It's possible that the active area of the camera's autofocus sensor exactly matches the indicator you see in the viewfinder, but it's not likely. More likely is that the active area of detection is a bit larger, perhaps asymmetrically so.
The photo sequences below illustrate the pitfalls of not understanding your camera's autofocus sensors. The right-hand image is just a closeup of the central part of the full-frame left-hand image. Mouseover the four descriptions below the pictures to see the story unfold...
| Improperly Performed Test | |
|
|
| |
The final result above appears as if the camera/lens has back focus, but in reality, it's just picking an unexpected spot to focus on. It would be nice if the indicator in the viewfinder exactly matched the active area, but since that's not the case, it behooves you to understand your sensors.
I should be clear that the illustration above is just to make a point, and it's unlikely that any camera actually has an autofocus sensor shaped like that shown in steps 3 and 4. Tim Jackson has a detailed description of how the autofocus actually works for a Nikon D70, but it likely applies to all modern SLRs, so I recommend it regardless.
I'll leave the detailed description of mapping your autofocus sensors to the link in the previous paragraph, but in short, one way to measure the active area is to get close enough to the chart so that the low-contrast gray area fills the width of the viewfinder, and place the sensor indicator right in the middle of it. Having nothing high-contrast anywhere nearby, it shouldn't be able to lock onto a focus, but instead, should hunt around until it gives up. (If it can lock onto the low-contrast gray areas, you'll need to use one of the lower-percent gray versions offered in the How to Print It section.)
Then, as you move the aim toward the high-contrast black running up and down the sides of the chart, keep trying the autofocus, and once it's able to lock on, note where the black begins relative to that edge of the sensor indicator. You can do the same moving the other way, and up and down, and so “map” the true active area of your sensor.
If you have multiple sensors, they may well each have their own characteristics, so you may wish to map them all, but for the purposes of testing your autofocus system, it's sufficient to use only the middle sensor.
Of course, the more you can fill the viewfinder with the chart, the better. Even if the scenario above results in a valid test, chart is too small to really make out much detail from it, even with the resolution my 10-megapixel SLR affords.
5. Taking the Shot
After taking into account everything in the previous section, it's a simple matter to take some shots. Take multiple shots at different angles of attack. A lower angle shows the depth of the in-focus field the most clearly (and with it, the accuracy of the autofocus system), but requires the most care to ensure that the autofocus sensor does not see the top of the chart instead of the intended target.
(There's an example of a valid test with very low angle of attack in the next section.)
While shooting, keep the following in mind:
Keep double-checking that you're square to the chart
Be very careful not to allow yourself to move the camera between achieving focus lock and actually taking the picture. Some people, for example, have an unconscious habit to move forward a half an inch in the process of taking the shot, and such movement would absolutely destroy any meaning to this test.
If you're near the minimum-focus distance of the lens, keep that in mind as well.
Pause occasionally to double-check that the autofocus can't lock on the low-contrast gray (by pointing at the wide expanse of it in the upper half of the chart and confirming that focus can't be found.)
Once I've set up for a particular shot, I take it, then point the camera at something far and autofocus there, then return to autofocus on the chart, taking a second shot. I then do the same with something near (if I'm not already near the minimum-focus distance of the lens) and return for a third shot. This way, I feel sure that the autofocus is starting from scratch each time.
I got used to taking multiple shots set up the same way because my lens was giving somewhat random results. I guess that's one symptom of being broken, because after it was fixed, the results were consistently spot on.
6. Interpreting the Results
After taking the shots, I load them into Adobe Lightroom and make a couple of quick adjustments to make the results a bit easier to see (I convert them to grayscale, and adjust the contrast a bit to accentuate the low-contrast region). Lightroom is excellent for this because it lets me quickly zoom and pan on an image (more quickly even than Photoshop), and to quickly flip back and forth among multiple images.
In interpreting the results, I look at both the vertical progression of the lines, and the numbers that run up and down the sides. Consider this example:

Nikon D200 + Nikkor 17-55 f/2.8 @ 55mm — 1/3000 sec, f/2.8, ISO 100 — full exif
The Clear Area is Clearly Clear
The depth of field here is only about 8 millimeters (a third of an inch), so it's fairly easy to see the effects on the chart as it slices through the in-focus region. The more clearly focused parts of the vertical lines seem to be properly centered on the target stripe, and comparable numbers (e.g. the left-side “2” above the midline and the left-side “2” below the midline) seem to be about equally fuzzy.
Actually, in this case, there might be the slightest bit more sharpness to the numbers above the midline, but it's so slight that it could well be because the autofocus picked the top edge of the target stripe rather than the bottom edge. That's how good the autofocus was with this shot.
(Frankly, it could be that the bottom sets of numbers have the slight edge in sharpness.... the more I stare, the fuzzier everything becomes!)
Let's look at another example...

Nikon D200 + Nikkor 17-55 f/2.8 @ 17mm — 1/6000 sec, f/2.8, ISO 100 — full exif
A Low Angle of Attack
Here, the depth of field is almost 10 times larger (7.6 centimeters; 3 inches), which makes it more difficult to draw conclusions from the vertical lines. In this case, I focus more on the numbers (haha, I'm so witty). Clicking through to the larger version and comparing the two “5” above with the two “5” below, they feel fairly close in their fuzziness, although the upper pair are a bit sharper. In this case, that's to be expected because we're close enough to the chart that the depth of field is not evenly distributed in front of and behind the focus point: about 3.5 centimeters are in front, and 4.1 behind.
Depth of Field Measurements
Pedantically speaking, “Depth of Field” doesn't really refer to the region that's “in focus”, but rather, “of acceptable focus.” The difference reflects the fact that as you move in front or behind the focus point, the focus starts tapering off immediately, and continues to do so indefinitely. What's considered “acceptable focus” changes depending on the intended use and the resolution of the medium capturing the image (that means, among other things, that the depth-of-field calculations are camera dependent). The current Wikipedia page on Depth of Field has a good presentation of the concepts.
My Online Exif Viewer reports on the depth of field if the image data contains all the requisite data required to compute it. Some of this data is in the Maker Notes section of metadata, which Photoshop strips, so for best results, check with an original straight-out-of-the-camera image.
A Few More Samples
Here are a few more samples to inspect. As with most images on this post (and on my blog, for that matter), clicking through on the image brings you to a larger version.
At first glance this one might appear to be okay because the target is clearly focused, but comparing, for example, the lower-left “4” with the upper-left “4”, shows that there's a bit of back focus here.
This was taken with a 200mm lens from a medium-close distance (about three yards), which results in a depth of field evenly split on either side of the focus point. Had it been taken with a short focal length at a close distance, it's possible that the depth of field would start to skew more toward the rear, and as such, a result like this might be expected. That's not the case here, so this shows back focus.
7. Conclusion
I would expect that the only people who actually read this far are those suffering from really bad autofocus problems, and are desperate to understand them. You have my sympathy, and I hope that my test chart and what I've so verbosely presented here are helpful.






This test chart indeed works well and the results are easy to see. One needs to be careful using it however, since focus may lock onto the grey areas in some cases even if they do not do it in all cases. Read the instructions
For instance, on the 25% chart, focus was hunting if pointed directly at a grey area. However, if focus was locked first on the central black line then framing changed a little down but away from the line, the focus would lock again, this time “frontfocusing”. Move a little further down and it would lock again. No such problems with the 10% for me. So, please experiment carefully and thanks to Jefferey for publishing the verious grey levels versions!
Hi Jeffrey,
Impressive job, thank you. I hope the test chart and described method will work out fine for many.
One friendly suggestion though: Keep it friendly and follow your own advise in this: don’t attack people, just ignore them. Would help if you could remove the link from “a jerk”. Maybe even rewrite that line and keep your interesting article within a positive atmosphere.
For everything else: Keep up the good work. Thank you.
Kind regards,
Jan Wakker
–
Looking out for info about lenses (Nikon, Tokina, Tamron, Sigma) or Nikon DSLR? You might take a look at the Link Collection:
http://home.zonnet.nl/famwakker/nikonlinkslenseswelcome01.htm
Great article … i’m experiencing a little disappointment with my D200 and 500mm lens … very few of the bird shots that i take (tripod, lots of light, remote shutter, 1/1000 shutter speed, etc) are what i imagine would be “tack on” … lots of money … not very good shots …
the good news is that it may be my fault … i’ll map out my sensors and try out your chart … hopefully that will resolve the issue …
worst case … something has to go into the shop … but your insights as to the calibration of the body vs the lens, and the apparent difficulty nikon has recruiting techs will be very useful … luckily i live in San Diego and the repair shop is in El Segundo (L.A. i think) …
again thanks for writing this
tom
I wish to express my gratitude to your excellent work on focus accuracy. Contax was discontinued in 2005. Here at conurus, I convert autofocus Zeiss lenses in Contax N mount to Canon EF mount. Regrettably, I did not get it right the first time, but I ran into a couple of front-focusing and back-focusing issues in the beginning. I tried other charts but it was hard to tell if I was really front/back-focusing or just seeing field-curvature effects. The turning point was using your chart for the test. After taking more than 1,000 test shots and pixel-peeping the results, I fine-tuned the AF algorithms in my product and now the AF accuracy is excellent as confirmed by real-world shots. I get better-than-depth-of-field accuracy all the time. (A pixel is a lot smaller than the circle of confusion used in DoF calculations.) Although some biased people may not agree, I am very much impressed by the accuracy attainable by the Canon AF system, and I have pictures from a Zeiss N Planar 85/1.4 to prove it. Your work has benefited the entire Contax N community who may now migrate over to Canon and get the kind of AF accuracy which would satisfy even pixel-peepers. Thanks!
Do you really think Times Bold was a remotely appropriate typeface for the numerals?
Quite apparently so. —Jeffrey
Thank you for creating this exceptionally helpful AF chart.
Thanks for creating the best focus test chart and instructions!
I initially used another “focus test chart” and I was getting back focus on all of my lenses. I concluded it was my camera’s (D80) AF sensor array that needed to be calibrated. But, I was happy with my images so I decided to give your test a try. Following your instructions to a “T”, focus accuracy was perfect on every lens I have! This just goes to show that along with your chart, your explanations and directions are just as essential.
Thanks again and keep up the good work!
Alex.
Thanks for this easy to use autofocus sheet. I found the one’s on other websites too time-consuming to use (cutting, pasting, folding). I used yours very easily (needed the 5% gray one) and showed that my new Sigma 30mm f/1.4 lens for Canon mount was definitely front-focusing. I also proved that my Canon 50mm f/1.4 and 24-105mm f/4L have PERFECT focus. Now what do I do with the Sigma? Send for calibration or just return? Is it worth the headache? If you have thought would love to hear them. Thanks again for a wonderfully user-friendly chart.
Thanks for the chart. I used the 5% chart and worked carefully/precisely (with a camera on a tripod) to get a 45% angle of attack and also to make sure the focus line on your chart was squarely aligned with a grid line in the camera’s view finder. The results show pretty even focus front to back but not perfect; more interesting is that on the left side the numbers on your chart are slightly back focused (better focused on the back) and on the right side the numbers are slightly front focused (better focused on the front.) In Nikon Capture Editor I can turn on Show Grid Lines to confirm that the reference grid line I saw in the view finder is perfectly parallel to your target line (and in all respects I have worked pretty hard with the camera on a tripod using the view finder grid to make sure the camera/lens is squarely facing your 8.5 x 11 chart.) Any ideas about what it means for one side to be back focused and the other side to be front focused? Thanks
Really great chart, and how to use it article. Finally something made with clear mind about the needs for useful testing. I’m using it to test my Canon stuff, and I need to use the 5% chart. Really interesting is how much bigger really are the AF zones around the points on the focusing screen. From my first round it looks as I have some really precise lenses, some a little front focusing and one (a sigma 24f1.8) severely front focusing, but I need to make better tests with a tripod. Thank you!
Outstanding, TYVM. Let me give my feedback, some of it may help. D300 and I needed the 5% chart. At 300 DPI it was a tiny bit big for my epson 1800 on photoshop. 8.163×10.997. I made it 8.0×10.777 no problem.
Knowing the DoF really helps you decide how far away to be and allows you to pick a focal length on a zoom that is 50/50 front and back and is big enough, but not too big. There is one online that works great for this purpose. (keeping in mind the minimum focus distance for your lens).
http://www.dofmaster.com/dofjs.html
Again thank you for the excellent write up. It all makes perfect sense now and I am madly fixing my lens collection with the 300’s in camera adjustment.
quick question, for some reason, in Windows XP Firefox, it says that the focus chart gif “cannot be displayed, because it contains error.” i could not down load it either…
Thanks for a clear demonstration of the front- and back-focus issues. I’ve ordered some new lenses recently and intend to try this on them to help ensure I got appropriate QC-passed lenses.
Note to Wayne who couldn’t download using XP:
I had experienced the same problem, but in Photoshop, when I clicked on Save-As (after right-clicking on the 5% version), I changed GIF as the default format to All Formats. That worked for me.
Thanks Jeff for the wonderful tools. My 18-200 was severely backfocus (-11 with my D300 in-camera setting) and your test and clear instruction guided me to put it straight . With regards to Yada’s comment above, I have the same issue for the side numbers. Wonder if the problem is my lens is not just back focused but also slanted ?!?! Nonetheless a great tool. Thanks again
Thanks for he chart and the explanation on the use of it. I will be using it to test my new Canon 40D and a few lenses I had, which i suspected to have focusing problems but cannot actually prove it if its the lens or the body. Will let you know the outcome. cheers.
Hi Jeff,
Just to follow up, Tested Canon 40D with my 3 lenses, Tamron 17-50mm F2.8, Sigma 50-150mm F2.8 and Sigma 100-300mm F4.0. The Tamron exhibit severe Front focus at 5 on the chart where the Sigmas’ gave a very slight back focus. Now the next step is to sort out the Tamron…
OK. now once we find out if our lens(s) is focusing correctly or not, is the adjustment in the D300 lens specific so that when that lens is attached the correction is applied automaticazlly? also, what factors can be corrected in camera and which indicate that the lens should be/has to be returned?
Just returned a d300 to retailer and waiting for a new one to come. The focusing, I thought, was too far of – soft/blurry – to be adjusted in camera.
Steve
Jeffery,
Thanks for publishing your focusing chart. I also have used your Exif viewer. You mention above that the depth of field is reported in the exif information. I cannot find it. I am shooting with a Canon 40D and I am using the exif tool to look at a CR2 file on my harddrive. Can you help me with this?
Thanks
Ken
My exif viewer reports the depth of field if it can calculate it from the information given; it’s not a raw data field, so it itself won’t be found as metadata. FIYI, depth of field is necessarily dependent on lots of things that can’t be known ahead of time (such as each person’s intended use of an image), so the value my viewer reports is one that’s based upon a bunch of assumptions. —Jeffrey
Thanks much for publishing this test chart. I using it to set the autofocus
microadjustment on Canon’s 1D Mark III and 1Ds Mark III.
To set up the chart I did this after finding it difficult to prop up the chart
outdoors.
Glue a quarter inch thick aluminum plate drilled and tapped for a lens plate
bolt to a flat clipboard. Luckily I had an old tripod lens/camera plate already
tapped for a bolt the size of the normal fastening bolt that comes with lens
plates.
Screw a Wimberley P-20 lens plate (for instance) to the one glued to the
clipboard (as if the clipboard was a camera body) and mount the clipboard
on a ball head on a tripod.
To square the test chart use a level to get it level across, perpendicular to
the lens, then use a builder’s speed square to sight from the center of the
target to the center of the lens on the camera.
With the ball head, level and square it’s quite easy to square up a 45ยบ
inclined test chart wherever you want to put it.
That’s a lot of work, but that’s what you need to do (at the moment) to ensure a good test. I have a better suggestion to offer, but I can’t quiiiite yet. Soon, I hope…. —Jeffrey
Why not just use a ruler?
Because if you focus on the tics and dashes of a ruler, you can’t possibly know which one the autofocus happens to lock on to, so you can’t possibly make any judgment as to how well it did it. Using a ruler makes for a complete waste of time. —Jeffrey
So if my D200 and 70-200 VR are back focusing, what do I do? If I take it to be repaired, will they have this same type of test?
Thank you for the chart.
When reviewing the results of a test, I quite often notice that the results differ slightly on each side. Assuming you are shooting square to the test chart, a)why does this occur, and b)if one side is showing proper focus and the other is not, which is correct?
Thanks
Mike
My first impression is that it’s not exactly square in at least one of the dimensions that it needs to be…. —Jeffrey
Thx for the excellent resource. But I would aslo like to echo this question posted earlier by Yada:
“Any ideas about what it means for one side to be back focused and the other side to be front focused? Thanks ”
I’m getting this as well.
It’s the same answer as to the previous comment…. my first and strongest instinct is to believe that the camera is not square to the focus line. —Jeffrey
Hi Jeffrey
Thanks for coming up and sharing this great chart and such detailed instructions with us all. I was wondering how critical it is to print out the chart as opposed to using it directly on a laptop monitor screen. Laptop screen offers certain inherent advantages – surface is always flat and never crumpled, the angle of attack is easily adjustable, contrast is easily adjustable. Would you see a reason why the laptop screen would not be a good idea to use directly instead of a printout ?
Hey,
I’d like to thank you for your work on this AF focusing chart, it was critical in calibrating my AI-S lens’ with my digital bodies, it’s simple to use and interpreting the results is easy yet provides with all the detail one would ever need to make adjustments to the lens’, camera, both , or just check the functionality of equipment.
The chart is so helpful that i taped it to my desk next to my custom functions cheat sheet.
Thanks
Cool! ^_^
Read the whole article @ work from top to bottom!
can’t wait to test my Nikon D60 Kit Lens (it fell accidentally)!
thanks dude!
Great information. I hope I haven’t missed the answer to my question in the many pages of text…what impact does changing the camera orientation from horizontal (landscape) to vertical (portait) on the use of your chart? I remember reading something several months ago, which I’m now unable to recall, that turning the camera to the portait orientation might have some impact on the ability of the camera’s sensors to select a proper focus point. I’m using a Nikon D200 with the 70-200/2.8 lens and continue to be frustrated with the focus being off. I just got a D3 and will try testing the lens on both cameras in both orientations using your chart. Again, thanks for the info and any insights you might have regarding the orientation of the camera when using your charts.
Each focus point is actually either a straight line or a cross, so rotating the camera rotates how those lines/crosses lay over the subject. A horizontal focus line might work wonderfully detecting the edge of a wall, but when rotated such that it’s also up and down like the edge of the wall, it would ineffective… —Jeffrey
how should I use the chart with the D300 ability to correct back/front focus on camera?
there’s an AF Fine Tune feature, but once I tested one of my lenses and realized it has backfocus, how much should I change on that panel?
I guess I’ll have to try every number from +20 to -20 and take photos?
That’s exactly what I’d assume, but I’ve never done it. I have a D700 waiting for me upon my return to Kyoto next month, so I’ll be able to give it a try, myself. —Jeffrey
Let us know if the D300 / D700 “AF fine tune” works for one distance / focal length on a particular lens, but not for all of them. In other word, isn’t the right correction a function of the distance / focal ?
Hi,
your chart is the best I can know of for testing my D80 and, yes, I’m desperate to understand focusing so as to read through every single line you wrote.
I have a consideration regarding gray level prints, since this could be harmful if it becomes visible to AF: I wonder why you decided to allow the low contrast gray lines and numbers come close to the focus center (the black line)…
Is there a reason, other than to allow to interpret relative crispness of focus across the scene? Because if you leave a small region completely white (just in vertical direction) there are more probabilities that AF won’t focus on that and choose the black line instead, right?
My 2 cents, but I don’t get it.
Thanks,
tarquin
Yes, I think you get it… as you said, it’s to allow one to interpret focus across the scene. Focus is generally most crisp/accurate in the center of the view, and so having something there to inspect – something other than blank white – is critical to making a good judgment. Yes, you must be sure that the autofocus doesn’t lock on it, but if it doesn’t, it doesn’t. —Jeffrey
Hi,
it’s me again.
I tried some tests with your 5% chart (it’s quite useless to inspect to, but I can at least be sure about AF point) and came out with what I think is a backfocus.
I uploaded two full-size images and their 100% crops so as to share with you (and the readers of this blog) opinions and thoughts.
Surprising enough, it seems that it depends also on the zoom factor (I used a 18-70 lens on a Nikon D80): you can see here
http://www.mezzasporcadozzina.it/listing/focus/_dsc1420f_crop2.jpg
that the focus area is around number “2″; and here
http://www.mezzasporcadozzina.it/listing/focus/_dsc1421_crop2.jpg
that the focus area is between number “6″ (right) and “7″ (left)
Any suggestion is greatly welcome!
Thank you,
tarquin
i hear the AF fine tune on the d300/d700 works best on primes because it does NOT consider focal length or distance. it only holds and calibrates a number for each lens. i have 3 lenses on my d700 database and it automatically detects and adjusts it to whatever i previously set it.
my nikkor 18-35, 24-120vr, and 80-400vr are pretty close. i had to adjust them to -2 , -2, and -4). the test i did was for the maximum focal length but i figured i’d have to go back and re-calculate the adjustment numbers for at least 2 other focal lengths. what i decided to do is to average the numbers out. in your example, i’d set that lens to 4 (average of 2 and 6). this way it will at least be better at any focal length than it is without any AF fine tune compensation.
If I attempt to use your focus chart without using ’shrink to fit’ I only get a portion of the chart. What am I doing wrong?
Thank You,
Ronald Welch
I’d guess that either you’re using paper smaller than US Letter / A4, or you’re not setting the DPI to 300. —Jeffrey
Many thanks for your great jod done!
Having carefully tested my lenses (suspected of severe backfocus) I realized the further I put my camera from the target the more backfocus is (keeping the same angle of ca.45 grad). On min. focus distance they are rather OK (AF 50 mm, Af 35-70 mm). What can explain such a system behavior?
I don’t know anything about lens optics or focus mechanics, but I suspect that the relative error may be the same, but at minimum focus distance it’s absolute magnitude is sufficiently small to not notice. As the distance to the subject increases, so does the magnitude of the error, to the point where it becomes noticeable? This is all just conjecture on my part, but at first blush it sound reasonable….(?) —Jeffrey
Jeff, can i use your AF test chart for Canon EFS 10-22mm lens? This is an ultra wide angle zoom lens. I try to follow your instruction, but seems like A4 printout is too small for focal length at 10mm or 22mm. How to test AF of this type of lens?
An ultra-wide like that mostly puts everything in focus, but in any case, check RawWorkflow.com’s blog after noon EST on today. —Jeffrey
About comment http://regex.info/blog/photo-tech/focus-chart#comment-16356.
In my Canon 40D you can choose what focus point camera uses. So if you set middle focus point active and target that to ruler and take the photo and check results.
I used that to check if my 70-200 lens has front/back-focus issues. Before maintanance my backfocus was really bad and after service it was fine.
So I put ruler to 45deg angle compared to camera that was on tripod.
Jeffrey,
Thanks for the great AF test chart. I’ve suspected for a while now that my new Canon XSi (450D) has a front focus AF problem. Your chart seems to confirm this in a controlled (on tripod) test. Here are my test shots : http://rudolph.smugmug.com/gallery/6870733_i9pdP/1/439549427_RzQog
If you don’t have time to look at these, no problem; if you do, I’d love to hear your comments.
Thanks
Rudolph
I’m sorry to confirm that it certainly does look like a clear case of front focus. Perhaps send it in for calibration… —Jeffrey
Thank you so much for all of your hard work creating a really user-friendly and extremely accurate test. The test showed that my lens and camera are spot on, not even a smidge of back or front focusing.
I had been testing them because I am constantly having my focus jump to the collars or shirts of people I am photographing rather than their eyes, even after I clearly set my focal points on the eyes. I still don’t know why this is happening, but now at least I know it’s not my equipment.
Do you by any chance use the “focus and recenter” technique, common in the old days where there was only one focus point (the center)? That can impart a noticeable error due to the fact that the focus plane is a plane and not a sphere. That is, the distance to the focus plane is shortest in the center of the frame, increasing as you move toward the edge of the frame. The difference can be substantial, and can manifest itself in unpleasant ways with the “focus and recenter” shooting technique. —Jeffrey
Thanks for your reply, Jeffrey! I actually don’t use the focus and recompose method. I choose my focal points myself, but I am still constantly missing focus. I center my focus point on the eyes, hear the beep, shoot and am frustrated to see the focus elsewhere. I have been searching for countless hours for some answers and I am still stumped! I was actually hoping my equipment would be all bungled up so I would have something to blame.
This is a very nice chart, and the discussion of mapping your focus sensor was very helpful (my center sensor is much bigger than indicated, and not entirely centered). My only complaint is that my Canon 50D will focus happily on the gray areas even in the 5% chart. I’m going to try modifying it to 2%!
Your exif reader is just great. I have it saved for easy access. I am amazed at how much information it can discover about a pic.
I spent some time poking around your site. Japan looks to be a photographers paradise. The shots of Anthony show a very happy boy as well as your talent. I have twin girls , just 14 in december, so I especially appreciated your family shots. ‘I just treated myself to a DSLR after using a Minolta XGM for nearly 25 years. I bought the Canon XSi with the 18-55 kit lens and I am having a ball discovering its capalbilities. I have a friend that has the Nikon D300 and only uses it on auto-what a waste of a fine piece of technology.
Thanks for taking the time to shsare your work and knowledge with us.
Do you have to lay this on a table, or can you tape it to a wall? I am trying to test my 50D to see if it’s a bad body! TIA
You can tape it to a wall, but that makes it difficult to get much angle on it (unless the wall is very tall and you are very short). There’s no meaning to shoot the chart straight on… it has to be from an angle (the steeper the better, to a point) to get meaningful results. —Jeffrey
Hi,
new to DSLR, was disappointed with focus issues, found your website..
Anyway, my problem is that my camera can focus even on 5% gray? I did everything as per instructions, using center focus, zoom in so only gray area is in viewfinder and I get focus confirmation! So I cannot do this test as it would be unreliable?
I’m I missing something as I don’t see others having same issue?
Thanks for your great work!
sorry, its me again.. Just read few posts above mine that another user with Canon 50D obtains focus on 5%. I have 450D which does the same.
Is this normal? Should I try adjust to 2% as the other poster suggested? If so, whats teh best way to do this? (I’m a noob, I know that
Thanks.
Will this chart and process work with the 400/2.8? I think you have to shoot from about 75 feet?
Yes, this works…but, I use this 45 deg. arrangement for establishing
Depth Of Field, when I shoot close-ups. If You want to read DOF in mil’s,
lines should be 1,41 mm away from each other; geometry, eh!!
So, if You have ACAD, just fill the A4 with horizontal lines, 1,41 mil. appart ,
aim camera at 45 deg., press the DOF button and read or count sharp lines,
for that appreture You use.
Best Regards, Zoran, Serbia, Europe
Hi Jeffrey, first thanks for this test and the Exif viewer both are great tools. This may be a stupid question but my understanding of DoF is that it is spread 1/3 in front an 2/3 behind any given point of focus. If that’s the case should I take that into account when making the AF micro adjustments or just strive to have the chart in focus an equal amount either side of the centre point. Sorry if this was covered in your analysis but I didn’t see it. Thanks again.
The 1/3 vs. 2/3 (or 1/2 vs. 1/2) is a common fallacy. It’s never more in front than behind, but it ranges from smack in the middle to (“some finite distance in front, and infinite behind”). —Jeffrey
You are a genius with a heart for others. Thankyou very much from Bath, UK.
Pretty green when it comes to the finer points, however, your chart and info were very easy to follow. Just bought Tamron 17 – 50 and thought there may be a focussing issue. Fortunately there wasn’t. Thanks for the help.
G.
Thanks for this! Confirms my suspicions that my Canon 24-70/2.8 is front-focusing
Just a quickie to say thanks for going to the trouble of producing this chart.
In addition to using “regular” autofocus tests with a tripod, I also did some LiveView focusing tests on my D300.
Hi Jeffrey, thanks for your postings on this.
I’ve just used it today on my new 105mm VR + D300 and needed to set the adjustment to +16 due to front focus. Is this still consider normal/good or too close to +20 max?
I have also tested enabling VR while on tripod mode and noticed that as the shutter is half-pressed the focus point was dropping slowly. Fully pressing the shutter caused the whole center focus square to drop past the center (camera about 2 meters from the target). This caused front focus. Nikon documented not using VR when in sturdy tripod mode but never mentioned about the significant shift in focus point.
Appreciate your inputs on this.
Thanks!
I haven’t thought about it much, but if they say “don’t do this”, then I’d not worry much about the details about how things don’t work if you do it.
—Jeffrey
Thank-you so much both for this chart (which worked wonders for me) and all the other great things you share. Your excellent work and willingness to share it is a good example of the web at its best.
thelightcatcher – northwest coast USA
Excellent. Thank you. A new D300s and I noticed problems with my old Sigma 24-70 2.8. Thanks to you, I was able to dial in +20 units to cure the bad front focus and am now happy again!
All the best,
Simon – UK
Great chart, thanks for taking the time to help your fellow enthusiasts! I used it to help calibrate my manual focus glass which is slightly different than autofocus, and wrote about the experience on my blog, . cheers.
Thank you for this chart and all of the other great things you share.
Darren UK
Thanks for putting up your website. Very useful and informative. I’m the guy who’s been Quixotically fighting over on Nikonians about the usefulness of an angle test, the best of which you are showing here. You commented on this too.
http://www.nikonians.org/forums/dcboard.php?az=set_threaded_mode&forum=146&topic_id=85329&prev_page=show_topic&gid=0#85329
However, a search of your site, and a search of the postings on my discussions suggest that no one is discussing the issue of focus algorithm. I use Single Area focusing, which, I think, is similar to the spot metering, at least I have taken them to be the same. My experience is that the metering is broader that the focusing.
But, my point is that what you show above, under Improperly performed test, 4., is something that I can’t get my camera to do. Are you using spot focusing, Single Area? I did look at contrast detection for very small and low contrast items, in comparison to high contrast items near by, here,
http://www.nikonians.org/forums/dcboard.php?az=set_threaded_mode&forum=146&topic_id=85329&prev_page=show_topic&gid=0#85329
Again, thanks for posting such an informative and useful thread.
Dave Harris
To improve camera focus, I recommend placing the chart on a cork board and sticking a pin at the center of the black stripe at the zero point. Then focus on on the pin, right where the pin enters the paper. This technique makes it very clear where you should be focusing.
Once you focus on the pin – as I discussed above – then this Autofocus Test Chart works exactly like Lens Align.
I believe it is even better since one does not need to be completely aligned with the chart since the center ruler portion (which is in grey) is in line with the pin, thus easily tells if one is front or backfocused.
The reason that Lens Align needs total alignment is that the ruler is off to the side of the focus area. But if the ruler is at the center of the focus area – as with using a pin – then precise alignment is not totally necessary.
Additionally, since the numbers on the ruler mean nothing – i.e. one still has to do trial and error to determine how much micrometer compensation to add or subtract – the test chart with pin is much easier to use, and much cheaper than Lens Align. It is also much more portable.