Bolt calculator