Machining tool calculator