The equation of cavity surface of roll forging die for pressing tapered hexahedron shank of a file is established based on the space conjugation principles, and the mathematical expressions in longitudinal section and cross section of cavity surface are deduced.