What this calculator does
A logarithmic (equiangular) spiral is the curve r = a·e^(bθ) in polar coordinates: each turn multiplies the distance from the centre by the same factor e^(2πb). Its radius meets its tangent everywhere at the same angle ψ, with cot ψ = b. The calculator measures the part of the spiral between the inner radius r₁ and the outer radius r₂; with r₁ = 0 the arc starts at the centre, which the spiral approaches in infinitely many ever smaller turns.
Derivation of the formulas
Arc length:
$$ L = \frac{\sqrt{1 + b^2} }{b}\,(r_2 - r_1) $$
Angle between radius and tangent:
$$ \cot\psi = b $$
Area swept by the radius:
$$ A = \frac{r_2^2 - r_1^2}{4b} $$
Along r = a e^(bθ) we have dr/dθ = b r, so the arc element is √(r² + (dr/dθ)²) dθ = r√(1 + b²) dθ = (√(1 + b²)/b) dr. The length between two radii is therefore proportional to their difference: L = (√(1 + b²)/b)(r₂ − r₁), finite even from the centre (r₁ = 0), although the spiral turns round it infinitely often. The angle ψ between the radius and the tangent satisfies tan ψ = r/(dr/dθ) = 1/b, the same at every point. The area swept by the radius is ½∫r² dθ = ½∫(r²/(b r)) dr = (r₂² − r₁²)/(4b); when the arc makes more than one turn, the parts swept more than once are counted each time.
Solving from what you know
Choose what you know: Inner radius r₁, outer radius r₂ and growth rate b; Inner radius r₁, outer radius r₂ and angle ψ between radius and tangent. 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 growth rate b is accepted from 0.000001 to 1,000 and the angle ψ from 0.06° to 89.99999°.
Worked example
With the defaults r₁ = 1, r₂ = 10 and b = 0.2: L = (√1.04/0.2)·9 ≈ 45.891176, ψ ≈ 78.690068°, and the radius sweeps (100 − 1)/0.8 = 123.75.
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
What is the growth rate b?
b sets how fast the spiral opens: every full turn multiplies the radius by e^(2πb). For b = 0.2 that is about 3.51 per turn; a nautilus-like spiral has b near 0.18. The angle ψ between radius and tangent is the same information: b = cot ψ.
Can the length from the centre be finite?
Yes. Although the spiral winds round the centre infinitely often, its turns shrink so fast that their lengths add up to √(1 + b²)/b times the outer radius.
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