Aug 2 (Reuters) - Auto parts supplier Magna International missed analysts' estimates for second-quarter results on Friday, hurt by production being stopped for certain vehicles and lower volumes of automobiles that it assembled.

Magna, which counts BMW, Mazda and Ferrari as customers, produces parts and builds vehicles at its complete vehicle manufacturing unit for various automakers.

"Sales were negatively impacted by the end of production of certain programs, lower complete vehicle assembly volumes, including as a result of the end of production of the BMW 5-Series," Magna said.

Quarterly sales at its complete vehicles unit, which assembles models for global carmakers, fell 18.6% to $1.24 billion.

Demand for Magna's parts and services had risen over the past few years, but that has taken a hit with automakers shifting away from their costly electric vehicle plans to focus on gas-powered models.

Rival Aptiv beat Wall Street expectations for quarterly profit on Thursday. However, revenue from the company's segment which makes electrical components declined 3% due to a reduction in production by some customers.

In May, Magna recorded asset impairments and restructuring costs of $316 million related to embattled EV startup Fisker.

Ontario-based Magna lowered its 2026 sales forecast range to $44.0 billion to $46.5 billion, compared with its prior view of $48.8 billion to $51.2 billion.

On an adjusted basis, the company earned $1.35 per share in the second quarter ending June, compared with estimates of $1.44, according to LSEG data.

Magna's quarterly revenue fell marginally to $10.96 billion. Analysts had expected revenue of about $11 billion. (Reporting by Nathan Gomes in Bengaluru; Editing by Shounak Dasgupta)