1. What this tool does, and who it is for

一、这个工具做什么,适合谁用

Four inputs, one answer. You supply the mother's lunar birth year, the lunar year of conception, the lunar month of conception, and — only if conception fell in a leap month — which half of that leap month. The page returns a single boy or girl verdict, prints the lunar age it calculated, prints the month it used after any leap-month adjustment, and shows the whole chart row so you can see the cell it read. If the calculated age falls outside 18–45, it says so instead of guessing.

四个输入,一个答案。你需要填写妈妈的农历出生年、受孕的农历年、受孕的农历月,以及仅在闰月受孕时才需要选择的"前半月还是后半月"。页面给出唯一的男孩或女孩结论,打印出它算出的虚岁、经过闰月调整后实际使用的月份,并把整行表格显示出来,让你看到它读的是哪一格。若算出的虚岁超出 18–45 岁,页面会直接说明,而不是硬猜一个结果。

The typical visitor is a family that has heard about the chart from a relative and wants to see what it says for their dates — usually in the second trimester, often at a family gathering, and very often with a grandmother insisting on the "proper" way to count the age. A second group is people interested in how folk tables are constructed: the chart is a good case study in how a grid of letters can look authoritative while containing no information. A third group is writers and teachers who need the rules stated plainly, which section 2 does.

典型的访客,是从长辈那里听说清宫表、想拿自己的日期试一试的家庭——多发生在孕中期,常在家庭聚会上,而且往往有位奶奶坚持"该这么算虚岁"。第二类人是对民俗表格如何被构造出来感兴趣的读者:这张表是很好的案例,说明一张字母网格如何显得权威,却并不包含信息。第三类是写作者和老师,他们需要把规则讲清楚——这正是第二节要做的。

2. The rules and the arithmetic

二、规则与算术

Three rules drive everything. First, lunar age: this page computes it as conception year minus birth year plus one, which is the usual shortcut for 虚岁. Second, month: the lunar month of conception, numbered 1 to 12, with 正月 as 1 and 腊月 as 12. Third, the leap-month rule: if conception fell in a leap month and you select the second half, the page adds one to the month, capped at 12, so a leap month's second half is counted as the following month.

全部逻辑由三条规则驱动。第一,虚岁:本页用"受孕年 − 出生年 + 1"计算,这是虚岁常见的简化算法。第二,月份:受孕的农历月,从正月 1 到腊月 12。第三,闰月规则:若受孕落在闰月且你选择"后半月",页面把月份加一(上限 12),也就是把闰月后半算作下一个月。

The lookup itself is a 28-row, 12-column grid: rows run from age 18 to age 45, columns from month 1 to month 12. Row index = age − 18, column index = month − 1, and the cell contains either B or G. A worked lookup for age 35, month 4: row index 17, column index 3, and that row reads B, G, B, G, B, G, B, G, B, G, G, B — so the cell is G, a girl. The same row with the month shifted to 5 by the leap rule returns B, a boy.

查表本身是一张 28 行、12 列的网格:行从 18 岁到 45 岁,列从 1 月到 12 月。行号 = 虚岁 − 18,列号 = 月份 − 1,格子里是 B 或 G。以虚岁 35、农历四月为例:行号 17、列号 3,该行为 B、G、B、G、B、G、B、G、B、G、G、B,所以格子是 G,女孩。同一行若因闰月规则把月份推到 5,返回 B,男孩。

Lunar ageRow (months 1–12)Girl cells
18G B G B B B B B B B B B2 of 12
25G B G G B G B B B B B B4 of 12
30B G G G G G G G G G B B9 of 12
35B G B G B G B G B G G B6 of 12
45G B G B G G B G G B G B7 of 12
虚岁该行(农历 1–12 月)女孩格数
18G B G B B B B B B B B B12 格中 2 格
25G B G G B G B B B B B B12 格中 4 格
30B G G G G G G G G G B B12 格中 9 格
35B G B G B G B G B G G B12 格中 6 格
45G B G B G G B G G B G B12 格中 7 格

Here is a fact you can verify yourself, and it is the most useful one on this page: across all 336 cells, 184 are marked G and 152 are marked B. That is 54.8% girl and 45.2% boy. A table that genuinely encoded a biological rule would not need to be this lopsided — the imbalance is evidence of how the grid was assembled, not of how babies are made. It also means the chart is slightly more likely to answer "girl" whatever dates you enter, which is easy to confirm by trying a few rows.

这里有一个你可以自己核实的事实,也是本页最有用的一条:全部 336 个格子里,184 格标 G、152 格标 B,即 54.8% 为女、45.2% 为男。一张真的编码了生物学规律的表格不会这么失衡——这种偏斜说明的是网格是怎么被拼出来的,而不是孩子是怎么来的。它同时意味着:无论你填什么日期,这张表都略微更可能回答"女孩",随便试几行就能确认。

3. Worked examples you can check by hand

三、可以手工复算的算例

Example one: mother born in lunar year 1992, conception in lunar year 2026, lunar month 4, no leap month. Lunar age = 2026 − 1992 + 1 = 35. Row index = 35 − 18 = 17. Column index = 4 − 1 = 3. Row 17 is B, G, B, G, B, G, B, G, B, G, G, B, so cell 3 (counting from zero) is G: girl. Example two, the same mother and year but month 11: column index 10, cell 10 is G, also a girl. Example three, month 6: column index 5, which is G as well.

算例一:妈妈农历 1992 年出生,受孕于农历 2026 年,农历四月,非闰月。虚岁 = 2026 − 1992 + 1 = 35。行号 = 35 − 18 = 17,列号 = 4 − 1 = 3。第 17 行为 B、G、B、G、B、G、B、G、B、G、G、B,从零数第 3 格是 G:女孩。算例二:同一位妈妈、同一年,但农历十一月——列号 10,该格是 G,同样是女孩。算例三:农历六月——列号 5,仍是 G。

Example four shows the leap-month rule doing real work. Take the same mother, month 4, but conception fell in a leap month and you select the second half. The page adds one to the month, so 4 becomes 5, column index 4, and row 17 at column 4 is B: the verdict flips to boy. Select the first half and it stays at month 4, back to girl. Example five shows the range check: a mother born in lunar 1981 with conception in 2026 gives 46 虚岁, which is above 45, so the page returns an out-of-range message and no verdict.

算例四展示闰月规则的实际作用。仍是这位妈妈、农历四月,但受孕落在闰月且选择"后半月"。页面把月份加一,4 变成 5,列号 4,第 17 行第 4 格是 B:结论翻成男孩。若选"前半月",月份保持 4,又变回女孩。算例五展示范围检查:农历 1981 年出生、2026 年受孕的妈妈,虚岁 46,超出 45 的上限,页面返回超范围提示,不给结论。

CaseBirth yearConceptionMonth used虚岁Result
119922026, month 4435Girl
219922026, month 111135Girl
319922026, month 6635Girl
4a19922026, leap month 4, first half435Girl
4b19922026, leap month 4, second half535Boy
519812026, month 3346Out of range
算例出生年受孕时间实际用月虚岁结果
119922026 年,农历四月435女孩
219922026 年,农历十一月1135女孩
319922026 年,农历六月635女孩
4a19922026 年,闰四月前半月435女孩
4b19922026 年,闰四月后半月535男孩
519812026 年,农历三月346超出范围

Notice what the examples actually demonstrate. Two dates a few months apart give the same answer, one leap-month choice flips the verdict, and one year of age removes the answer entirely. That is the behaviour of a lookup grid, not of a biological process. If the chart were reading something real about the pregnancy, a single month shift would not be able to change the answer while everything else stayed identical.

注意这些算例真正展示了什么。相隔几个月的两个日期给出同一个答案;一个闰月选项就能把结论翻转;一岁之差则干脆没有答案。这是查表网格的行为,不是生物过程的行为。如果这张表真的在读妊娠中的某些真实信息,那么在其他条件完全不变的情况下,仅仅挪动一个月不该能改变结论。

4. How to read the result screen

四、结果页面怎么读

The headline is a single word with an emoji, followed by a line confirming the lunar age used. Below that, three rows repeat the inputs the engine actually consumed: the 虚岁, the month after leap adjustment, and the chart cell's letter. Read those three rows before you read the headline — if the 虚岁 or the month is not what you expected, the verdict is answering a different question than the one you asked.

最上方是一个词加一个表情符号,下面一行确认所用的虚岁。再往下三行重复引擎真正用到的输入:虚岁、闰月调整后的月份、以及表格格子的字母。请先读这三行,再读结论——如果虚岁或月份和你预期的不一致,那这个结论回答的就不是你提的问题。

Five misreadings are common. First, entering 周岁 instead of 虚岁, which shifts the row by one and often flips the letter. Second, entering the Gregorian month instead of the lunar month, which matters most around the new year and in leap-month years. Third, ignoring the leap-month selector, which is exactly the case where the chart's answer is most fragile. Fourth, treating the verdict as a probability: the page prints a word, not a percentage, and there is no percentage to print. Fifth, assuming an out-of-range message is a bug — it is the chart's own 18–45 limit doing its job.

五种误读最常见。第一,填周岁而不是虚岁,整行会错位一格,字母常常因此翻转。第二,填公历月份而不是农历月份,在年关前后与闰月年份影响最大。第三,忽略闰月选择器,而这恰恰是这张表答案最脆弱的场景。第四,把结论当成概率:页面打印的是一个词,不是百分比,也没有百分比可打印。第五,把"超出范围"当成程序错误——那正是表格自带的 18–45 岁限制在起作用。

One more detail worth knowing: the 虚岁 shortcut used here is conception year minus birth year plus one. Strictly, 虚岁 counts the year of birth as one and adds a year at each lunar new year, so a mother born late in a lunar year and conceiving early in a later lunar year can be one year "older" by the traditional count than this formula reports. Near the new year, compute both and see whether the verdict even changes — usually it does, which tells you how much weight the grid deserves.

还有一个细节值得知道:本页用的虚岁捷径是"受孕年 − 出生年 + 1"。严格来说,虚岁把出生那年算作一岁,并每逢农历新年加一岁,所以在农历年末出生、又在稍后的农历年初受孕的妈妈,按传统算法可能比这个公式报出的结果"大一岁"。在年关附近,两种算法都算一遍,看看结论是否改变——通常会变,这也正好告诉你这张网格值多少分量。

5. Accuracy, evidence and the biology

五、准确性、证据与生物学

A folk chart, with no peer-reviewed support. We are not aware of any controlled study showing that the 清宫表 predicts fetal sex better than chance, and several public evaluations of the chart against recorded births have reported accuracy at roughly the level of guessing. We deliberately do not print a "90% accurate" figure, because no such figure exists in the literature we can verify, and quoting one would be dishonest.

民间表格,没有同行评议证据支持。我们没有发现任何对照研究显示清宫表能比随机更好地预测胎儿性别;若干公开的检验把这张表与实际出生记录比对,报告的准确率大致就在猜测水平。我们刻意不写"准确率 90%"这类数字,因为在可核实的文献里没有这样的数字,引用它就是撒谎。

How sex is actually determined. An egg carries an X chromosome; a sperm carries either X or Y. If an X-bearing sperm fertilises the egg the baby is XX, and if a Y-bearing sperm does, the baby is XY. That happens at fertilisation — roughly two weeks after the last menstrual period — and nothing about the lunar month of conception, the mother's age or the season changes which sperm wins. Births worldwide are close to even, with a small excess of boys.

性别究竟怎么决定。卵子携带 X 染色体,精子携带 X 或 Y。若带 X 的精子受精,宝宝是 XX;若带 Y 的精子受精,宝宝是 XY。这发生在受精那一刻——大致是末次月经后两周——受孕的农历月份、妈妈年龄或季节,都不会改变哪一颗精子胜出。全世界的出生性别比接近均衡,男孩略多一点点。

Where the chart came from. The name refers to the Qing palace, and the table is commonly described as a few hundred years old and preserved among palace records, but no primary archival evidence is publicly documented, and the versions circulating online disagree with one another cell by cell. A document that cannot be traced, in copies that do not match, is not a database.

这张表的来历。"清宫"指清代宫廷,通常的说法是这张表有数百年历史、保存在宫廷档案中,但并没有公开可查的原始档案证据,而且网上流传的各个版本逐格对不上。一份无法追溯的文件,配上彼此不符的副本,算不上数据库。

Real fetal sex determination is a medical matter. Ultrasound can usually show fetal sex from roughly the middle of pregnancy, and cell-free DNA screening can report it from about ten weeks — but that test exists to assess chromosomes, not to satisfy curiosity. In several countries, including China and India, disclosure of fetal sex for non-medical reasons is restricted by law because of sex-selective abortion. Never use a folk chart to plan a pregnancy around a preferred sex.

真正的胎儿性别鉴定是医学问题。超声通常从孕中期左右可以看出胎儿性别,无创产前 DNA 筛查大约从十周起就能报告——但这项检查的目的是评估染色体,而不是满足好奇心。在中国、印度等若干国家,出于选择性别的堕胎问题,法律限制非医学需要的胎儿性别告知。绝不要用一张民俗表格来围绕"想要的性别"规划怀孕。

6. How to use it without misleading yourself

六、怎样用才不误导自己

First, get the lunar conversion right before you judge the chart. Use the official conversion tables rather than a rough mental shift: the lunar new year moves between 21 January and 20 February, and leap months insert an extra month roughly every two to three years, so a Gregorian date in early February can belong to either of two lunar months. Write the lunar date down; it is the single input most likely to be wrong.

第一,在评判这张表之前,先把农历换算做对。请使用官方换算表,而不是脑子里粗略平移:农历新年在 1 月 21 日到 2 月 20 日之间浮动,闰月大约每两三年插入一次,所以二月初的公历日期可能落在两个不同的农历月里。把农历日期写下来——这是最可能出错的那一个输入。

Second, estimate the conception date properly if you do not know it. A common approximation is to count back about 266 days (38 weeks) from the due date, or to add about two weeks to the first day of the last menstrual period. Ovulation timing varies between cycles, so treat the resulting lunar month as tentative when the estimated date sits near a month boundary. Our old wives' tales quiz is the other folklore route to the same question, and the lunar gender guide explains the calendar rules behind both.

第二,如果不知道受孕日期,就老老实实地估算。常见的近似是从预产期倒推约 266 天(38 周),或在末次月经第一天加约两周。排卵时间在不同周期之间会波动,所以当估算出的日期靠近月份边界时,把算出的农历月当作暂定值。我们的民间说法测验是用另一条民俗路径回答同一个问题,农历性别指南则解释了两者背后的历法规则。

Third, decide in advance what the answer is for. If it is for a baby book, a family joke or a way to include a grandparent in the pregnancy, the chart works fine and the wording on this page gives you a truthful way to frame it: "the old chart says girl". If the answer is going to influence a purchase, an announcement or how you talk about the baby before birth, skip it — the honest position is that the chart carries no information about this pregnancy at all.

第三,事先想清楚这个答案要用来干什么。如果是为了成长册、家庭玩笑,或者让长辈参与到孕期里,这张表完全够用,而本页的措辞也给了你一个诚实的表述方式:"老表上说是女孩"。如果这个答案会影响购物、报喜,或者影响你在出生前谈论宝宝的方式,那就跳过它——最诚实的立场是:这张表对这次妊娠不携带任何信息。