A device for forming the ends of a pipe element, the device comprising a first roller and second roller for imparting a shape to a sidewall of a pipe element, wherein said first roller rotates about an axis and comprises: • a first segment having a first outer diameter; • a second segment positioned contiguous with said first segment and having a second outer diameter smaller than said first outer diameter; • a third segment positioned contiguous with said second segment and having a third outer diameter larger than said second outer diameter; and wherein said second roller rotates about an axis and comprises: • a fourth segment having a fourth outer diameter; • a fifth segment positioned contiguous with said fourth segment, having a fifth outer diameter greater than said fourth outer diameter; • a sixth segment positioned contiguous with said fifth segment and having an sixth outer diameter less than said fifth outer diameter; • a seventh segment positioned contiguous with said sixth segment and having a seventh outer diameter approximately equal to said fifth outer diameter; wherein said fifth segment further comprises a first annular surface positioned adjacent to said fourth segment and a second annular surface positioned adjacent to said sixth segment and oriented angularly with respect to said second axis; characterized in that said first roller further comprises: • an eighth segment positioned contiguous with said third segment and having an eighth outer diameter smaller than said second outer diameter; and • a ninth segment positioned contiguous with said eighth segment and having an ninth outer diameter approximately equal to said second outer diameter; said device further comprises: • a support frame; • said first roller being mounted on said support frame and being rotatable about a first axis, said first roller being adapted to engage an inner surface of said pipe element; • means for rotating said first roller about said first axis; • said second roller being mounted on said support frame and being rotatable about a second axis oriented substantially parallel to said first axis, said second roller being movable toward and away from said first roller and being adapted to engage an outer surface of said pipe element; • means for moving said second roller relatively to said first roller for compressing said sidewall there between while said rollers rotate, said rollers being arranged relatively to one another on said support frame such that: • said fourth segment is aligned with said first segment; • said fifth segment is aligned with said second segment; • said sixth segment is aligned with said third segment; and • said seventh segment is aligned with said eighth segment and at least a portion of said ninth segment. • a first segment having a first outer diameter; • a second segment positioned contiguous with said first segment and having a second outer diameter smaller than said first outer diameter; • a third segment positioned contiguous with said second segment and having a third outer diameter larger than said second outer diameter; • a fourth segment having a fourth outer diameter; • a fifth segment positioned contiguous with said fourth segment, having a fifth outer diameter greater than said fourth outer diameter; • a sixth segment positioned contiguous with said fifth segment and having an sixth outer diameter less than said fifth outer diameter; • a seventh segment positioned contiguous with said sixth segment and having a seventh outer diameter approximately equal to said fifth outer diameter; • an eighth segment positioned contiguous with said third segment and having an eighth outer diameter smaller than said second outer diameter; and • a ninth segment positioned contiguous with said eighth segment and having an ninth outer diameter approximately equal to said second outer diameter; • a support frame; • said first roller being mounted on said support frame and being rotatable about a first axis, said first roller being adapted to engage an inner surface of said pipe element; • means for rotating said first roller about said first axis; • said second roller being mounted on said support frame and being rotatable about a second axis oriented substantially parallel to said first axis, said second roller being movable toward and away from said first roller and being adapted to engage an outer surface of said pipe element; • means for moving said second roller relatively to said first roller for compressing said sidewall there between while said rollers rotate, said rollers being arranged relatively to one another on said support frame such that: • said fourth segment is aligned with said first segment; • said fifth segment is aligned with said second segment; • said sixth segment is aligned with said third segment; and • said seventh segment is aligned with said eighth segment and at least a portion of said ninth segment.