The Sock Ruler® is an ingenious tool to measure socks from the inside, allowing the sock to lie flat and ensure accurate measurements. It's constructed of a heavy duty, yet flexible plastic. Easy to use. And they're made in the USA!
The sock ruler fits inside of the sock for measuring:
Photo courtesy of The Sock Ruler