U.S. colleges and universities raised a record $40.31 billion last year, buoyed by megagifts to Stanford University, Harvard University and other wealthy institutions.

The 7.6% increase in charitable donations was fueled by more gifts from individuals, rather than from foundations, and benefited from soaring valuations of gifts of art, according to an annual survey set to be released Wednesday by the nonprofit Council for Aid to Education.

...