The shape of most raw silk’s cross-section can be regarded as ellipse approximately. Axial length of the raw silk’s cross-section was detected and recorded dynamically by photoelectric sensor combined with the software of LabVIEW. Two photoelectric sensors were located orthogonally to measure axial lengths of the ellipse. The major and minor values can be considered as the major and minor axis values of the raw silk’s elliptical cross-section respectively. Thereby, the flatness and the area of raw silk’s cross-section can be calculated according to the values of major and minor axes. In addition, the raw silk’s evenness was characterized based on the variation of the cross-sectional area.