Search topics and sections

The Steinhaus longimeter, patented by the Polish mathematician Hugo Steinhaus, is a transparent sheet printed with straight lines, used to measure the length of a curve such as a river or road on a map.[1][2] You lay the sheet over the curve and count how many times the curve crosses the lines. In the common version, the count is about the length of the curve in millimeters.[3]

The method works because of the Crofton formula, a result of integral geometry that ties the length of a curve to the number of straight lines that cross it. This makes the longimeter both a tool of Cartography and a practical use of Mathematics.

Design

The longimeter has three square grids printed on top of each other, each turned 30° from the next.[3] Each square grid is made of two sets of parallel lines at right angles. Together the sheet has lines in six directions, 30° apart.[1]

The lines in each set are evenly spaced, and that spacing sets the scale. Versions that read directly in millimeters space their lines about 3.82 mm apart.[3] The section on choosing the spacing explains where this number comes from.

Layout of the Steinhaus longimeterd ≈ 3.82 mmGrid 1 (0°)Grid 2 (30°)Grid 3 (60°)count crossings ≈ length in mm6 directions,30° apart
The Steinhaus longimeter stacks three copies of one square grid with line spacing d≈3.82d \approx 3.82 mm, turned by 0°, 30° and 60°, so its lines run in six directions 30° apart. Counting where a curve crosses the lines gives roughly the curve's length in millimetres.

People have printed several versions of the sheet:

  • A single transparency where the number of crossings is the length in millimeters. The same maker offers a tenth-inch version, where the count divided by 10 gives inches.[4]
  • Three separate grids. The user counts the squares the curve passes through on each grid and divides the total by 7.64 to get inches.[2]
  • A sheet whose grid is tilted 30° to its edges. The user counts the squares a feature passes through for six different turns of the sheet.[5]

How to use it

To measure a curve with the 3.82 mm version:

  1. Lay the sheet over the map so the whole curve lies under the lines.
  2. Count every point where the curve crosses a line, whatever the line's direction.
  3. Read the count as the length of the curve on the map, in millimeters.[3]
  4. Convert to length on the ground with the map scale. On a map at 1:1,000,000, each millimeter on the map stands for 1 km.

Why counting crossings works

One set of lines

Take parallel lines a distance dd apart and a straight segment of length ℓ\ell at angle θ\theta to them. The segment crosses about

N≈ℓ ∣sin⁡θ∣dN \approx \frac{\ell\,|\sin\theta|}{d}

lines, give or take one at its ends.[1] Here ℓ ∣sin⁡θ∣\ell\,|\sin\theta| is how far the segment reaches across the lines.

A segment crossing parallel lines θ ℓ d ℓ sin θ crossings ≈ ℓ sin θ / d 0 crossings when parallel
A segment of length ℓ=5d\ell = 5d at angle θ=40∘\theta = 40^\circ to parallel lines spaced dd apart crosses about ℓsin⁡θ/d≈3\ell \sin\theta / d \approx 3 lines. The same segment lying parallel to the lines crosses none.

This count depends on direction. A segment that runs along the lines does not cross any of them.[6]

Six directions

The longimeter fixes this by adding lines in more directions. With six sets at angles 0∘,30∘,…,150∘0^\circ, 30^\circ, \dots, 150^\circ, the total count for the segment is

N≈ℓd∑k=05∣sin⁡(θ+k⋅30∘)∣N \approx \frac{\ell}{d}\sum_{k=0}^{5}\left|\sin\left(\theta + k \cdot 30^\circ\right)\right|

where kk numbers the six directions.

For nn evenly spread directions, the sum averages 2n/π2n/\pi over all angles, which is 12/π≈3.8212/\pi \approx 3.82 for n=6n = 6.[1] Because the sum changes only slightly with θ\theta, the count is close to 12ℓ/(πd)12\ell/(\pi d) for a segment pointing in any direction.

A curve is a chain of many short, nearly straight pieces, and each piece follows this rule. Adding the pieces gives the estimate

L≈πd12 NL \approx \frac{\pi d}{12}\,N

where LL is the length of the curve, NN is the total number of crossings, and dd is the line spacing. With nn directions in general, the estimate is L≈πdN/(2n)L \approx \pi d N / (2n).[7]

Choosing the spacing

The spacing is chosen so that one crossing counts as one millimeter. This needs πd/12=1\pi d / 12 = 1 mm, so d=12/πd = 12/\pi mm. Since 12/3.1416≈3.8212 / 3.1416 \approx 3.82, the lines sit about 3.82 mm apart, which matches the spacing of the millimeter versions.[3]

Describe each straight line by its direction θ\theta and its signed distance pp, so the line is xcos⁡θ+ysin⁡θ=px\cos\theta + y\sin\theta = p. The signed distance is the distance from a fixed point to the line, with a plus or minus sign showing which side of the point the line lies on.

For a curve CC of finite length (a rectifiable curve), let n(θ,p)n(\theta, p) be the number of points where that line meets CC.

The double integral below adds up these crossing numbers over all line directions and all line positions. By the Crofton formula,[7]

L=12∫0π∫−∞∞n(θ,p) dp dθ.L = \frac{1}{2}\int_0^{\pi}\int_{-\infty}^{\infty} n(\theta, p)\,dp\,d\theta.
Line parameters in the Crofton formulaOxyθpx cos θ + y sin θ = pCn(θ, p) = 3
A straight line is described by the angle θ\theta of its perpendicular from the origin and the signed distance pp along that perpendicular, so it has the equation xcos⁡θ+ysin⁡θ=px\cos\theta + y\sin\theta = p. This line crosses the curve CC at three points, so n(θ,p)=3n(\theta, p) = 3.

Steinhaus explained the proof of this formula and noted that this total over all lines can be replaced by a count over lines in six directions, 30° apart, with all their evenly spaced copies.[1] The longimeter keeps these six directions, with lines spaced dd apart in each. The count of crossings then stands in for the double integral.

Accuracy

Direction of straight pieces

The six-direction sum is smallest, 2+3≈3.7322 + \sqrt{3} \approx 3.732, when a segment runs along one of the six line directions. It is largest, about 3.864, when the segment lies halfway between two of them. Steinhaus gave the error for a straight segment as between −2.26%-2.26\% and +1.15%+1.15\%;[1] the sums above give about −2.3%-2.3\% and +1.15%+1.15\%.

More directions give a steadier count. The table compares a straight segment's count, as a fraction of the average count, for three line patterns. The values follow from the sums above.

Line pattern Directions Lowest count Highest count
One set of parallel lines 1 0 about 1.571
One square grid 2 about 0.785 about 1.111
Longimeter (three grids) 6 about 0.977 about 1.012

For one square grid, the count is proportional to ∣sin⁡θ∣+∣cos⁡θ∣|\sin\theta| + |\cos\theta|, which follows from the one-set formula with two directions at right angles. It rises from 1 at 0° to about 1.41 at 45° and falls back to 1 at 90°.

Crossing count versus segment direction 0.8 0.9 1.0 1.1 0° 15° 30° 45° 60° 75° 90° Angle of segment Count ÷ average count Longimeter (6 directions) One square grid (2 directions) 1.111 1.012 0.785 0.977
Crossing count of a straight segment divided by its average over all directions, plotted against the segment's angle. A single square grid ranges from 0.785 to 1.111, while the six-direction longimeter stays between 0.977 and 1.012.

Curves that turn through many directions are usually measured better than a straight segment, because the direction errors partly cancel.[6] There are exceptions for symmetric figures, which look unchanged after a flip or turn. Taguchi, Kishimoto, and Iri found that such figures, for example two equal perpendicular segments, can have large errors when their symmetry clashes with the number of directions.[7]

In calculations by the same authors, a straight segment was the worst case.[7] With six directions and the sheet laid at a random angle, the standard deviation of its error (the typical size of the error) was about 1%.[7]

Counting at the ends

For a straight segment, the count in each direction also has a small error that comes from the segment's two endpoints and does not grow with its length.[1] This error matters more for a short segment, which crosses few lines.

One maker of printable grids reports results good to about 5% for a typical curve with a total count of 50 squares or more.[2]

Closer lines or more directions make the estimate more accurate, at the cost of more counting.[7]

Taguchi and colleagues also set out counting rules to reduce human mistakes.[7]

Compared with tracing tools

The usual way to measure a line on a map is to trace it with a Curvimeter.[7] Taguchi and colleagues compared the two methods; their result held for some complex figures likely to appear in practice, not for all figures.[7]

Method How it works On complex figures Time
Curvimeter A small wheel is run along the line, and its turns give the distance.[8] Results often vary widely, partly because some parts get traced twice and others are missed.[7] Slower than crossing counts for some complex figures.[7]
Crossing count Lines are laid over the figure and the crossings are counted.[7] More accurate than the curvimeter for some complex figures.[7] Faster than the curvimeter for some complex figures.[7]

History

Steinhaus published the idea in several papers.

  • 1930: "Zur Praxis der Rektifikation und zum Längenbegriff" (On the practice of rectification and the notion of length), in the reports of the Saxon Academy of Sciences in Leipzig, volume 82, pages 120 to 130.[9] He called it an "optical" method, unlike mechanical tracing, and gave measuring a thread-like object under a microscope as one use.[1]
  • 1931: "Longimetr. Kalka do mierzenia długości linji krzywych" (Longimeter: a tracing sheet for measuring the length of curved lines), in Czasopismo Geograficzne, no. 3, pages 211 to 215.[10] It showed how to use the instrument by measuring the route along the Vistula from Warsaw to Gdańsk.[10]
  • 1932: a longer article on measuring curved lines, with the mathematical basis, appeared in a Polish cartographic journal.[1][10]
  • 1933: Steinhaus registered the instrument in Germany as utility model DRGM 1241513.[3] A utility model is a patent-like legal right for an invention.
  • 1947 and 1949: further papers in Polish journals.[5]

Steinhaus also explained the longimeter in his popular book Mathematical Snapshots.[2][5]

In a 1954 paper, "Length, shape and area", Steinhaus wrote that the left bank of the Vistula, "when measured with increased precision", would give lengths "ten, hundred or even thousand times as great" as the length read off a school map.[11] Benoit Mandelbrot quoted this in his 1967 paper "How Long Is the Coast of Britain?".[11]

The way a coastline's measured length depends on the length of the ruler is called the coastline paradox. A coastline is an example of a Fractal.[12]

The longimeter belongs to a family of methods that measure length by counting crossings.

  • Buffon's needle problem asks how likely a needle dropped on ruled paper is to cross a line. Its extension to bent needles, called Buffon's noodle, shows that a curve of length aa dropped at random on lines spaced dd apart crosses them 2a/(πd)2a/(\pi d) times on average, whatever its shape.[13][14]
  • In Stereology, the measurement of shapes from flat sections and images, counting where a curve crosses a square grid is called the Buffon-Steinhaus estimator.[9] An estimator is a method or formula used to estimate a quantity. With line spacing TT and II crossings, the length estimate is πTI/4\pi T I / 4.[9] It is unbiased (right on average) when the grid is placed at a uniformly random position and angle relative to the curve, meaning every position and angle is equally likely. It has been used to measure flattened DNA molecules in images.[9]
  • In pathology, the study of disease and its effects on the body, a square grid has been turned 30° and 60° and the three counts averaged. This greatly reduces the effect of the curve's direction, the same idea as the longimeter's three grids.[15]
  • A 2026 paper studies how to place lines of total length LL inside a bounded convex region, where the straight line between any two points stays inside the region. The goal is for every straight line to cross the placed lines in proportion to its length inside the region. A modified arrangement of lines based on the longimeter keeps the largest error below a constant times L1/3L^{1/3}.[1]

References

  1. Buffon Discrepancy and the Steinhaus Longimeter, arXiv, 2026.
  2. The Longimeter, Brian Borchers, New Mexico Tech.
  3. How long is the Mississippi: the 1933 Longimeter, Data Deluge, 2012.
  4. Steinhaus Longimeter, P. Christopher Staecker, Fairfield University.
  5. Longimeter, Eric W. Weisstein, Wolfram MathWorld.
  6. Messy measuring, Double Helix, CSIRO, 2022.
  7. Theoretical and Experimental Analysis of a Method for Measuring the Length of a Complex Linear Figure by Means of Crofton's Formula, A. Taguchi, K. Kishimoto, M. Iri, Transactions of the Society of Instrument and Control Engineers, 1981.
  8. Map measurers, Three Points of the Compass.
  9. On the Precision of Curve Length Estimation in the Plane, A. I. Gomez, M. Cruz, L. M. Cruz-Orive, Image Analysis and Stereology, 2016.
  10. Longimetr. Kalka do mierzenia długości linji krzywych, Katalog HINT.
  11. How Long Is the Coast of Britain? Statistical Self-Similarity and Fractional Dimension, B. Mandelbrot, Science, 1967.
  12. Coastline Paradox, Eric W. Weisstein, Wolfram MathWorld.
  13. Buffon's Noodle Problem, J. F. Ramaley, American Mathematical Monthly, 1969.
  14. An Introduction to Fourier Series and Their Applications, University of Chicago REU, 2022.
  15. Length measurement by means of a grid, R. L. McIntyre, J. Piris, Journal of Clinical Pathology, 1981.

Figure