Find the hyperfocal distance and the near limit of sharp focus at that setting.
Focusing at the hyperfocal distance puts everything from half that distance out to infinity acceptably sharp. Landscape photographers use hyperfocal focusing to maximize sharpness with a closed aperture and no focus aid.
Hyperfocal Distance
Hyperfocal H = f^2 / (N x coc); near limit = H / 2
Hyperfocal H = f^2 / (N x coc); near limit = H / 2 Focusing at the hyperfocal distance puts everything from half that distance out to infinity acceptably sharp.
Landscape photographers use hyperfocal focusing to maximize sharpness with a closed aperture and no focus aid.
This calculator takes 3 inputs: Focal length, Aperture (f-number), Crop factor. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.