Field of view connects lens and distance
A wider sensor or shorter lens generally sees more scene. A longer lens narrows the view and concentrates available pixels over a smaller area.
The calculator uses sensor width and focal length to estimate horizontal angle, then projects scene width at the target distance.