[Rough Rock 017] calculator line calculation