String line calculator