A method is described to determine the momentum of a particle from points of its trajectory through an inhomogeneous magnetic field. A number of representative trajectories are computed and used to express the momentum explicitly in terms of observable quantities. Compared with the method of calculating a trajectory for each event with a stored field map, we achieved a gain in computing time and a reduction of storage capacity required of several orders of magnitude. © 1969.