Costain said pretax profit rose as margins increased, and that it was increasingly confident of its prospects as reflected in its dividend increase.