Serre showed that a Gorenstein ideal of grade 2 is a complete intersection, and Buchsbaum and Eisenbud proved a structure theorem for Gorenstein ideals of grade 3. It is found that a certain complete matrix defines a perfect ideal K3(f).As an application,we present a structure theorem for complete intersections of grade 4.