Take the cushions and remove the outer fabric from the foam. Many cushion covers have zippers on the back to allow you to remove the foam easily. Measure the height, width and depth of the foam. Add about ½ to 1 inch to those measurements depending on how badly the foam has deteriorated.
Double check the foam measurements, especially if you added to them, by measuring the cushion cover. Use the seams as guides to measure the height, width and depth of the cover. Purchase the amount of foam necessary.
Mark out the measurements on the foam using the marker. Cut out the foam using an electric knife to make it much easier.
Trim off the corners of the foam, using the electric knife, if the original cushions had rounded edges. Round the edges carefully because you want either side of the cushion to match.
Insert the new pieces of foam into the cushion cover making sure that all the corners meet up correctly.