A field-stamped geocache is not a problem you can solve with a single math call. Five encodings hide behind one hobby: a base-31 GC-code, a 1-to-5 D/T grid, a multi-stage haversine projection, a 30-meter checker threshold, and a type-specific tolerance for letterbox and munzee variants. The Geocache Letterbox Munzee Stage-Cache Puzzle-Hunt Coordinate Validator at Elysia Tools puts all five on a single page and tells you which type your cache is before it tells you whether your answer is right.