Counting rods (traditional Chinese: 筹;simplified Chinese: 筹;pinyin: chóu;Japanese: 算木;rōmaji: sangi) are small bars, typically 3–14cm long, that were used by mathematicians for calculation in ancient China, Japan, Korea, and Vietnam. They are placed either horizontally or vertically to represent any integer or rational number.