Work from the nearest important detail
For a 24 mm lens at f/8 and a 0.030 mm circle of confusion, the standard thin-lens hyperfocal distance is about 2.42 m. Focusing there places the near boundary around 1.21 m. An important object at 70 cm remains outside that modelled zone.
Check the framing before changing anything. Moving the camera, using a different lens or accepting a different foreground composition may be more useful than selecting a very small aperture.
Make the viewing assumption visible
Halving the allowed circle of confusion to 0.015 mm moves the example hyperfocal distance to about 4.82 m and the near boundary to about 2.41 m. The scene and lens have not changed; your definition of acceptable sharpness has become stricter.
That is why two calculators can disagree while using sensible inputs. Compare their circle-of-confusion values and focal-length conventions before assuming one is broken.
Focus and verify deliberately
Choose a visible feature near the planned focus distance and check the foreground and distant detail in a test image. A lens scale is useful, but it may not mark your exact calculated distance. Leave a margin for estimation.
For a very close foreground and distant horizon, consider whether multiple focus positions are appropriate. Moving subjects and changing light complicate stacking. This page does not calculate a stack or guarantee that the images will merge.
- Check a frame at the intended aperture.
- Review critical detail at the output size you care about.
- Avoid changing focus accidentally after setting it.