For finding spanners size for bolt basically two methods are used first one is multiply with 1.5 for a given bolt size and which value is obtained that is the spanner size for bolt.
And in second method firstly divided by 1/2 with given a bolt size and then added it with same size of bolt after which value is obtained is the spanner size for bolt.