The Lo Shu magic square (洛书, luoshu) is one of the oldest mathematical objects in human history and one of the most important conceptual frameworks in Chinese civilisation. It is a 3x3 grid containing the numbers 1 through 9, arranged so that every row, column and diagonal sums to exactly 15. This elegant mathematical property was discovered in ancient China and became the foundation for feng shui spatial analysis, the I Ching trigram arrangement, Chinese cosmological thinking and the numerological systems that continue to influence Chinese culture today.
The Grid: Every Direction Sums to 15
The Lo Shu: rows, columns and diagonals all sum to 15. Five sits at the centre.
The arrangement is unique: there is only one way to place the numbers 1-9 in a 3x3 grid so that every row, column and diagonal produces the same sum (excluding rotations and reflections). The number 15 itself is significant: it equals the number of days in each of the 24 solar terms (节气, jieqi) that divide the Chinese agricultural calendar. The Lo Shu thus encodes a mathematical truth that Chinese thinkers connected to the rhythms of the natural world.
The Myth: The Turtle from the Luo River
According to Chinese legend, the Lo Shu was discovered on the shell of a divine turtle (神龟, shengui) that emerged from the Luo River (洛河, Luohe) during the reign of the legendary Emperor Yu (大禹, Dayu). Yu, celebrated as the hero who tamed the Great Flood, was working to control the rivers when the turtle appeared. On its shell were markings that formed the pattern of the magic square. Yu recognised these markings as a message from heaven and used them as the basis for organising his kingdom into nine provinces.
Chinese tradition describes two foundational number diagrams: the He Tu (河图, "River Map"), which emerged from the Yellow River on the back of a dragon-horse, and the Lo Shu (洛书, "Luo Writing"), which emerged from the Luo River on a turtle's shell. The He Tu is associated with the legendary Emperor Fu Xi and the creation of the I Ching trigrams. The Lo Shu is associated with Emperor Yu and the organisation of space. Together, these two diagrams form the mathematical foundation of Chinese cosmological thinking.
Five at the Centre
The number 5 occupies the exact centre of the Lo Shu, and this placement carries profound significance in Chinese culture. Five is the pivot around which all other numbers organise. It is the only number that touches all other positions (through rows, columns and diagonals). It is the midpoint of the sequence 1-9. And it corresponds to the centre direction in the Chinese five-direction system (north, south, east, west and centre).
This central position connects the Lo Shu to the Five Elements (五行, wuxing) system. Earth (土, tu) is the element of the centre. The colour yellow, associated with earth, was the imperial colour of China. China's name for itself, zhongguo (中国, "Middle Kingdom"), places the nation at the centre of the world. The Lo Shu's placement of 5 at the centre mathematically encodes the cultural principle that the centre is the most important position.
The Lo Shu and the Bagua
In feng shui and I Ching studies, the Lo Shu maps directly onto the bagua (八卦, bagua), the eight trigrams that represent the fundamental forces of nature. Each number in the Lo Shu corresponds to a trigram, a compass direction and a life area. This mapping is the basis for the feng shui energy map used to analyse homes, offices and landscapes.
South (9 - Li)
Fire element. Fame, reputation, visibility. The top of the Lo Shu. Associated with recognition and public image.
North (1 - Kan)
Water element. Career, life path, flow. The bottom of the Lo Shu. Associated with professional journey.
East (3 - Zhen)
Wood element. Family, health, ancestors. The left of the Lo Shu. Associated with family lineage and wellbeing.
When a feng shui practitioner "reads" a building, they overlay the Lo Shu grid onto the floor plan. The south sector (number 9) governs fame and reputation. The north sector (number 1) governs career. The southeast (number 4) governs wealth. Each sector's energy is characterised by its Lo Shu number, its associated element and its trigram qualities. The entire spatial analysis system rests on this 3x3 grid of numbers discovered, according to myth, on a turtle's shell.
Mathematical Properties
Beyond its cultural significance, the Lo Shu possesses mathematical properties that have fascinated scholars for millennia. The magic constant of 15 is the smallest possible magic constant for a 3x3 grid using consecutive integers starting from 1. The centre number (5) is always the average of all nine numbers. The sum of any two opposite numbers (numbers on opposite sides of the centre) always equals 10: for example, 4 + 6 = 10, 9 + 1 = 10, 2 + 8 = 10.
In the Lo Shu, odd numbers (yang: 1, 3, 5, 7, 9) occupy the centre and the four cardinal positions (north, south, east, west). Even numbers (yin: 2, 4, 6, 8) occupy the four corners. This arrangement places dynamic yang energy at the structural core and stable yin energy at the boundaries, a pattern that mirrors the Chinese understanding of how the universe is organised: active forces at the centre, receptive forces at the periphery.
The Lo Shu in Flying Star Feng Shui
The most advanced application of the Lo Shu in feng shui is the Flying Star system (玄空飞星, xuankong feixing). In this system, the nine numbers of the Lo Shu "fly" or rotate through the grid in a specific pattern over time. Each 20-year period shifts the arrangement, each year shifts it again, each month shifts it further and each day shifts it once more. The result is a constantly evolving energy map that feng shui practitioners use to determine which parts of a building have favourable or challenging energy at any given moment.
The current 20-year period (Period 9, running from 2024 to 2043) places the number 9 in the central position that 5 normally occupies in the base Lo Shu. During this period, fire element energy (associated with 9) dominates, and the south direction is considered especially powerful. Properties facing south and businesses associated with fire-element industries (technology, media, education) are believed to benefit from Period 9 energy.
The Lo Shu in Daily Life
While most Chinese people do not consciously think about the Lo Shu in their daily decisions, its influence is embedded in the cultural practices that surround them. The feng shui of their homes references the Lo Shu grid. The calendar systems they follow were historically structured around the magic constant of 15. The directional associations (south = fame, north = career, east = family) that inform how buildings are oriented all trace back to the Lo Shu arrangement.
The Lo Shu magic square demonstrates something remarkable about the relationship between mathematics and culture. A purely mathematical object, a grid of numbers with a specific summation property, became the organising framework for an entire civilisation's understanding of space, direction, time and energy. The Lo Shu did not just describe reality: it shaped how Chinese culture perceived and organised reality. And it began, according to legend, with a turtle climbing out of a river with numbers on its shell.