Dinglan ruler lookup
Check a length against the Dinglan ruler used for shrines and tombs: ten main divisions with forty sub-cells, supporting cm, mm, m, chi and cun, with an adjustable ruler length so the table can be verified.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Result
Luck is decided per division: 丁, 旺, 义, 义 and 兴 are auspicious — a folk convention, for fun only
Enter a length to look it up
What this tool does
- Convert a length into Dinglan ruler (the yin ruler) divisions and report the division, the sub-cell and the traditional auspicious/inauspicious label — the customary check for shrine, altar and grave-related measurements.
- Accepts centimetres, millimetres, metres, chi and cun, with chi/cun derived from the ruler length you set.
- The ruler length is adjustable (38.4 cm by default, 38–39 cm in practice), so you can re-check the same size against another school's ruler.
- Tick "Show the full 40-cell table" to print all ten divisions with their four sub-cells (0.025 chi each) and verify every entry.
Example
Input
100
Output
100 cm = 100 cm = 2.6042 尺(1 尺 = 38.4 cm) Landing point: division 3「旺」(wàng), sub-cell 3「进宝」· sub-cell 11/40 of the ruler Luck: auspicious — Usable: 此格为吉,传统上主添丁、进财、纳福。 Auspicious divisions on the ruler: 5 (1, 3, 5, 7, 8); inauspicious: 5 (2, 4, 6, 9, 10). Convention: luck is decided per division; schools differ slightly in ruler length (38–39 cm) and in how the division names are written — this tool uses the table above, which you can check yourself.
Real output for the input 100 (cm): 100 ÷ 38.4 = 2.6042 chi, which falls in division 3 「旺」 — auspicious.
Frequently asked questions
Is this a prediction? Can I rely on it?
No. Dinglan ruler luck labels belong to folk custom and date-picking tradition; the tool only performs the length → scale → traditional label conversion. It is not a prediction or advice — do not use it for construction, purchases or medical decisions. Treat it as cultural reference material.
What exactly are the ten divisions and forty sub-cells?
The table is written out in the source and can be checked: one chi is divided into 丁, 害, 旺, 苦, 义, 官, 义, 兴, 失 and 死, each split into four sub-cells (福星, 及第, 财旺, 登科 …), forty in total. Luck is decided per division — 丁, 旺, 义, 义 and 兴 are auspicious (5 divisions), the other 5 are not. Sub-cell names are just the four positions inside a division and share its luck rating. Different schools use slightly different names and ratings, so this table claims no monopoly on correctness.
Why does the same length change result when I change the ruler length?
The ruler length sets the scale: one division is 0.1 chi and one sub-cell is 0.025 chi. At the default 1 chi = 38.4 cm that is 3.84 cm per division and 0.96 cm per sub-cell; with 1 chi = 39 cm the same centimetres land in a different sub-cell or even a different division. Traditional rulers range from 38 to 39 cm, which is why the ruler length has to be stated.
What happens exactly on a boundary?
Intervals are half-open (start included, end excluded), so a boundary value falls into the following division: exactly 1 chi (38.4 cm) is the start of division 2 「害」, exactly 2 chi the start of division 3 「旺」. Beyond 10 chi the scale wraps around (3.84 m = 10 chi returns to division 1 「丁」).
Which units and ranges are supported?
cm, mm, m, chi and cun, with values from 0 to 1000000 in the chosen unit and a ruler length limited to 10–100 cm. Out-of-range input produces an explicit error rather than a wrong answer.
Is the size I type uploaded or stored?
No. The conversion runs entirely in the browser with no network requests and no storage writes.
Keywords:dinglan ruler