Servo torque and horn-force calculator

Use the servo's rated torque at your supply voltage. If the arm moves through horizontal (0°), that is the worst case; below horizontal, enter the angle below it. Measure from the servo's axis to the load at the arm's end.

The force–arm chart appears here.

Show the steps

Interactive calculation is unavailable until JavaScript loads. The formulas, worked examples and references below remain available.

Calculate the force a servo delivers at a horn radius, the torque a load needs on a lever arm, and the longest arm the servo can hold.

How to use

Choose the torque unit of your servo's data sheet and enter its torque rating at the voltage you will use.

Enter the lever arm: the distance from the servo's axis to the load, or to the horn hole that drives a linkage. The slider under the chart tries other lengths.

Enter the load's mass, the arm's own mass and the arm's angle from horizontal; above or below horizontal gives the same torque. If the arm moves through horizontal, enter 0, the worst case.

Read the torque the load needs, then the margin and the verdict against your safety factor. The rows give the force at the horn and the longest arm the servo can hold.

Copy result copies the answer. Reset restores the example: an SG90 servo holding 200 g on a 60 mm arm.

Science

Torque is force times the distance from the axis. A servo rated 1.8 kgf·cm can hold 1.8 kg-force at 1 cm from its axis, 0.9 kg-force at 2 cm and 0.3 kg-force at 6 cm: doubling the arm halves the force.

A load of mass m at the end of a horizontal arm of length r needs a holding torque of m × g × r. The arm's own weight acts at its middle, so it counts as half its mass at the end. When the arm is raised by an angle θ, only the cos θ share of the weight turns the shaft; at 90° the weight passes through the axis and needs no torque.

The margin is the servo's rating divided by the torque needed. A margin of 1 means the servo is at its limit. A servo's rating is usually its stall torque, where it draws its highest current and heats up, so a common rule is to pick a servo with at least twice the torque you need.

The force at a horn radius is the torque divided by that radius. A pushrod on the outer hole of a horn moves farther per degree but pushes with less force than one on an inner hole.

Assumptions and limitations: the load is held still. Accelerating the arm needs extra torque for its inertia, and shocks, friction and gear wear are not modelled. The arm is straight and uniform and the load hangs at its end. The longest arm and the heaviest load keep the arm's entered mass. Ratings vary between sellers' data sheets for the same servo. Use the rating at your supply voltage, which is lower at 4.8 V than at 6 V.

Why does my servo jitter or buzz while holding? Often it is near its limit: the control loop keeps correcting against the load, and a shorter arm, a lighter load or a stronger servo raises the margin. A weak or noisy supply and signal noise also cause it.

Is kg·cm the same as kgf·cm? Yes. Servo data sheets write kg·cm for kilogram-force centimetres; 1 kgf·cm is 0.0980665 N·m and about 13.89 oz·in.

Where do I measure the arm? The tool assumes the load hangs at the arm's end, so the arm length and the load's distance are one value: if the load hangs at the end, measure from the servo's axis to its centre. The arm's own mass counts at half that length.

Related tools: the Servo PWM pulse-mapping helper (043) for the pulse that sets the angle, the Gear-ratio calculator (041) when gears sit between servo and arm, the Stepper torque/speed and microstepping helper (146) for stepper-driven joints, and the DC-motor curve visualizer (138) for gearmotors.

Formulas

Torque needed: T = g × cos θ × (m_load × r + m_arm × r ÷ 2), with g = 9.80665 m/s².

Margin: Margin = T_rated ÷ T; the servo holds the load when the margin is at least 1.

Force at a radius: F = T_rated ÷ r; in gram-force, F ÷ g × 1000.

Longest arm: r_max = T_rated ÷ (g × cos θ × (m_load + m_arm ÷ 2)); with a safety factor SF, r_max ÷ SF.

Heaviest load: m_max = T_rated ÷ (SF × g × cos θ × r) − m_arm ÷ 2. r is the lever arm, θ the arm's angle from horizontal, m the masses in kg.

Examples

SG90 servo, 1.8 kgf·cm; 200 g load on a 60 mm arm of 5 g; horizontal; safety factor 2: Torque needed 1.215 kgf·cm; margin 1.481×; servo force at 60 mm 2.942 N (300 gf); longest arm with 2× safety 44.44 mm. The load counts 200 g plus half the 5 g arm, 0.2025 kg, at 6 cm: 0.2025 × 6 = 1.215 kgf·cm. The servo holds it, but with less than the 2× margin.

HS-311 servo at 6 V, 3.7 kgf·cm; same load and arm: Torque needed 1.215 kgf·cm; margin 3.045×; meets the 2× safety factor. The same load needs the same torque; the stronger servo at 6 V has three times that.

SG90 with the same load on a 120 mm arm: Torque needed 2.43 kgf·cm; margin 0.7407×; over the rating. Doubling the arm doubles the torque. The longest arm the SG90 can hold this load on is 88.89 mm, and 44.44 mm with 2× safety.

SG90, same load, arm raised to 90°: No holding torque needed. Straight up or down, the weight acts through the servo's axis. The servo still needs torque to move the arm there: if the motion passes through horizontal, that position is the worst case.

References

ServoCity: Glossary

SG90 9 g micro servo data sheet

ServoCity: HS-311 servo

NIST SP 811, Appendix B.9