五格剖象法 builds five numbers from a name's stroke counts, then reads each one as fortune data.
The process: (1) count the Kangxi strokes of every character in the surname and given name, (2) apply one of four grid formulas depending on the name's shape (single or compound surname, one or two given-name characters), (3) reduce each grid number's last digit to a Five Element (1-2 Wood, 3-4 Fire, 5-6 Earth, 7-8 Metal, 9-0 Water), (4) reduce the raw number into the 1-81 range for the 81數理 lookup.
The five grids are 天格 (Heaven, ancestry and early luck), 人格 (Human, your core personality, calculated from the last surname character plus the first given-name character), 地格 (Earth, childhood and foundation), 外格 (Outer, social relationships), and 總格 (Total, life-long overall fortune).
Our API runs all four grid-shape formulas automatically based on how many characters you submit, so a single-character surname like 王 and a compound surname like 歐陽 both resolve correctly without any extra configuration.
5 grids, 4 name-shape formulas, one automatic calculation