Photography & Capture

Pinhole Camera Point Projection & Frame Bounds Calculator

Project one camera-coordinate 3D point into calibrated pixel coordinates and test image/clip bounds.

How the calculation works

u = fx*x/z+cx. v = fy*y/z+cy. Projected U = u pixels. Projected V = v pixels. Inside image and Z clip interval = "Yes" if (u >= 0 and u < width and v >= 0 and v < height and z >= near and z <= far) else "No" . Camera-to-point Euclidean range = hypot(x,y,z) m.

Worked example

Example inputs — Camera-space X, right (m): 1; Camera-space Y, down (m): 0.5; Camera-space Z, forward (m): 10; Horizontal focal scale (pixels): 1000; Vertical focal scale (pixels): 1000; Principal point U (pixels): 960; Principal point V (pixels): 540; Image width (pixels): 1920; Image height (pixels): 1080; Near clip Z (m): 0.1; Far clip Z (m): 1000. Expected results — Projected U: 1060 pixels; Projected V: 590 pixels; Inside image and Z clip interval: Yes; Camera-to-point Euclidean range: 10.0623059 m.

Assumptions and limits

Ideal planning model with editable equipment/scene parameters. Camera calibration, optical design, lighting variation and the stated assumptions affect practical results. Point is already in camera coordinates, with +Z forward and +Y down; no world-to-camera pose is inferred. Zero skew, ideal pinhole and no lens distortion. Pixel-coordinate bounds are [0,width) and [0,height); this does not predict occlusion by other geometry.

Reference and further reading

Read the underlying subject reference. Calculith is an independent implementation; the reference does not endorse or certify this tool.

Related calculators

Browse all 1000 calculators →

Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.