First of all, never pay attention to “Blue Book” prices, those don’t mean anything. Look into a NADA price guide such as at Edmunds. Note the wholesale/trade-in price.
Secondly, if you care about money at all, sell your car privately. Note how much more you can get retail than wholesale.
Thirdly, keep your old car until you start facing several thousands of dollars of repair costs.
Here’s how to do Car Math, an example.
I have a 1987 Mazda 323 with 212K on it. Paid around $7k for it new. Cash, no payments- ever.
I pay $6 a year tag tax vs. $400+ a year for a new car.
My insurance is extremely low. No collision, etc.
I put in a one or two hundred dollars a year “extra” for maintaining it since it’s an old car. It goes thru tires, brakes, etc. just like a new car. So, you don’t even have to have a calculator to see how little I have paid over the years, amortized, to run this car.
If someone gave me a new car, I would have to pay a lot more to keep it. Just having the warranty work alone would be a huge increase over what I am paying now.
The Car Guys recommend you drive a car more or less until its wheels fall off if you want to save money.
So it is very important to note: Any car cost calculator you use will tell you to keep your current car or it’s been rigged by a new car dealer.
Trading in a car just because it’s a few years old is only for people who don’t care so much about money and focus on things like “having the latest” and other money eaters.