# Can my pc calculate to depth 125 in 15 seconds, if a chess engine is programmed well?

I have a PC, an AMD RYZEN 7 2700 with minimal graphic card and 8 GB RAM. It has 8 cores and 16 threads.

If a chess engine is programmed well will it be able to calculate to a depth of 125 in 15 seconds? My question to the forum is is it scientifically possible? Please share your thoughts.

• Why 125? That's longer than most games!
– itub
Commented Dec 7, 2018 at 12:23
• @itub sorry for late response. Small life philosophical calculation that highest age of human life expectancy. It may be a joke but reason.
– Ram
Commented Dec 8, 2018 at 16:01

Sure it could, if you do a lot of pruning and consider only one or few branches. However it would likely not be a very strong engine, because it would miss lots of relevant sidelines/variations.

The "depth" you see in engines does not mean, that the engine calculates all variations to that depth. This would be practically impossible because of the huge number of variations: After just 1 white and 1 black move you already have 20*20=400 different games. With every move that you look ahead this number increases by a factor that is on average around 35.

Because of that, engines are (just like humans) only considering what they think are the relevant lines, by ignoring all other moves. This is called "pruning".

If you do this pruning very heavily you can end up with an engine that can look very deep. However it would look in a very narrow range, considering only one line or so.

It would miss lots of moves/lines and be very weak. Roughly speaking you could say that engines are doing a compromise between depth, width (number of variations) and allocated time in order to optimize for playing strength.

• Can you recommend depth ideal to my pc and moreover I expect a strong engine.
– Ram
Commented Dec 5, 2018 at 16:21
• @Ram: Chess engines depend on a lot more parameters than search depth only, so it is impossible to give a recommendation for the perfect depth. Basically what you are asking is like: How much horsepower should the engine of my car have in order to be the fastest on a formula 1 race track? Lots of other factors like weight of car/engine, fuel consumption, etc would play a role here and would not be independent of each other, e.g.: a stronger engine would likely be heavier, slowing down the car, etc. Commented Dec 5, 2018 at 17:02
• "However it would look in a very narrow range, considering only one line or so." Looking at just one line would be pointless. Commented Dec 5, 2018 at 17:23
• @Acccumulation: Sure it would be pointless. That was my point... Commented Dec 5, 2018 at 18:08

To complement the answer by user1583209, I would point towards the supercomputer Sesse. In normal positions, I've never seen it even come close to reaching a depth of 125. A more typical depth reached from what I've seen would be something like 40, i.e. very far off from 125. In the case of a home PC (even with Ryzen 2700), you likely won't even come close to 40 within the allocated 15 seconds. Therefore, assuming that your engine is actually half-decent and isn't instantly pruning almost every single variation, I'd say 25 is much more realistic than 125.