HERE IS YOUR SOLUTION AND YOU WILL NEVER HAVE THAT ISSUE AGAIN.
I was facing that problem when I first started and wondered how to calculate for grain absorption, boil off, trub loss, etc..... You really don't have to do it yourself. BREWGR.COM makes brewing and creating recipes so simple. It will allow you to enter grain weights, desired mash temp, current grain temps, mash thickness, etc and it self calculates the amount of water you will need at all the right temps.
This is only one small tool this free site has to offer. Check it out you won't be disappointed. After you run a couple batches with this tool, you will start to understand the process better and be able to adjust your brew days with your experience.