I follow the 20% rule.Always need extra lumber around. We have several wet days expected, rained half of today but was quite warm. I really want this barn ready to occupy before the first week of March is over, even though the big attached pen will not be done.
If I budget for something I a figure in 20% more Time, cost, materials. I buy 20% more and then return the surplus (or stock pile for later).