Blog · · 7 min read
Lead screw, belt or rack and pinion? How to choose the linear motion for your machine
Most machines turn a motor's rotation into a straight line. Compare lead screws, ball screws, timing belts and rack and pinion by force, speed, accuracy and length, and pick the right drive for your prototype.
Motors turn. Most machines, however, need something to move in a straight line: a print head across a bed, a gate that opens, a lift that raises a tray, a slider that pushes parts off a conveyor. Somewhere between the motor and the moving part sits the drive that turns rotation into linear motion, and that choice shapes the machine more than it first appears. It decides how fast the axis can go, how much force it can push, how precise it is, whether it holds its position when the power fails and how long the travel can be.
This article compares the four drives you meet most often in prototypes and small machines, and ends with a short way to choose.
Start with four numbers
Before comparing drives, write down:
- Travel: how far the part has to move, from a few centimetres to several metres.
- Force: what the axis has to push or lift, including friction and, for vertical axes, the weight of the load.
- Speed: how fast it has to move, and how quickly it has to accelerate.
- Precision: how exactly it has to stop, and whether it has to hold that position under load.
These four numbers rule out most options quickly. They also feed the motor sizing that comes next, described in our article on how to size a motor.
Lead screw: strong, simple, slow
A lead screw is a threaded rod with a nut riding on it. When the motor turns the screw, the nut moves along it. The "lead" is how far the nut travels per turn: a screw with an 8 mm lead moves the nut 8 mm per revolution, a 2 mm lead only 2 mm.
That small step per turn is the strength of the lead screw. It acts as a strong gear reduction, so a small motor can push a large force, and a stepper motor with 200 steps per turn on a 2 mm lead moves the nut by 0.01 mm per step. Lead screws with a small lead are also often self-locking: the load cannot turn the screw backwards, so a vertical axis does not drop when the motor is switched off. Self-locking depends on the lead, the materials and lubrication, and vibration can still make a load creep, so an axis that could hurt someone if it fell still needs a brake.
The price is friction. A plain lead screw with a plastic or bronze nut typically turns only 30 to 70 percent of the motor's energy into motion, and the self-locking types sit at the low end; the rest becomes heat and wear. The same small step makes it slow, and long, thin screws start to whip and vibrate above a certain speed, which limits practical travel to around a metre for most prototype sizes. The nut also has some play, called backlash, which shows up as a small error every time the direction reverses. Spring-loaded anti-backlash nuts reduce it.
Good for: vertical axes, clamps, lifts and any axis that needs force and precision more than speed.
Ball screw: the precise version
A ball screw replaces the sliding thread with recirculating steel balls, like a bearing wound into a spiral. Friction drops sharply, so typically around 90 percent of the energy reaches the load. Ball screws can be preloaded to remove backlash almost completely, which is why they sit in machine tools and precise positioning stages.
There are three costs. Ball screws are considerably more expensive than plain lead screws. They need clean conditions, so they are usually covered. And because they run so easily, they are not self-locking: on a vertical axis, the load can drive the screw backwards and fall, so the axis needs a brake or a motor that holds actively.
Good for: precise axes under load, machines that run for many hours, and axes where a plain screw would get too hot.
Timing belt: fast and long
A toothed belt runs between two pulleys, and the moving part is clamped to the belt. One turn of a 20-tooth pulley on a belt with 2 mm tooth pitch moves the part 40 mm, five times as far as an 8 mm lead screw. Belts are light, quiet, cheap and can span long distances, which is why many 3D printers, plotters and camera sliders use them.
The weak points are stiffness and force. A belt stretches a little under load, so a heavy part that accelerates hard will overshoot slightly or ring. Long belts stretch more than short ones, and the belt has to be tensioned correctly and checked from time to time. A belt also offers no holding force: on a vertical axis it needs a brake or a counterweight. Wider belts and steel-reinforced versions help with stiffness, but a belt rarely pushes the forces a screw can.
Good for: fast, light axes over medium to long travel, such as print heads, pick-and-place gantries, sliders and doors.
Rack and pinion: for long travel
A gear (the pinion) on the motor shaft runs along a straight toothed bar (the rack). Racks can be joined end to end, so the travel is limited only by the length of the machine. Rack drives are stiff and can carry high forces, which is why they move large gantries and sliding gates.
The challenges are backlash between the gear teeth and the need to mount the rack precisely straight and parallel to the guide. On a prototype, a rack that is slightly out of line makes the axis bind at one end and rattle at the other. Like a belt, a rack is not self-locking.
Good for: long axes that need force and stiffness, such as large gantries, gates and conveyors with a moving carriage.
The comparison in short
| Travel | Force | Speed | Precision | Holds when off | |
|---|---|---|---|---|---|
| Lead screw | short to medium | high | low | good, with some backlash | often yes |
| Ball screw | short to medium | high | medium | very good | no |
| Timing belt | medium to long | low to medium | high | good, belt stretches | no |
| Rack and pinion | unlimited | high | medium to high | good, with backlash | no |
Do not forget the guide
The drive pushes the part, but it should not carry it. A lead screw or belt that also has to hold the carriage up will bend, wear and lose precision. Every axis needs its own guide: round rods with bushings, profile rails with carriages, or wheels running on an aluminium profile. The drive then only pushes in the direction of travel.
Mount the screw or belt close to the line of the guide and the load. A drive that pushes far from the guide tilts the carriage and makes it jam. If the screw and guide are not perfectly parallel, a flexible coupling at the motor and a floating mount at the far end let the screw find its own line instead of fighting the guide.
Check the end of the travel
Every axis needs to know where it is. Steppers and simple DC motors do not know their position after power-up, so the machine moves to a limit switch first and counts from there. Place end switches or hard stops at both ends, so a software error does not drive the carriage into the frame. If you are still choosing between motor types for the axis, our comparison of stepper, DC and servo motors helps with that step.
A short way to choose
- Vertical axis, or one that must hold its position when the power fails: lead screw.
- Precise axis under load, many hours a day: ball screw, with a brake if it is vertical.
- Fast, light axis up to a metre or two: timing belt.
- Long axis with high force: rack and pinion.
- Unsure: write down travel, force, speed and precision. The drive that meets all four with the simplest parts is usually right for a first prototype, as described in what your first build has to prove.
How we handle it
On our platform, linear axes are chosen in the concept and mechanics steps. The requirements give travel, load, speed and precision; the mechanics step then picks the drive and the guide, sizes the motor, places the end switches and checks that screw, belt or rack fits the frame without binding. The electronics step adds the matching motor driver and limit-switch inputs. For a step-by-step view of a whole machine project, read how to make a machine.
Watch hardware get built by AI. Follow public projects on makemachine.ai, read every result in full and get an email when there is something new.
More from the blog
- Aluminium extrusion, welded steel or 3D printed? How to choose the frame for your prototype machine
- Can a satellite run a large AI model? The power and heat budget of a data center in orbit
- DC motor vs. stepper vs. servo: which one moves your prototype?
Open-hardware projects built with AI
- Data Center Satellite: I want to put a data center into orbit: a satellite that runs a large language model on board, with inference of a frontier-size model as…
- Automatic Archive Page Turner: Automatic Archive Page Turner: an open design study on makemachine. The idea came from a conversation on X, where someone wished this…
- Tile Steam-Cleaning Robot: Tile Steam-Cleaning Robot: an open design study on makemachine. The idea came from a conversation on X, where someone wished this device…
- Chute-Size Trash Compactor: Chute-Size Trash Compactor: an open design study on makemachine. The idea came from a conversation on X, where someone wished this device…
- DIY Automatic Plant Watering System: An open-hardware watering system for indoor plants: a small pump, a refillable tank and a soil moisture sensor in each pot keep up to six…
- DIY BBQ Temperature Controller: A temperature controller for charcoal grills and smokers that makers can build themselves. A pit probe, two meat probes and a small fan on…
- ZählerSchau: ZählerSchau is a small, battery-powered unit that clips onto an electricity meter in Germany (water meters via a clamp adapter), takes a…
- Roadstoy: Roadstoy is a remote-controlled toy version of the new Tesla Roadster that can briefly jump and flip using compressed air. It drives on an…
- The forever Washing machine: The forever washing machine is a washing machine offered as a service instead of a product. Customers do not buy the machine but pay for…
- Bike Light: I want to build a bike light that needs no battery. Magnets sit in the spokes close to the hub, and a coil on the fork picks up their…
- Rooficle: I want to develop a light, efficient and affordable e-bike that can be used legally on public roads in Singapore. Its core is an…
- BBQ Modular Grill: I want to design a modular grill. Instead of one sealed block, it is made of separate parts that can each be bought on their own online…