WASHINGTON—Consumer spending is bustling and likely propelled strong overall economic growth in the recently completed second quarter.

Retail sales—a measure of spending at U.S. stores, websites and restaurants—rose 0.5% in June from the prior month, the Commerce Department said Monday. May’s already strong spending growth was revised up to a robust 1.3% from 0.8%.

Many economists estimate the nation’s gross domestic product—a measure of output—expanded robustly in the second quarter. Ahead of Monday’s retail-sales report, forecasting firm Macroeconomic Advisers projected GDP growth had hit a 4.9% annual rate. After the report was released, the firm raised its forecast to 5.1%.

The Commerce Department will release its first estimate for second-quarter GDP on July 27.

Consumer spending, including outlays on many services not tracked in Monday’s report, accounts for more than two-thirds of U.S. economic output.