The composition of the electricity system in the United States in 2021 was as follows: 40 percent natural gas, 20 percent coal, 20 percent renewables, 20 percent nuclear, and 1 percent other (like petroleum). This indicates that if all automobiles in the United States were suddenly powered by electricity, no more than 20 percent of those automobiles would be fueled entirely by coal.
If you include nuclear energy in the category of renewables due to the fact that nuclear power plants do not release carbon dioxide into the atmosphere, 40 percent of the power grid is emission free. Despite this, less and less coal is being used. The United States continued to burn more than 1 billion short tons per year as recently as 2008. It had reached 501 million short tons by the year 2021.
You should also be aware that the proportion of energy derived from renewable sources is anticipated to increase. According to projections, in 2022, 20 percent of power will come from environmentally friendly sources. In 2023, that percentage is expected to rise to 24 percent, and it will continue to rise after that.