Skip to content
ihateDesmos

Spirals: Archimedean, logarithmic and Fermat

A spiral winds around a centre as it moves away from it. How quickly it moves away gives each spiral its character: the Archimedean spiral keeps an even spacing, the logarithmic spiral grows by the same factor each turn, and Fermat’s spiral packs more tightly as it goes.

−10−5510−550
Open in calculator
The Archimedean spiral r = θ/2: successive turns are always π apart.

Equations to type

Archimedean spiral
r = theta/2
Open
Logarithmic spiral
r = e^(0.15theta)
Open
Fermat’s spiral (both arms)
r = sqrt(theta) r = -sqrt(theta)
Open

At a glance

Archimedean
r = aθ, constant spacing 2πa
Logarithmic
r = ae^(bθ), constant angle with every ray
Fermat
r² = a²θ, equal areas between turns

The Archimedean spiral

r = aθ moves outward at a constant rate as it turns, so the gap between neighbouring turns is always 2πa. It is the shape of a rolled carpet, the groove on a vinyl record and a coiled rope. Archimedes used it around 225 BC to trisect angles and square the circle, problems impossible with ruler and compass alone.

The logarithmic spiral

r = ae^(bθ) grows by the same factor, e^(2πb), on every turn, so it looks the same at every scale. It also crosses every ray from the centre at the same angle. Jakob Bernoulli was so taken with it that he asked for it on his tombstone with the words “Eadem mutata resurgo” (changed, I rise again the same). Nautilus shells, the arms of spiral galaxies and the flight path of a moth circling a light all approximate it.

−2020−20200
Open in calculator
r = e^(0.15θ) grows by e^(0.3π) ≈ 2.57 each turn.

Fermat’s spiral and sunflowers

Fermat’s spiral r² = a²θ has two arms, r = ±a√θ. The area between successive turns is constant. Placing seeds along it at successive multiples of the golden angle, about 137.5°, reproduces the packing of seeds in a sunflower head, a model proposed by H. Vogel in 1979.

Frequently asked questions

What is the equation of a spiral?
The simplest is the Archimedean spiral r = aθ in polar coordinates. Others include the logarithmic spiral r = ae^(bθ) and Fermat’s spiral r² = a²θ.
What is the difference between Archimedean and logarithmic spirals?
In an Archimedean spiral the turns are evenly spaced. In a logarithmic spiral each turn is larger than the last by the same factor.
How do I graph a spiral?
Type r = theta/2 or r = e^(0.15theta). Change the θ range in the row’s settings to draw more or fewer turns.

More curves

Make it your own

Every equation on this page opens in the calculator, where you can add sliders and watch the curve change.

Open the calculator