What the d means
The d is the old English penny. A penny size names a length: up to 10d the length is the penny number ÷ 4 + 1/2 inch, so an 8d nail is 8 ÷ 4 + 1/2 = 2 1/2 inches. Above 10d the steps are uneven: 12d is 3 1/4, 16d 3 1/2, 20d 4 inches.