The wrench size does not tell you. Nuts and bolts a specified by two numbers: the diameter, and a threads/inch count. Diameter may be expresed either as a simple integer number, or as a fraction of an inch. So you might see a size label like "8 x 24" or like "1/4 x 20". Metric diameters always are integer numbers (in mm) and their threads are per mm, not per inch, so they look like "10 x 2.0".
Take the old nut to the store. If it's still in decent shape, just try out bolts that look the right size, and see if they will thread into and though the nut smoothly. If it jams quickly, the bolt is wrong. If it is really stiff but still will thread right through, probably the right bolt but the nut is rusty or distorted out-of-round. Whatever fits, look at its label, something like 1/4 x 20 - and find that nut. Verify to be sure it fits the same bolt.
As futuristicmonkey said, don't forget to try metric ones.