Any length of time out of date, months, years, but I wouldn’t eat them if they were rancid.
Potatoes and carrots keep indefinitely if stored well especially unwashed. Eyes or bruises can be shaved off. Carrots going bendy can be used for stock, soups and gravy.
Eggs, if they’re bad, you’ll know before you get to the eating stage.