You need more slack than you expect
In general, you need more slack than you expect. Unless you have a lot of practice, your estimations of how long things will take or how difficult they are will almost always be on the low end. Most of us treat best-case scenarios as if they are the most likely scenarios and will inevitably come to pass, but they rarely do.
– Farnam Street, Efficiency is the Enemy