Method for grinding a toothing or a profile of a workpiece by means of a grinding wheel, wherein the grinding wheel is designed as a profile grinding wheel and is guided through pre-machined tooth or profile gaps or produces tooth or profile gaps, wherein the workpiece has an axis of rotation (a), wherein the grinding wheel has an axis of rotation (b) and a centre which lies on the axis of rotation (b) of the grinding wheel and in the middle of the axial extension (e) of the grinding wheel, and wherein the workpiece has an end face at least in one axial end region (5, 6) of the toothing or of the profile, wherein the grinding the toothing or the profile comprises the steps: a) Grinding of the tooth or profile gaps of the workpiece by means of the profile grinding wheel; and b) Grinding of chamfers in the region of the axial end of the tooth or profile gaps by means of the grinding wheel, wherein the grinding wheel is arranged in a position, or at least temporarily assumes a position during the grinding of the chamfers, in which the grinding wheel is arranged relative to the workpiece in such a way that an axial end of the tooth or profile gap contacts the grinding wheel, characterized in that in a projection on a plane including the axis of rotation (a) of the workpiece as well as the centre of the grinding wheel, between the axis of rotation (a) of the workpiece and the connecting line between the axial end of the tooth or profile gap and the centre an angle (δ) is included which lies between 20° and 70°, wherein the profile grinding wheel is a dressable grinding wheel and that after carrying out step a) and before carrying out step b) the profile of the grinding wheel is changed by a dressing operation. wherein the workpiece has an axis of rotation (a), wherein the grinding wheel has an axis of rotation (b) and a centre which lies on the axis of rotation (b) of the grinding wheel and in the middle of the axial extension (e) of the grinding wheel, and wherein the workpiece has an end face at least in one axial end region (5, 6) of the toothing or of the profile, wherein the grinding the toothing or the profile comprises the steps: a) Grinding of the tooth or profile gaps of the workpiece by means of the profile grinding wheel; and b) Grinding of chamfers in the region of the axial end of the tooth or profile gaps by means of the grinding wheel, wherein the grinding wheel is arranged in a position, or at least temporarily assumes a position during the grinding of the chamfers, in which the grinding wheel is arranged relative to the workpiece in such a way that an axial end of the tooth or profile gap contacts the grinding wheel, a) Grinding of the tooth or profile gaps of the workpiece by means of the profile grinding wheel; and b) Grinding of chamfers in the region of the axial end of the tooth or profile gaps by means of the grinding wheel, wherein the grinding wheel is arranged in a position, or at least temporarily assumes a position during the grinding of the chamfers, in which the grinding wheel is arranged relative to the workpiece in such a way that an axial end of the tooth or profile gap contacts the grinding wheel, characterized in that in a projection on a plane including the axis of rotation (a) of the workpiece as well as the centre of the grinding wheel, between the axis of rotation (a) of the workpiece and the connecting line between the axial end of the tooth or profile gap and the centre an angle (δ) is included which lies between 20° and 70°, wherein the profile grinding wheel is a dressable grinding wheel and that after carrying out step a) and before carrying out step b) the profile of the grinding wheel is changed by a dressing operation.