A planetary gear set does not have one input-to-output speed ratio until its member connections are specified. The same sun, ring, and planets can produce different speed relationships when a different member is held stationary.

For a robot transmission description, naming the tooth counts is therefore only part of the kinematic account. The record must identify the sun, ring, and carrier speeds, their common direction convention, and which member is constrained.

MathWorks' R2026b Planetary Gear documentation expresses the relationship among those three member speeds and identifies two independent degrees of freedom. Its Sun-Planet documentation separately describes a carrier and gear subcomponent. The numbers below are original ideal kinematic examples, not simulated results, commercial gearhead specifications, or instructions to modify a transmission.

Declare a simple set

Consider one ideal simple planetary set with a sun of Ns = 30 teeth and an internally toothed ring of Nr = 90 teeth. Use same-module, unshifted pitch geometry for this hypothetical construction. Each planet then has Np = (Nr − Ns)/2 = 30 teeth.

The tooth counts describe basic geometry. They do not establish assembly clearances, interference limits, load sharing, bearing capacity, backlash, or a production-ready design. No number of planets is prescribed here.

Call the angular speeds ωs, ωr, and ωc for sun, ring, and carrier. View their common axis from one fixed side and use the same positive direction for all three. A positive sun speed and a negative ring speed mean opposite directions under that one convention.

Assume ideal rigid gears with compatible meshing and no tooth slip. The speed calculation ignores compliance and transient impacts. It does not require a particular efficiency estimate because efficiency is a separate power-flow question.

Subtract the carrier speed first

Viewed relative to the carrier, the sun and ring have angular speeds ωs − ωc and ωr − ωc. Their relative speeds satisfy:

Ns(ωs − ωc) + Nr(ωr − ωc) = 0.

Rearranging gives (Ns + Nr)ωc = Nsωs + Nrωr. With the selected counts, 120ωc = 30ωs + 90ωr, or ωc = 0.25ωs + 0.75ωr.

This is one relation among three member speeds. Prescribing only the sun speed leaves a family of possible ring and carrier speeds. Another connection, constraint, or independent speed is needed before a unique output speed follows.

Using this equation avoids division by a relative speed that might be zero. If all three members rotate together, both relative speeds vanish, but the undivided relation remains well defined.

Hold the ring in the mathematical model

Set ωr = 0 and prescribe sun speed 1,200 rpm. Then ωc = 0.25 × 1,200 = 300 rpm. The carrier turns in the same direction as the sun.

For this connection, the input-to-output speed ratio from sun to carrier is 1,200/300 = 4. It is not Nr/Ns = 3. The extra term comes from the carrier motion appearing in both relative gear speeds.

Checking in carrier coordinates, the sun moves at 900 rpm relative to the carrier and the ring at −300 rpm. Their relative-speed ratio is −3, matching −Nr/Ns. The fixed-frame ratio of four and the relative-frame ratio of minus three answer different questions.

This calculation stipulates that the ring is stationary. It does not prove that a real housing or brake can carry the reaction required to keep it stationary under a load.

Hold the carrier instead

Now change the hypothetical connection to ωc = 0 while keeping sun speed at 1,200 rpm. The constraint becomes 30 × 1,200 + 90ωr = 0, so ωr = −400 rpm.

The ring now turns opposite the sun. The signed input-to-output ratio from sun to ring is −3; its magnitude is three. Both the selected output member and the fixed member changed from the preceding example.

No tooth count changed. Calling both configurations the same four-to-one reducer would conceal the connection that established the original ratio. Conversely, quoting only the magnitude three would lose the reversal in the second configuration.

A ratio should retain its direction convention and the two members it compares. Ratios printed without those labels can disagree merely because their numerators, denominators, or signs differ.

Hold the sun or drive two members

With the sun stationary and the ring at 600 rpm, carrier speed is 0.75 × 600 = 450 rpm. The ring-to-carrier input-to-output ratio is 4/3 under this different connection.

Alternatively, prescribe sun speed 1,200 rpm and ring speed 100 rpm. Carrier speed becomes 300 + 75 = 375 rpm. A rotating ring has changed the output even though sun speed and tooth counts stayed fixed.

If the ring instead turns at −400 rpm while the sun remains at 1,200 rpm, the carrier speed is zero. Two rotating members can therefore combine into a stationary carrier within this ideal kinematic relation.

That statement does not calculate the power supplied or absorbed by either shaft. Two-speed operation requires an account of the connected drives and loads; member speeds alone do not specify their torques.

Check the rigid-rotation limit

Let sun and ring both turn at 200 rpm. The equation gives carrier speed 200 rpm. All members have zero speed relative to the carrier, consistent with the whole arrangement rotating together without relative meshing motion.

This provides a useful algebraic check. A mistaken formula using only ωs/ωr = −Nr/Ns in the fixed frame would reject this valid rigid-rotation case because it omitted carrier speed.

The weighted-average form also shows that carrier speed lies between sun and ring speeds for positive tooth counts. This is a property of the stated signed kinematic equation, not a separate guarantee of operating limits.

Keep kinematics within its boundary

The model establishes compatible member speeds for a simple planetary arrangement. It does not establish torque capacity, efficiency, thermal rating, transient behavior, or the constraints of compound or multistage gear trains.

For a robot gearbox drawing or simulation, recording the three member connections alongside the tooth ratio makes the calculation reproducible. The output then follows from an identified constraint, rather than from an unlabeled assumption about which part must be fixed.

Sources checked October 23, 2026: MathWorks, Planetary Gear, R2026b documentation, Ideal Gear Constraints and Gear Ratios: https://www.mathworks.com/help/sdl/ref/planetarygear.html

MathWorks, Sun-Planet, R2026b documentation, carrier and kinematic constraint: https://www.mathworks.com/help/sdl/ref/sunplanet.html

Illustration note: A generic site-library reducer or drive-component scene may accompany this explanation. It is not a cutaway of the invented gear set or evidence of its ratio, assembly feasibility, or tested performance.