So for the avoidance of doubt, do you mean:
20-off , 5/16" Whitworth thread, 1.25" long bolts (machine screws?)
If so what type of head? If countersunk, the length is measured between the top of the head and the far end of the thread, if anything not countersunk, measure from the underside...