How much longer does a war last than originally planned?

It is often the case that wars do last longer than originally planned for a multitude of reasons.

However, if it were possible to provide a specific and fixed answer to your question, then the length of a war would never be underestimated in the first place.