Depends on how much you use the electric range to cook on.
But you should get at least 10 years out of an electric range. And you can replace the cook top heating elements for around $20.00 a piece and the oven heating elements for around $50.00 if you know how to replace them.