Machine to make boxes each starting from a shaped sheet with at least a plurality of walls (13, 15, 16, 19, 23, 27a, 27b) and fins (21, 25, 31, 33, 35, 36, 41, 44) and to automatically pack products in each of said boxes during the production of the latter, comprising: - at least a first rotating member provided with a plurality of first radial support elements each of which is configured to support and temporarily hold at least one part of said shaped sheet during the rotation of said first rotating member passing through a first plurality of radial working positions, in order to cooperate with first folding means associated with said first rotating member configured to fold at least some of said walls (13, 16, 19, 23, 27a) and fins (21, 25, 35, 36) of said shaped sheet; - a second rotating member provided with a plurality of second radial support elements each of which is configured to support and temporarily hold, during the rotation of said second rotating member, said shaped sheet after the latter has been partly folded by said first folding means; wherein said second rotating member is configured to move into a second plurality of radial working positions in order to cooperate with associated second folding means configured to make other folds on said walls (13, 15, 16, 19, 23, 27b) and fins (31, 33, 41, 44) of said shaped sheet; and wherein a translation device is provided that is mounted on a support frame of said machine to selectively transfer in a synchronized manner said shaped sheet from said first rotating member to said second rotating member; wherein said first rotating member comprises a first wheel rotating around a first axis of rotation and said second rotating member comprises a second wheel rotating around a second axis of rotation, parallel to said first axis of rotation, said machine being characterized in that a connection plane passing through said two axes of rotation (X1, X2) defines both a determinate radial working position of each of said first radial support elements, and also a determinate radial working position of each of said second radial support elements and in that said translation device is configured to transfer said shaped sheet between said first wheel and said second wheel along said connection plane keeping said shaped sheet parallel to said connection plane so as to transfer said shaped sheet from said first wheel to said second wheel in a radial direction. - at least a first rotating member provided with a plurality of first radial support elements each of which is configured to support and temporarily hold at least one part of said shaped sheet during the rotation of said first rotating member passing through a first plurality of radial working positions, in order to cooperate with first folding means associated with said first rotating member configured to fold at least some of said walls (13, 16, 19, 23, 27a) and fins (21, 25, 35, 36) of said shaped sheet; - a second rotating member provided with a plurality of second radial support elements each of which is configured to support and temporarily hold, during the rotation of said second rotating member, said shaped sheet after the latter has been partly folded by said first folding means;