Hyperfocal distance can be understood in the same way as macro depth of field, mainly a factor of the size of the object circle of confusion vs. the entrance pupil of the lens and the angles that they make with each other. In order for the triangle that defines the rear DOF to have an infinite baseline, the angle that the entrance pupil makes with the c(o) needs to be 90 degrees or more (angle a in the diagram) - the triangle ceases to be a triangle. This can be accomplished in two ways: 1) The entrance pupil and the c(o) are the same size, 2) The entrance pupil is smaller than the c(o).

The minimum fous distance where the rear DOF goes to infinity is the hyperfocal distance and that is where the entrance pupil and the c(o) are equal.
En = c(o) (En = entrance pupil in mm, c(o) = object circle of confusion)
That can be expanded a bit as the:
c(o) = c/m (c = circle of confusion, m = magnification)
En = f/N (f = focal length, N = aperture setting)
Substituting the above factors gives you:
f/N = c/m
or:
m = c*N/f
That defines the magnification where the hyperfocal situation is achieved. To get the distance, m needs to be converted into a distance.
d = f*((1/m) + 1)
Substituting the previous equation for m we get:
d = f*((1/(c*N/f)) + 1)
d = f*((f/c*N) + 1)
d = (f^2/N*c) + f
Hyperfocal distance is generally written as H
H = (f^2/N*c) + f
Since the c(o) and En are the same size, the front DOF should be equal to half of the focus distance.







