The present invention provides a sewing machine that can actuary detect a physical amount of a movement of a fabric without depending on an estimated value. Thus, thread tension can be precisely adjusted. A sewing machine 1 includes a spherical body 22a exposed partly from a needle plate 2. The spherical body 22a is rotated following a feed of a fabric 100. The rotation of the spherical body 22a is detected by rotary encoders 22c, 22d. A physical amount of the movement of the fabric 100 is calculated based on a detection result of the rotary encoders 22c, 22d. The physical amount of the movement of the fabric 100 is, for example, a moving amount and a moving speed.