There's lots of ways to measure the hole.
Nails, drill bit shanks, 'etc.
Then just buy some pins in the general diameter, some a little smaller and some a little larger.
They're cheap.
Unless you live somewhere weird, no doubt the hardware clerk has seen a gun or two.