The Tatami Bug: Why "6 Jo" Is Four Different Areas in Japan

2026-12-01来源 dev.toEnglish

Disclosure: I maintain the public calculator linked in this post. The data model below is the one that tool uses, and you can reproduce every result without it.

A flooring quote says "six jo." Your app multiplies by 1.62 and returns 9.72 square metres. The installer measures the room and gets 10.94 square metres. The gap is not a rounding error — it is a missing dimension in the data model.

I built a public Japanese construction estimator and this was the single most common source of wrong output. Here is how the unit system actually behaves and the model that handles it.

Tatami is not a unit; it is four units

The Japanese floor mat has four regional standards:

const TATAMI_M2 = { kyoma: 1.8241, // Kyoto / Kansai chukyoma: 1.6562, // Nagoya edoma: 1.5488, // Tokyo / Kanto danchima: 1.4450, // housing complexes }; const LISTING_M2 = 1.62; // estate-agent convention, not a physical mat 

A single TATAMI = 1.62 constant silently misprices a six-mat room by up to 2.27 square metres. Model the standard as a property of the room, not a global constant:

const areaM2 = (jo, standard) => jo * TATAMI_M2[standard]; 

The exact tsubo ratio

Use the fraction, not the decimal shortcut:

const TSUBO_M2 = 400 / 121; // 3.305785..., exact rational const m2ToTsubo = (m2) => m2 / TSUBO_M2; 

The 3.3 approximation is off by 0.17 percent. At 100 tsubo that is 0.58 square metres — small on a bedroom, material on a land purchase. Round only at display time, never in the intermediate result. One tsubo is exactly two mats under every regional standard, which gives a useful sanity check: jo is about 2 * tsubo regardless of which mat size you pick.

The buyable-unit layer

This is where construction calculators differ from converters. An area in square metres is not something a customer can purchase. Material comes in fixed packages:

const BAG_KG = 20; const bagsNeeded = (massKg) => Math.ceil(massKg / BAG_KG); 

A 20 square metre garden at 5 cm uses about 1,895 kg of gravel. Math.ceil(1895 / 20) gives 95 bags. Round up, never to nearest — a short order means a second delivery.

Density must be a property of the material, not a constant. Loose and compacted gravel have different densities, and the field guide for this calculator is explicit: compact the crushed-stone base, do not compact the decorative gravel on top. Two densities, two calculations, one UI label that says which one is active.

The transport constraint

A Japanese kei truck has a legal payload of 350 kg. At 20 kg per bag that is 17 bags per trip. A 1,895 kg order is roughly 112 bag-equivalents, so about seven trips. If your app returns a bag count but no trip count, it has silently assumed delivery. Model payload as a user-editable constraint; legal load varies by vehicle and route.

Tests that catch the real bugs

  • Regenerate the four-standard table and assert Kyoma > Chukyoma > Edoma > Danchima, and that the six-mat spread is 2.27 square metres.
  • Assert that jo divided by two is approximately tsubo for any standard, confirming the two-mats-per-tsubo invariant.
  • Assert doubling thickness halves coverage — the same invariant a tonnage calculator must hold.
  • Assert bagsNeeded(1895) === 95 and bagsNeeded(1900) === 95, but bagsNeeded(1901) === 96.

The Japanese construction estimator applies this model: regional tatami size is an explicit input, densities are per material, and results are shown in buyable units. The material density reference publishes both loose and compacted values so the numbers can be checked independently.

Takeaway

Three rules prevented nearly every bad number: keep the regional standard in the data, keep density on the material, and round up only at the purchase boundary. The arithmetic is easy; the modeling is where the money leaks.

These are planning estimates, not engineering design. Drainage, subgrade and local specifications decide the real build.

原文:https://www.a8q9.cn/en/article/the-tatami-bug-why-6-jo-is-four-different-areas-in-japan-2f4b1d.html

相关文章