The most I’ve seen is about 3 years or ~45k miles. And a lot depends on the grid.M'kay. But some reports show the EV's don't save the environment more than gas cars until you get to 70K miles. And then the inevitable battery replacements...
Interesting article: Are electric vehicles definitely better for the climate than gas-powered cars?
And “inevitable” seems a bit premature since batteries appear to be doing better but time will tell. Old batteries can be recycled so those materials shouldn’t need to be mined again. Yes, that will also add to emissions for this process.