Folding and measuring device for folding and measuring a workpiece (W), - wherein the folding and measuring device comprises a manipulator having a manipulator arm , a folding head , arranged on the manipulator arm and having a folding roller , and a counter-folding element having a folding bed , - wherein the folding and measuring device comprises a contactlessly operating measuring device , - wherein the counter-folding element comprises a bearing surface , on which the workpiece (W) rests during the folding, characterized - in that the counter-folding element comprises a reference area , - in that the reference area is arranged peripherally around the bearing surface and forms a peripheral shoulder , wherein the reference area has a horizontal contact surface , a first vertical contact surface and a second vertical contact surface , which form the shoulder , - in that the contactlessly operating measuring device is aligned in such a way that, when the folding roller is rolling on the workpiece (W), it senses both a folding portion , produced directly by the folding roller , and the reference area , - in that a fourth distance (A4) and a third distance (A3) are defined by the shoulder of the folding bed as fixed in such a way that the measuring device can reliably carry out the calculation with an optical geometry sensor in almost every position, - in that the folding and measuring device comprises a processor unit , wherein, on the basis of the constant third distance (A3), already stored in the processor unit and representing the distance from the horizontal contact surface to the bearing surface , a packing dimension (P) of the fold (F) created is calculated by the processor unit , - wherein, on the basis of the constant fourth distance (A4), already stored in the processor unit and representing the distance between the first vertical contact surface and the second vertical contact surface , an overlapping dimension (U) of the fold (F) created is calculated by the processor unit . - wherein the folding and measuring device comprises a manipulator having a manipulator arm , a folding head , arranged on the manipulator arm and having a folding roller , and a counter-folding element having a folding bed , - wherein the folding and measuring device comprises a contactlessly operating measuring device , - wherein the counter-folding element comprises a bearing surface , on which the workpiece (W) rests during the folding, - in that the counter-folding element comprises a reference area , - in that the reference area is arranged peripherally around the bearing surface and forms a peripheral shoulder , wherein the reference area has a horizontal contact surface , a first vertical contact surface and a second vertical contact surface , which form the shoulder , - in that the contactlessly operating measuring device is aligned in such a way that, when the folding roller is rolling on the workpiece (W), it senses both a folding portion , produced directly by the folding roller , and the reference area , - in that a fourth distance (A4) and a third distance (A3) are defined by the shoulder of the folding bed as fixed in such a way that the measuring device can reliably carry out the calculation with an optical geometry sensor in almost every position, - in that the folding and measuring device comprises a processor unit , wherein, on the basis of the constant third distance (A3), already stored in the processor unit and representing the distance from the horizontal contact surface to the bearing surface , a packing dimension (P) of the fold (F) created is calculated by the processor unit , - wherein, on the basis of the constant fourth distance (A4), already stored in the processor unit and representing the distance between the first vertical contact surface and the second vertical contact surface , an overlapping dimension (U) of the fold (F) created is calculated by the processor unit . <EOS>