Hyperfocal H = f² / (N·c). Near limit s·H / (H + s), far limit s·H / (H − s), infinite when the focus distance reaches H. Magnification f / (s − f).
Reverse mode: s = 2·Dn·Df / (Dn + Df), H = 2·Dn·Df / (Df − Dn), N = f² / (H·c). Focal length and CoC are in mm. The diagram uses a compressed scale so infinity fits on the right.