Calculate horizontal, vertical, and diagonal angle of view from focal length and sensor format.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Angle of view is 2·atan(sensor dimension ÷ (2·focal length)) for each sensor dimension. A diagonal crop comparison divides full-frame diagonal by the selected sensor diagonal.
50
Horizontal angle deg: 39.6 Vertical angle deg: 27 Diagonal angle deg: 46.8 Crop factor: 1
Photographers compare lenses, virtual cameras choose framing, and cinematography lessons relate sensor size to angle.