Start at the top for an easy introduction. Go further down for more detail and scholarship.
- Easy
- Intermediate
- Advanced
For young readers
Zhang Heng lived in China almost two thousand years ago. He was the kind of person who was good at everything: he watched the stars, did maths, built machines, drew maps and wrote beautiful poems.
His most famous invention was a big bronze jar for noticing earthquakes. Around the outside were eight dragons, each holding a bronze ball in its mouth, and below each dragon sat a bronze toad with its mouth open. When the ground shook, even far away, one dragon dropped its ball into a toad's mouth with a clang. That showed which direction the earthquake came from.
Once a ball dropped even though nobody in the capital felt any shaking. People laughed at him. But a few days later a messenger arrived to say there had been an earthquake far away to the west, just where the dragon had pointed.
Zhang Heng also built a model of the sky with rings for the paths of the Sun and stars. He made it turn slowly by itself, powered by dripping water, so that it moved along with the real sky. He wrote that the Moon does not shine by itself but reflects the light of the Sun.
Today a crater on the Moon, an asteroid, a mineral and a Chinese earthquake-research satellite are named after him.
At a glance
- Lived
- 78–139 CE, Eastern Han dynasty
- Born
- Xi'e, Nanyang Commandery (near modern Nanyang, Henan)
- Worked
- Mainly in the capital Luoyang; briefly as chancellor of the Hejian kingdom (Hebei) near the end of his life
- Posts
- Chief Astronomer (Taishi ling) 115–120 and 126–132; Palace Attendant (Shizhong) from about 133
- Inventions
- Seismoscope (132); water-powered armillary sphere; improved inflow water clock with compensating tank
- Writings
- Spiritual Constitution of the Universe (Lingxian, c. 120); rhapsodies on the Western and Eastern Capitals; Rhapsody on Contemplating the Mystery; Returning to the Fields; Four Sorrows
- Main source
- His biography in the Book of the Later Han (5th century) and his surviving works
- Honours
- Lunar crater Chang Heng, asteroid 1802 Zhang Heng, mineral zhanghengite, satellite Zhangheng-1 (2018)
Easy
Who was Zhang Heng?
Zhang Heng was a scholar-official who served the Eastern Han dynasty, which ruled China from its capital at Luoyang between 25 and 220 CE. Today he is remembered above all as a scientist and inventor. In his own time and for centuries afterwards he was just as famous as a poet.
He is often called a polymath, a person with expert knowledge in many fields. He worked on astronomy, mathematics, calendars, mechanical engineering, geography and map-making, and he wrote long rhapsodies (fu) and short lyric poems that were collected in the most important anthology of early Chinese literature.
His best-known invention, presented to the court in 132 CE, was a seismoscope: an instrument that reacted to earthquakes and showed their direction. Historians generally regard it as the earliest known device of its kind in the world.
Zhang Heng lived at almost the same time as the great Greek astronomer Ptolemy in Roman Egypt. The two never knew of each other, but modern historians sometimes compare them as the leading astronomers of the two great empires at either end of Eurasia.
Easy
His life: from Nanyang to the imperial court
Zhang Heng was born in 78 CE in Xi'e, a town in Nanyang Commandery in what is now Henan Province. His family was respected but not rich; his grandfather had been a commandery governor who supported the restoration of the Han dynasty under Emperor Guangwu. His father died when he was about ten, and he was raised by his mother and grandmother.
In 95, aged about seventeen, he left home to study in the two great cities of Chang'an and Luoyang, where he attended the Imperial Academy (Taixue). He became friends with notable scholars such as the mathematician and calligrapher Cui Yuan, the classicist Ma Rong and the philosopher Wang Fu. He was offered official posts but at first turned them down.
Around 100 he returned to Nanyang as an Officer of Merit, writing official documents for the local governor. There he spent years composing his rhapsodies on the capitals, and around the age of thirty he began serious study of astronomy and mathematics.
In 112 Emperor An summoned him to Luoyang because of his reputation in mathematics. He served twice as Chief Astronomer (115–120 and 126–132), then rose to become Palace Attendant, a close adviser to Emperor Shun. After clashing with the powerful palace eunuchs, he left the capital in about 136 to serve as chancellor of the kingdom of Hejian in the north. He was recalled to Luoyang in 138 and died there in 139.
Easy
The earthquake detector
Earthquakes were a serious concern for the Han state. They destroyed towns, and they were also read as signs from Heaven that something was wrong with the government. Knowing quickly where an earthquake had struck helped the court send relief and respond to the omen.
In 132 Zhang Heng presented a device called the houfeng didong yi (候風地動儀), often translated as "instrument for measuring the seasonal winds and the movements of the earth". According to the Book of the Later Han, it was a large bronze vessel shaped like a wine jar, about two metres across, with a domed lid. Eight dragon heads faced outward around it, one for each main direction, each holding a bronze ball. Below each dragon crouched a bronze toad with its mouth open.
Inside was a central column (duzhu) connected to eight arms or tracks. When the ground shook, the mechanism caused one dragon's mouth to open and drop its ball into the toad below with a loud sound. The direction of that dragon indicated where the earthquake had come from.
The same history tells the famous story that one day a ball fell although no one in Luoyang felt anything. Officials doubted the machine until, several days later, a messenger arrived reporting an earthquake in Longxi, in modern Gansu, some hundreds of kilometres to the northwest. After that, the story says, the court recorded the direction of earthquakes using the instrument.
Intermediate
Astronomy: an egg-shaped universe and a Moon lit by the Sun
As Chief Astronomer, Zhang Heng was responsible for observing the sky, recording omens, preparing the calendar and advising which days were lucky or unlucky. In Han China astronomy was both a science and a part of government: the movements of the heavens were believed to reflect and respond to events on earth.
In his treatise Spiritual Constitution of the Universe (Lingxian, 靈憲), written around 120, he described the cosmos according to the huntian ("enveloping heaven") theory: the heavens are like a hen's egg, round as a crossbow pellet, and the earth sits inside like the yolk. This competed with the older gaitian theory, in which heaven was a canopy above a flat earth.
Zhang wrote that the Moon, like water, has no light of its own and shines only by reflecting the Sun, so that the part facing the Sun is bright and the other part is dark. He explained lunar eclipses as the Moon passing into a region where the Sun's light is blocked. He also compiled a star catalogue recording about 2,500 stars in 124 constellations, and noted that there were thousands of fainter ones.
He took part in court debates on the calendar. In 123 he opposed a proposal to reform the calendar according to prophetic "apocryphal" texts (chenwei), arguing that they were unreliable, and he even proposed that such texts be banned. The calendar was not changed, but his proposal to ban the texts was rejected, and his outspoken views made him enemies.
Intermediate
Machines: the water-powered sky and the improved water clock
An armillary sphere is a model of the sky made of rings, each representing a great circle such as the celestial equator or the path of the Sun (the ecliptic). Chinese astronomers had added an equatorial ring by 52 BCE and an ecliptic ring by 84 CE. Zhang Heng completed the instrument by adding horizon and meridian rings.
His most remarkable step was to make it move by itself. Using water flowing from a water clock and a waterwheel with gears, his sphere turned slowly so that it matched the rotation of the real sky. An observer indoors could call out which stars were rising or setting, and it would agree with those watching outside. Zhang is the first person known to have used water power to drive an astronomical instrument.
He also improved the inflow water clock (clepsydra). In a simple clock, water drips from a tank into a receiving vessel with a floating rod that marks the time. As the upper tank empties, the water pressure falls and the clock slows. In writings from around 117, Zhang described adding an extra compensating tank between the reservoir and the receiver to keep the flow steady.
These ideas had a long future. Later Chinese astronomers built ever more elaborate water-driven instruments, leading to Yi Xing's escapement mechanism in the 8th century and to Su Song's great astronomical clock tower in the 11th century, which explicitly named Zhang's armillary sphere as a model.
Intermediate
Mathematics, maps and other inventions
Zhang Heng worked on the value of pi, the ratio of a circle's circumference to its diameter. For a long time Chinese mathematicians had simply used 3. Working with the volumes of a cube and an inscribed sphere, Zhang arrived at the square root of 10, about 3.162. He also used a value of about 3.17 in astronomical calculations. Later mathematicians such as Liu Hui (3rd century) and Zu Chongzhi (5th century) reached far more accurate values.
He was also a map-maker. Sources record that he presented a topographical map to the court in 116. Some historians, including Rafe de Crespigny, credit him with introducing a rectangular grid for Chinese maps, an idea later described fully by the cartographer Pei Xiu in the 3rd century. The evidence is thin, however, and other scholars are more cautious.
Later texts also credit Zhang Heng with a south-pointing chariot, a two-wheeled cart whose gears kept a figure pointing south, and with an odometer cart that struck a drum after every li travelled. These attributions are uncertain. The south-pointing chariot was certainly built by Ma Jun in the 3rd century, and the odometer seems to have developed gradually among court craftsmen.
It is also likely that Zhang designed rather than personally cast his instruments. The historian Anthony Barbieri-Low argues that an official of his rank would have worked with skilled artisans and moulders in the imperial workshops, who deserve part of the credit.
Intermediate
Zhang Heng the poet
To his contemporaries, Zhang Heng was first of all a writer. His paired rhapsodies on the Western Capital (Xijing fu) and Eastern Capital (Dongjing fu), modelled on Ban Gu's earlier "Two Capitals" rhapsodies, describe Chang'an and Luoyang in rich detail: palaces, markets, hunting parks, festivals and entertainments. Unlike Ban Gu, Zhang used the splendour of the old capital as a warning: luxury and decadence had ruined the Western Han and could ruin the Eastern Han too.
His Rhapsody on the Southern Capital celebrated his home region of Nanyang. In the Rhapsody on Contemplating the Mystery (Sixuan fu), written when he was under attack at court, he imagines a spiritual journey through the cosmos, echoing the ancient poem Li Sao, and asks whether a good man should withdraw from a corrupt world or stay and remain upright.
Two shorter works were especially influential. Returning to the Fields (Guitian fu) is a brief rhapsody expressing the wish to leave office for a simple life in nature, a theme that became central to later Chinese poetry. The Four Sorrows (Sichou shi) are among the earliest Chinese poems with seven characters per line; on the surface love poems, they were read as laments about being kept apart from the ruler by petty men.
Several of his works were preserved in the Selections of Refined Literature (Wen xuan), compiled by the Liang prince Xiao Tong in the 6th century, which guaranteed that later generations would read them. The poet Tao Qian praised Zhang Heng for restraint and simplicity of language.
Intermediate
An honest official at a difficult court
Zhang Heng's official career shows the tensions of the Eastern Han court. Emperors often came to the throne young, and power shifted between the families of empresses, palace eunuchs and scholar-officials. Zhang belonged firmly to the scholar-official camp, and his principled positions cost him promotion.
Because of his views on the apocryphal texts and his opinion that the short-lived Gengshi Emperor deserved more credit in the history of the Han restoration, he was excluded from the committee writing the official history of the dynasty, and never achieved the prestigious post of court historian he seems to have wanted.
After an earthquake in 133 he submitted a memorial criticising new rules for recruiting officials. Soon afterwards he was made Palace Attendant, and he used his closeness to Emperor Shun to warn him against the eunuchs. The eunuchs slandered him, and he responded in literature, including the Response to Criticism (Yingjian), in which an imaginary visitor urges him to seek power and he replies that a gentleman values virtue above office.
Intermediate
Legacy and remembrance
Zhang Heng was honoured soon after his death. His friend Cui Yuan wrote the inscription for his funeral stele, praising calculations that "exhausted the heavens and the earth" and inventions that rivalled the work of the gods. In the 3rd century the official Xiahou Zhan wrote another inscription for his tomb, and the writer Fu Xuan complained that talents like Zhang Heng and the engineer Ma Jun had never been given posts in the Ministry of Works, where their skill could have benefited everyone.
His instruments had long afterlives. After the fall of the Western Jin, his old armillary instruments were recovered when Liu Yu, the future founder of the Liu Song dynasty, captured Chang'an in the 410s, and in 436 the astronomer Qian Lezhi was ordered to build a new water-powered celestial globe on Zhang's model. Craftsmen of the Northern Qi and Sui dynasties built new seismoscopes inspired by his.
Outside China, the seismologist John Milne, one of the founders of modern seismology in Japan in the 1870s and 1880s, wrote about Zhang Heng's instrument, and it became a standard example in histories of science. Today his name is carried by a lunar crater, the asteroid 1802 Zhang Heng, the mineral zhanghengite, and China's first seismo-electromagnetic satellite, Zhangheng-1, launched in 2018.
Advanced
Debate: how did the seismoscope work, and did it work?
The only detailed description of the seismoscope is a short passage in Zhang Heng's biography in the Book of the Later Han, compiled by Fan Ye more than three centuries after his death. The instrument itself was lost; by the time of the Yuan dynasty, the scholar Zhou Mi noted that none of the seismoscopes built by later imitators survived either.
The central problem is the "central column" (duzhu). Most reconstructions take it to be a pendulum, but of which kind? The seismologist John Milne and, in 1936, the Chinese scholar Wang Zhenduo proposed a hanging pendulum that would swing toward one of the eight tracks. In 1939 the Japanese seismologists Akitsune Imamura and Hagiwara instead proposed an inverted pendulum, a standing column that falls in the direction of the first shock, arguing that a swinging pendulum would knock out more than one ball. Wang Zhenduo's later model also used a standing column. In 2005 a team of Chinese seismologists announced that they had built a working replica.
Engineers such as Hong-sen Yan have noted that no modern replica has achieved the sensitivity described in the historical account, which implies the device could detect a distant earthquake that people nearby could not feel. The Longxi story has also been questioned: some writers link it to a large Gansu earthquake recorded in the 130s or 140s, but its date and details cannot be confirmed from independent records.
Most historians therefore accept that Zhang Heng built a real instrument that responded to ground motion and indicated a direction, while treating the claims about its sensitivity and accuracy with caution. It is best described as a seismoscope, which shows that shaking happened, rather than a seismometer or seismograph, which measures and records it.
Advanced
Debate: Zhang Heng and the nature of Han science
Zhang Heng is sometimes presented in popular works as a "Chinese Leonardo" or an ancient modern scientist. Historians caution against this. His astronomy was inseparable from omen interpretation: he read comets, eclipses and planetary movements as guidance for the conduct of government, and he accepted the traditional idea that natural disasters could be Heaven's response to misrule. His theory of earthquakes drew on ideas about qi and the "oracles of the winds", not on geology.
Comparisons with Ptolemy illustrate the point. The historians Jin Guantao, Fan Hongye and Liu Qingfeng have argued that Zhang's armillary sphere was physically very close to a geocentric model, but that he did not build a geometric, axiomatic theory like Ptolemy's; Chinese astronomy focused on arithmetic cycles and calendrical prediction rather than geometric models. Others reply that this reflects a different but highly effective tradition rather than a failure.
Joseph Needham's Science and Civilisation in China placed Zhang Heng at the start of a long Chinese tradition of mechanical clockwork, leading through Yi Xing to Su Song. Needham's framework, which asked why modern science arose in Europe rather than China, has itself been widely debated, but his volumes remain a basic reference for Zhang's instruments.
Finally, Zhang Heng's reputation has a history of its own. In the 20th century he became a national symbol of Chinese scientific achievement, pictured on postage stamps, featured in textbooks, and honoured with the name of an earthquake-monitoring satellite launched in 2018. Separating the historical Zhang Heng from these modern images, while recognising his genuine brilliance, is part of the historian's task.
Key ideas
- Seismoscope
- An instrument that shows that an earthquake has happened (and here its direction) without recording its waves over time.
- Huntian cosmology
- The "enveloping heaven" theory: the sky is a sphere around the earth like an eggshell around a yolk.
- Armillary sphere
- A model of the sky built from rings for the equator, ecliptic, horizon and meridian; Zhang drove his with water power.
- Compensating tank
- An extra tank in a water clock that keeps the water flow, and so the timekeeping, steady.
- Correlative cosmology
- The Han belief that heaven, earth and human government respond to each other, so that eclipses and earthquakes carry political meaning.
- Fu (rhapsody)
- A long, richly descriptive form of Han poetry mixing verse and prose, in which Zhang Heng was a master.
- Scholar-official
- An educated man serving in government, expected to combine learning, literature and moral integrity.
Records
- 78 CE — Zhang Heng is born in Xi'e, Nanyang Commandery.
- 95 CE — He leaves home to study in Chang'an and Luoyang.
- c. 100 CE — He becomes Officer of Merit in Nanyang and writes his rhapsodies on the capitals.
- 112 CE — Emperor An summons him to the court in Luoyang.
- 115 CE — He becomes Chief Astronomer for the first time (to 120).
- c. 117 CE — He describes his improved water clock and water-powered armillary sphere.
- c. 120 CE — He writes the Spiritual Constitution of the Universe (Lingxian).
- 123 CE — He opposes calendar reform based on apocryphal texts.
- 126 CE — He is reappointed Chief Astronomer under Emperor Shun (to 132).
- 132 CE — He presents his seismoscope to the court.
- c. 136 CE — He leaves the capital to serve as chancellor of Hejian.
- 139 CE — He dies in Luoyang after being recalled to the capital in 138.
Glossary
- Eastern Han
- The second half of the Han dynasty (25–220 CE), with its capital at Luoyang.
- Polymath
- A person with expert knowledge in many different subjects.
- Chief Astronomer (Taishi ling)
- The court official in charge of observing the sky, keeping the calendar and recording omens.
- Clepsydra
- A water clock, which measures time by the steady flow of water.
- Ecliptic
- The yearly path of the Sun across the sky, seen from the earth.
- Pi (π)
- The ratio of a circle's circumference to its diameter, about 3.14159.
- Apocrypha (chenwei)
- Han-dynasty prophetic and mystical texts attached to the classics.
- Eunuchs
- Palace servants who often gained great political power at the Han court.
- Wen xuan
- The 6th-century anthology of Chinese literature that preserved several of Zhang Heng's works.
Questions and answers
Did Zhang Heng invent the first earthquake detector?
Yes, as far as we know. His seismoscope of 132 CE is the earliest such instrument recorded anywhere.
Could it predict earthquakes?
No. It could only react after an earthquake happened and show roughly which direction it came from.
Does the original machine still exist?
No. It was lost long ago. The models in museums today are modern reconstructions based on a short written description.
Did he think the earth was round?
He described the heavens as a sphere around the earth, like an egg around its yolk. Whether he thought the earth itself was a sphere is debated; the image of the yolk suggests roundness, but Han texts also speak of the earth as flat.
Why was a scientist also a poet?
In Han China educated officials were expected to master literature, the classics and practical knowledge. Zhang Heng was unusual in how well he did all of them.
How reliable is the story of the Longxi earthquake?
It comes from a history written three centuries later and cannot be checked against other records, so historians treat it as a traditional account rather than a proven test.
What is named after him today?
A lunar crater, the asteroid 1802 Zhang Heng, the mineral zhanghengite and the Chinese satellite Zhangheng-1.
Sources and further reading
- Zhang Heng. Wikipedia
- Seismometer. Wikipedia
- Armillary sphere. Wikipedia
- Book of the Later Han. Wikipedia
- Joseph Needham, Science and Civilisation in China, Vol. 3: Mathematics and the Sciences of the Heavens and the Earth. Cambridge University Press, 1959
- Rafe de Crespigny, A Biographical Dictionary of Later Han to the Three Kingdoms (23–220 AD). Brill, 2007
Related
- Cai LunAn Eastern Han court official traditionally credited with presenting an improved method of making paper in 105 CE.
- Sima QianA Han dynasty historian who compiled the Records of the Grand Historian, a broad history of the ancient Chinese world.
- Antikythera mechanismHand-cranked Greek bronze gear device of the second or early first century BCE that modelled the Sun, Moon and probably the planets, predicted eclipses and tracked calendars — the oldest known analogue computer.
- AryabhataAn Indian mathematician-astronomer whose Āryabhaṭīya gave π ≈ 3.1416, a sine table and the idea that the Earth rotates daily.
- Al-KhwarizmiNinth-century mathematician, astronomer and geographer of Abbasid Baghdad whose books gave the world the words “algebra” and “algorithm.”
Written with AI assistance from the published sources listed above, and revised as new research appears.