The vernier caliper is used to measure the length to gain an additional digit of accuracy compared to a simple ruler.