We can put a single object next to the ruler to measure its length. In order to get the correct measurement of anything we you must place the end of the object at the zero mark.  In this picture the straw is set along the inches side, beginning at zero inches.