Camera Image Scale Calculator

Camera Image Scale Calculator

Estimate the horizontal real-world size represented by one image pixel at a given distance. This uses a pinhole camera model and assumes the sensor width and horizontal resolution refer to the active image area. Defaults are illustrative; lens distortion and image processing can affect actual results.
Image Scale:
Support this tool
Buy us a coffee
If this Camera Image Scale Calculator helped you, you can support the site with a small donation. It keeps the tools on the site free and supports ongoing improvements.
Buy us a coffee
Secure donation via Gumroad

What the Camera Image Scale Calculator does

The Camera Image Scale Calculator estimates the horizontal real-world distance represented by one image pixel at a specified distance from a camera. The result, called Image Scale, is displayed in millimeters per pixel (mm/pixel).

For example, a result of 6.25 mm/pixel means that, under the calculator’s assumptions, one horizontal pixel corresponds to approximately 6.25 millimeters across the subject plane. A smaller number means each pixel covers a smaller portion of the scene. A larger number means each pixel covers a wider portion.

This camera image scale calculator can help security camera owners compare potential setups before installation. It uses a simplified pinhole camera model, so the result is a geometric estimate. It does not determine whether a camera can identify a person, read a license plate, or capture a particular detail clearly.

The estimate assumes the subject is on a flat plane perpendicular to the camera’s optical axis at the entered distance. It also assumes that the sensor width and horizontal pixel count describe the same active image area.

How to use the Camera Image Scale Calculator

Enter the following four values to estimate the image scale for your camera and subject distance:

  1. Distance to subject (m): Enter the distance from the camera to the subject in meters. For a security camera, this might be the distance to a doorway, gate, driveway, or other area you want to monitor.
  2. Active sensor width (mm): Enter the width of the sensor area used to create the image, in millimeters. Use the active width that corresponds to the image resolution you enter.
  3. Horizontal image resolution (pixels): Enter the number of pixels across the image, not the total number of pixels in the image. For an image measuring 2560 × 1440 pixels, the horizontal resolution is 2560.
  4. Actual lens focal length (mm): Enter the lens’s actual focal length in millimeters. Do not substitute a 35 mm equivalent focal length, because it describes an equivalent field of view rather than the physical focal length used by this formula.

Read the Image Scale result in mm/pixel. You can compare different input values to see how a change in distance, sensor width, horizontal resolution, or focal length affects the estimated scale.

If you are unsure about a camera’s active sensor width or actual focal length, check the manufacturer’s specifications. Sensor format labels and marketing terms do not always provide the exact active width needed for this calculation. Treat the result as an estimate when the input values are uncertain.

How the Camera Image Scale Calculator formula works

The calculator first estimates the horizontal width of the scene covered at the subject distance. It then divides that width by the number of horizontal pixels:

Image Scale (mm/pixel) = Distance (m) × 1,000 × Active sensor width (mm) ÷ [Actual focal length (mm) × Horizontal resolution (pixels)]

The factor of 1,000 converts the subject distance from meters to millimeters. The sensor width and focal length are both entered in millimeters, so their ratio determines the estimated horizontal scene width at that distance.

Worked example using the default values

Assume a security camera has an active sensor width of 6.4 mm, a horizontal resolution of 2,560 pixels, and an actual focal length of 4 mm. The subject is 10 meters away.

  1. Convert the distance: 10 m × 1,000 = 10,000 mm.
  2. Estimate the horizontal scene width: 10,000 mm × 6.4 ÷ 4 = 16,000 mm.
  3. Divide by the horizontal resolution: 16,000 mm ÷ 2,560 pixels = 6.25 mm/pixel.

The estimated scene is therefore 16 meters wide at the subject plane, and each horizontal pixel represents approximately 6.25 mm there. These default values are illustrative; your camera and installation may produce a different result.

At the same distance and with the same sensor width and resolution, a longer actual focal length produces a smaller mm/pixel value because the camera covers a narrower horizontal scene. A shorter focal length produces a wider view and a larger mm/pixel value. Increasing the distance increases mm/pixel, while increasing horizontal resolution decreases it when the other inputs stay the same.

Use cases for the Camera Image Scale Calculator

Image scale is useful when you want to understand how a camera distributes its horizontal pixels across a scene. Security camera users can apply the estimate in several ways:

  • Compare camera positions: Estimate how moving a camera closer to a gate or entrance changes the scene width represented by each pixel.
  • Compare lens options: Check how different actual focal lengths affect horizontal coverage and estimated scale at the same distance.
  • Evaluate resolution changes: Compare horizontal pixel counts for the same active sensor area to see how they affect the geometric estimate.
  • Plan coverage for a specific area: Use the estimated scene width to consider whether a doorway, walkway, or section of a driveway fits within the horizontal view at the chosen distance.
  • Discuss installation choices: Use the calculation as a starting point when discussing camera placement and lens selection with an installer.

These comparisons depend on using accurate, matching specifications. A smaller mm/pixel value can indicate that more pixels are allocated across the same real-world width, but it does not guarantee a usable image. The visibility of a face, object, or text also depends on the image captured in actual conditions.

Other factors to consider when calculating Image Scale

Sensor area and resolution must match. Some cameras offer multiple aspect ratios, resolutions, or recording modes. A mode may use a cropped portion of the sensor or resize the image. If the active sensor width and horizontal resolution come from different modes, the calculated scale may be misleading.

Digital cropping changes the effective view. If an image is cropped and then resized, the recorded pixel count alone may not describe the original sensor area used. Use the active width and resolution associated with the image area being analyzed whenever those values are available.

Lens distortion can change scale across the image. The calculator uses an ideal pinhole model. Real lenses, especially wide-angle lenses, can stretch or compress parts of the image. Distortion correction and other processing can also change the relationship between scene distance and pixels.

Distance and subject angle matter. The estimate applies at the entered distance on a plane perpendicular to the optical axis. A subject closer to or farther from the camera will have a different scale. A tilted surface can also have varying distance and scale across it.

Image scale is not the same as detail recognition. Focus, lighting, motion blur, compression, noise, and lens quality can all affect the detail retained in a recording. A calculation of mm/pixel does not establish that a person can be identified or that a specific feature can be resolved. Where the outcome matters, check footage from the installed camera under the conditions in which it will operate.

Camera image scale calculator FAQ

What does mm/pixel mean for a security camera?

Millimeters per pixel describes the estimated horizontal real-world distance represented by one pixel at the selected subject distance. For example, 6.25 mm/pixel means each pixel covers approximately 6.25 mm across the assumed subject plane.

Is a lower image scale better?

A lower mm/pixel value means each horizontal pixel represents a smaller part of the scene at the specified distance. That can be useful when comparing geometric coverage, but image quality and the ability to recognize detail depend on other factors, including focus, lighting, motion, and compression.

Should I use actual or 35 mm equivalent focal length?

Use the actual lens focal length in millimeters. A 35 mm equivalent is a field-of-view comparison and does not belong in this formula alongside the camera’s actual active sensor width.

Can I use the camera’s megapixel rating as the horizontal resolution?

No. A megapixel rating describes an approximate total pixel count, while this calculator needs the number of pixels across the image. Check the image dimensions and enter the first number: for example, enter 2560 for a 2560 × 1440 image.

Does the result tell me whether a camera can identify someone?

No. The result estimates geometric image scale under the stated assumptions. Identification depends on the actual image and conditions, including lighting, focus, subject movement, camera angle, and processing.

Table of contents