What this calculator does
An Archimedean spiral is the curve r = bθ in polar coordinates: the distance from the centre grows by the same amount, the spacing s = 2πb, with every full turn, like a rolled-up tape, a groove on a record or a coiled hose. The calculator measures the spiral between an inner diameter d (0 = from the centre) and an outer diameter D; the number of turns between them is n = (D − d)/(2s).
Derivation of the formulas
Spacing and spiral constant:
$$ s = 2\pi b,\quad n = \frac{D - d}{2s} $$
Arc length:
$$ L = F\!\left(\frac{D}{2b}\right) - F\!\left(\frac{d}{2b}\right),\quad F(\theta) = \frac{b}{2}\left(\theta\sqrt{1 + \theta^2} + \operatorname{arsinh}\theta\right) $$
Along r = bθ the arc element is √(r² + (dr/dθ)²) dθ = b√(θ² + 1) dθ. An antiderivative of √(θ² + 1) is ½(θ√(θ² + 1) + arsinh θ), so the length from the angle θ₁ = d/(2b) to θ₂ = D/(2b) is F(θ₂) − F(θ₁). Each turn adds 2π to θ and 2πb = s to the radius, which gives n = (D − d)/(2s). For many turns the result is close to the familiar estimate L ≈ πn(D + d)/2, the number of turns times the mean circumference; the exact formula also covers the first turns near the centre, where that estimate is too short.
Solving from what you know
Choose what you know: Outer diameter, inner diameter and spacing between turns; Inner diameter, number of turns and spacing between turns; Outer diameter, inner diameter and number of turns. The calculator first finds the sizes that define the curve and then computes every other value from the formulas above. Each length is accepted from 0.000001 to 1,000,000,000 (a size the curve allows to vanish may also be 0); anything outside is refused with a sentence that names the range. The number of turns is accepted from 0.000001 to 1,000,000 and may be a fraction of a turn.
Worked example
With the defaults D = 100, d = 20 and s = 4: n = 10 turns, b = 4/(2π) ≈ 0.636620, and L ≈ 1,885.467738, just above the estimate π·10·60 ≈ 1,884.955592.
Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable. They are shown with up to 6 decimal places; a value below 0.000001 or of 10¹⁵ and more is shown as its plain 12-digit number instead. The unit you pick is a label: lengths are shown in that unit and areas in its square.
Frequently asked questions
How do I find the length of a roll of tape or paper?
Enter the outer diameter of the roll, the diameter of the core and the thickness of the material as the spacing between turns: the spiral length is the length of the material.
Why is the result a little more than the mean-circumference estimate?
Each turn of the spiral is slightly longer than a circle of its mean radius because it also moves outwards; the exact integral includes that, and near the centre the difference is largest.
How accurate are the results?
Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.
References
J. Dennis Lawrence, A Catalog of Special Plane Curves, Dover Publications, 1972
D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulas, 33rd edition, CRC Press, 2018