Science Lab · Physics & History

Trebuchet Workshop

Build the great stone-thrower of the Middle Ages and aim it at a tower down the field. Change the counterweight, the arms, the sling and the moment it lets go, then watch where the energy goes. Every swing comes from the real equations of motion, and every flight feels the air.

More settings

The beam is 8 m long and its axle is 4.6 m up. The arm ratio moves the axle along the beam.

Last shot

Missions

    Keyboard: click the picture, then Space fires, ↑ ↓ change the release angle (or the launch angle), ← → change the counterweight (or the launch speed), P pauses, R resets and V shows the whole field.

    What you're seeing

    A trebuchet is a seesaw built for throwing. A long wooden beam turns on an axle. The short arm carries a heavy box of stones, the counterweight. The long arm ends in a sling: two ropes and a leather pouch holding the stone. One rope is tied to the arm, and the other ends in a loop that sits over an iron prong at the tip.

    When the trigger lets go, the counterweight falls and the long arm whips up. First the stone slides along a trough under the frame. Then it lifts off and swings around the end of the arm, faster and faster. When the sling reaches the release angle, the loop slips off the prong, the pouch opens, and the stone flies free.

    The bar in the bottom corner shows where the counterweight's energy goes during the swing: into the stone's motion (gold), the beam's spin (blue), the counterweight's own motion (green), lifting the stone and beam (pink), or still waiting in the raised counterweight (gray). At the moment of release, the gold part is the machine's efficiency.

    The Range finder scene leaves the machine out. It throws a stone from the ground at any speed and angle you choose, so you can study the flight on its own.

    The science

    1. Energy in, energy out

    Winching the counterweight up stores gravitational potential energy. When it falls a height h, it gives up

    E = M g h

    where M is its mass in kilograms and g = 9.80665 m/s². In the standard machine, a 1,500 kg counterweight can drop 2.60 m, which stores 1,500 × 9.81 × 2.60 ≈ 38,200 joules. The stone leaves with kinetic energy

    K = ½ m v²,   and the efficiency is   η = ½ m v² ÷ M g h

    The standard machine throws its 15 kg granite ball (22 cm across) at 51.6 m/s, about 186 km/h. That's ½ × 15 × 51.6² ≈ 20,000 J, or 52% of the stored energy. The rest is still in the swinging beam, in the moving counterweight, and in the height the stone and beam have gained. No machine can give the stone more energy than the counterweight loses.

    2. A lever that trades force for speed

    The two arms turn together, so the tip of the long arm moves as many times faster than the short arm as it is longer. With an arm ratio of 4, the long arm's tip is four times as fast as the hinge where the counterweight hangs. The sling then acts like an extra length of arm that can bend: it trails behind at first, then swings around and overtakes the tip, adding its own speed. That whip is why a trebuchet throws far with a fairly short beam.

    3. Why a hinge helps

    A fixed counterweight is bolted to the arm, so it has to travel around a circle. At the bottom it is still moving sideways fast, carrying energy that never reaches the stone. A hinged counterweight hangs from a pin, so it can fall more nearly straight down and come closer to stopping at the bottom. Around 1280, the writer Giles of Rome claimed that hinged counterweights threw farther. In this model the hinge wins clearly when the counterweight is about 80 or more times as heavy as the stone, as in the standard machine (1,500 kg against 15 kg). With a much lighter counterweight, a fixed one can do as well or better. Try it!

    4. The flight

    Without air, a stone thrown from the ground at speed v and angle θ lands at a distance

    R = v² sin 2θ ÷ g

    which is largest at 45°, where sin 2θ = 1. At 50 m/s that's 50² ÷ 9.81 ≈ 255 m. Angles that add up to 90°, like 30° and 60°, land at the same spot. Air pushes back on the stone with a drag force

    F = ½ ρ Cd A v²

    with air density ρ = 1.2 kg/m³, drag coefficient Cd ≈ 0.47 for a ball, and A the ball's cross-section. For the 15 kg ball at 50 m/s, F ≈ 27 N, about a fifth of its weight (147 N). Drag grows with the square of speed and steals the most on long, high flights, so with air the best angle is a little lower than 45°. Light stones feel it most: a 1 kg stone launched at 90 m/s goes 826 m without air, but only 422 m with it, and its best angle drops to about 40°.

    A handy estimate puts it all together. If the stone gets a share η of the energy, then v² = 2η(M/m)gh, and a 45° throw in a vacuum goes about

    R ≈ 2 η (M ÷ m) h   = 2 × 0.52 × 100 × 2.6 m ≈ 270 m for the standard machine

    So range grows with the mass ratio, the drop height and the efficiency. The simulation, with no air, gets 272 m.

    A short history

    The first trebuchets had no counterweight. In a traction trebuchet, a team of people hauled on ropes tied to the short arm. These machines were used in China by the 4th century BC and are described in the writings of the Mohists. They spread west, and by the 6th and 7th centuries AD the Byzantines, Persians and Arabs used them too.

    The counterweight trebuchet appeared around the Mediterranean, in both Christian and Muslim lands, in the 12th century AD. The earliest known description and drawing of one is by Mardi ibn Ali al-Tarsusi, from around 1187. Both fixed and hinged counterweights were built. Counterweight trebuchets reached China with the Mongol armies, during the long siege of Xiangyang and Fancheng (1268–1273).

    Don't mix trebuchets up with torsion catapults such as the Greek and Roman ballista and the onager. Those are different machines: they store energy in twisted bundles of rope or sinew, not in a raised weight.

    For 25 sieges from history, from Troy to Rome, play Siege.

    Try this

    Doubling. Fire with a 1,000 kg counterweight, then 2,000 kg (release angle 45°, drag on). The stored energy doubles, but the range goes from about 129 m to 318 m. A heavier counterweight also throws at a better angle and wastes a smaller share of its energy.
    Draw the hill. Keep everything the same and change only the release angle, 5° at a time. Your shots appear on the chart in the panel. Let go too early and the stone flies steeply up, or even backward; too late and it flies low and short. Find the top of the hill.
    Twin angles. In the Range finder, turn drag off and launch at 40 m/s at 30°, then at 60°. Both land 141 m away. Turn drag on and try again with a 1 kg stone: now the 30° shot wins, 121 m to 115 m.
    Hinge or no hinge? Fire the standard machine with and without the hinge: 235 m against 210 m. Then try a 600 kg counterweight with each. Which wins now, and why?
    Lighten the beam. Open "More settings" and drop the beam's mass from 150 kg to 60 kg. Less energy goes into spinning the beam, so the efficiency jumps from 52% to about 69%.
    At home, with a soft ball. In a garden or a big empty room, toss a rolled-up pair of socks gently, always with the same effort, at a low, a medium and a high angle. Mark where each lands. Which angle goes farthest? A light, fluffy ball feels a lot of air drag, so the answer may surprise you.

    A common mistake

    "The best angle is always 45°." Only in a vacuum, and only when the stone lands at the same height it started from. Air drag slows a stone most when it flies high and long, so with air the best angle is lower: about 44° for a 15 kg ball at 50 m/s, and about 40° for a 1 kg stone at 90 m/s. A stone that starts high above the ground, like one leaving a trebuchet's sling 14 m up, also does best a little below 45°. The Range finder shows both curves side by side.

    How the simulation works

    The model. The machine is described by three angles: the beam's, the counterweight hanger's and the sling's. From the kinetic energy T and the potential energy V of the beam, counterweight and stone, Lagrange's equations, d/dt (∂L/∂q̇) − ∂L/∂q = 0 with L = T − V, give the angular accelerations, solved as a small matrix system. While the stone slides in the trough, it is held on the floor by a constraint whose force is found with a Lagrange multiplier. When that force would have to pull down, the stone lifts off. The sling lets go when its angle to the arm drops to the release angle (0° means the sling points straight out along the arm). Then the stone flies under gravity and, if you choose, quadratic air drag.

    The numbers. The beam is 8 m long, a uniform rod of 150 kg, on an axle 4.6 m up; the cocked arm's tip rests 0.6 m above the ground. The hanger is 1.2 m long. Stones are granite balls (2,700 kg/m³), so a 15 kg stone is 22 cm across. Air is 1.2 kg/m³, Cd = 0.47, g = 9.80665 m/s². The swing is integrated with the classical Runge–Kutta method in steps of 0.5 ms, and the flight in steps of 2 ms. Range is measured from the axle to where the stone touches the ground.

    What's left out, and why. There is no friction in the axle, hinge or trough before release, the ropes don't stretch, and the frame doesn't move. The masses are points and the beam has the same thickness all along (it is drawn tapered). Cd is held fixed, although NASA notes that a sphere's drag coefficient ranges from about 0.07 to 0.5 with speed and size, and real stones are lumpy. There is no wind and no spin. After release, the beam's swing is slowed by extra friction so it settles; that doesn't change the shot. These choices keep the physics clear, so treat the ranges as good estimates, not predictions for a real machine.

    How it was checked. The equations of motion agree with a finite-difference Lagrangian built only from positions, to within 4 × 10⁻⁵ at 80 random states. Before release, the total energy stays constant to within 1 part in a billion of the stored energy, in five very different machines. Vacuum flights match v² sin 2θ ÷ g, the flight time and the peak height to within 2 × 10⁻⁷, and the best vacuum angle comes out at 45.0°. A 15 kg ball dropped from 3 km lands at 116.5 m/s, close to its terminal speed √(g/k) = 117.3 m/s. Cutting the time steps to a fifth changes the range by less than a millimeter.

    Best range for a 15 kg stone with drag on, each at its own best release angle (model results)
    CounterweightMass ratioHingedFixed
    600 kg4061 m (efficiency 27%)76 m (34%)
    900 kg60131 m (42%)136 m (44%)
    1,200 kg80194 m (50%)181 m (47%)
    1,500 kg100249 m (53%)217 m (46%)
    2,000 kg133325 m (55%)261 m (43%)

    Sources

    • NIST, standard acceleration of gravity, g = 9.80665 m/s².
    • NASA Glenn Research Center, Shape effects on drag and Drag of a sphere: the drag equation, and a sphere's Cd from 0.07 to 0.5.
    • NASA Glenn Research Center, Earth atmosphere model: sea-level air density (1.225 kg/m³ at 15 °C; about 1.2 kg/m³ at 20 °C).
    • OpenStax, College Physics, 11.2 Density: granite, 2.7 × 10³ kg/m³.
    • OpenStax, University Physics Volume 1, 4.3 Projectile Motion: the range equation.
    • J. R. Taylor, Classical Mechanics, University Science Books (2005), chapter 7: Lagrange's equations and constraints.
    • M. Denny, "Siege engine dynamics", European Journal of Physics 26, 561–577 (2005): the physics of trebuchets, fixed and hinged.
    • P. E. Chevedden, L. Eigenbrod, V. Foley and W. Soedel, "The Trebuchet", Scientific American 273, 66 (July 1995).
    • Wikipedia, Trebuchet: traction and counterweight trebuchets, al-Tarsusi, Giles of Rome, Xiangyang.
    @teddyrookbook GitHub