Orrery gear ratios: tooth counts for a Sun-Earth-Moon model that prints and turns

The ratios are the easy part: builders publish them. What they skip is whether printed 10- and 11-tooth pinions mesh, how loose to make them, and what a 365:1 train does to its smallest teeth. Here are all three, checked in the Loftsmith engine.

Short answer

One crank turn is one day. Stages of 10:50 and 11:65 turn the Moon once per synodic month: 5 × 65/11 = 29.545 days, about 0.4 h longer than the real 29.531. An 11:136 stage adds the year: 365.29 days, about 1.1 h longer than 365.24. Use the synodic month, not the 27.32-day sidereal one, because the Moon train rides on the Earth’s arm. Printed 10- and 11-tooth pinions mesh when profile-shifted, with contact ratios of 1.25 to 1.33, checked in the Loftsmith engine, not printed.

An orrery is a gear train with a calendar for a specification. One crank turn is a day, and whole numbers of teeth have to turn that day into a month and a year. The ratios are the easy part, because builders publish them. What they rarely say is whether a printed 10-tooth pinion will actually mesh, how loose the teeth should be, and what a train that turns its arm once per 365 crank turns does to its smallest teeth when the arm gets stuck.

This guide works through one design: a hand-crank Sun-Earth-Moon orrery checked in the Loftsmith engine on 10 November 2026. Its tooth counts come from dr_phil’s 3D printed tellurion on Instructables; the engine checked how they mesh, how loose they run and what they carry. It has not been printed yet, and the guide says so wherever it matters.

Engine render of a geared desk orrery: a dark toothed base engraved with months, a yellow Sun on a post, and an arm carrying gears, a blue Earth and a white Moon
Engine render, not a photo: the 10-part orrery at the default sliders (module 1 mm, 0.25 mm flank gap). Bambu Lab A1 profile, PLA. Open the model to change the module, the gaps, the ball sizes and the base.

The ratios an orrery needs, and the sidereal-month mistake

Four periods matter, and two of them are easy to confuse:

Mean periods an orrery is geared to
PeriodDaysWhat it measuresSource
Synodic month29.53059New Moon to new Moon: one cycle of phasesNASA (Espenak)
Sidereal month27.32166One orbit of the Moon measured against the starsNASA (Espenak)
Tropical year365.24219Equinox to equinox: the year calendars followNASA APOD
Sidereal year365.256One orbit of the Earth measured against the starsNASA Earth fact sheet
So a model geared to the calendar needs 365.24219 ÷ 29.53059 = 12.3683 cycles of phases per year. The USNO glossary gives the same definitions.

Which month to gear to

It depends on what the Moon train is geared against. In this model, as in the tellurion it borrows from, the whole Moon train rides on the arm that carries the Earth round the Sun. The 11-tooth Moon pinion walks round a fixed 136-tooth gear, so the Moon’s turns are counted relative to the arm, and the arm always points from the Sun to the Earth. One turn relative to that line is one cycle of phases: the synodic month.

Gear the Moon against a fixed frame instead and the target is the sidereal month, plus one turn a year for the arm itself. The Moon makes about 13.37 orbits a year against the stars but shows only about 12.37 cycles of phases, about one fewer, because the Earth has gone round the Sun once in the meantime.

Mixing the two up is the classic orrery mistake, and builders write about it openly. dr_phil writes that an earlier school project used the sidereal month and ended up with 13.4 lunar months in a year instead of 12.4. The tellurion itself only slipped a little: it was designed around 29.54 days, and an April 2020 update on the page corrects that to a mean synodic month of 29.53 days, noting that the error is small. dragonator’s Solar System Orrery shows the fixed-frame version done right: it works from the sidereal month, uses the same 136/11 stage as this model, and adds the arm’s own turn to get 13.3636 sidereal months a year. That is −0.038% off the 13.3687 it needs, by our arithmetic; the author gives 99.963% accuracy.

This model doesn’t spin the Earth once a day: the Earth ball turns with the Moon wheel. If you add a day-night spin, the same frame question applies. Geared against the base, it needs one more turn a year than there are days, about 366.24 turns in 365.24 days, because a turn against the stars (the sidereal day) is about 23 h 56 min, per the USNO. Geared from the arm, which already turns once a year, it needs 365.24.

Published tooth counts compared

Here are the trains other builders publish, with each ratio recomputed from its tooth counts and set against the periods above. Trains driven at one input turn a day show their error in hours; trains published as a bare ratio show it in percent.

Orrery trains as published, with our arithmetic
BuildTrainSmallest pinionLargest wheelGivesRealError
Loftsmith orrery (tooth counts from dr_phil’s tellurion)50/10 × 65/11106529.5455 days per synodic month29.5306+0.4 h per month
Loftsmith orrery, year stagemonth train × 136/1110136365.29 days per year365.24+1.1 h per year
M4NU, mechanical orrery (listing snippet; page not opened by us)47/19 × 50/25 × 50/20195012.3684 synodic months per year12.3683+0.0013%
Indukudesign (laser cut)39/8 × 33/1383912.3750 synodic months per year12.3683+0.054%
dragonator, Solar System Orrery136/11, plus the arm’s own turn1113613.3636 sidereal months per year13.3687−0.038%
LqudIce404, celestial orrery, year73/18 × 48/12 × 36/12 × 36/12 × 30/121273365 days per year365.24−5.8 h per year
LqudIce404, Moonpublished as 12/30 × 12/36 × 1/4 = 1/30123630 days per synodic month29.5306+11.3 h per month
LEGO 42179 orrery (BrickNerd)no tooth counts; a 27-day Moon orbitNot givenNot given27 days per sidereal month27.3217−7.7 h per month
Ratios and errors are our arithmetic from each page’s tooth counts, against the NASA and USNO periods above. Only the Loftsmith rows have been checked as meshing gears: contact ratio, flank gap and tooth overlap are in the next two sections. The LqudIce404 Moon train is published as a reduction, 1/30, so it is shown inverted. BrickNerd gives no tooth counts for the LEGO set; it also quotes 364.5 Earth revolutions per orbit without saying whether those count days or turns against the stars, so that one is left as quoted.

The builders’ own claims match the arithmetic. Indukudesign says its error is under 0.06% (we get +0.054%). The M4NU listing, which we saw only as a search snippet, gives 29.5313 days per month (worked from the 365.256-day sidereal year rather than the calendar year, which is why our percentage differs slightly).

Why 365 is awkward

365 = 5 × 73, and 73 is prime, so a train that makes exactly 365 needs a 73-tooth gear somewhere. LqudIce404’s orrery uses 73/18 as its first pair for that reason. Exactly 365 is still 5.8 h a year short of the calendar year, and its 30-day Moon runs 11.3 h a month long, so the tellurion’s smaller train is the more accurate of the two on both counts.

Two-stage trains for the month (arithmetic only)

If you want to design your own Moon train, these are the two-stage trains with pinions of at least 10 teeth and wheels of at most 70 that come closest to the synodic month at one input turn a day, found by trying every combination. For comparison, the tellurion’s 50/10 × 65/11 runs 21 minutes long each month.

Closest two-stage synodic-month trains, pinions ≥ 10 teeth, wheels ≤ 70
TrainDays per turnError per monthSmallest pinion
56/10 × 58/1129.52727−4.8 min10
57/10 × 57/1129.53636+8.3 min10
60/10 × 64/1329.53846+11.3 min10
63/11 × 67/1329.51748−18.9 min11
50/10 × 65/1129.54545+21.4 min10
Arithmetic, not checked meshes: the engine has checked only the 50/10 × 65/11 train. Pinions under 17 teeth need the profile shift described next, and the gears still have to fit on the arm.

Making 10- and 11-tooth printed pinions mesh

The tellurion’s train needs three small pinions: a 10 on the crank and two 11s. That breaks the rule in our guide to 3D printed gears: a standard 20° gear needs at least 17 teeth, or the rack that generates its teeth cuts into their roots (undercut). KHK’s gear technical reference gives the same 17 and warns that a 10-tooth, 20° gear has a huge undercut volume. Other references draw the line a little differently: RoyMech says 18, and tec-science notes that a slight undercut is often accepted down to about 14 teeth.

The standard fix is positive profile shift: the teeth are generated with the cutting tool moved out from the gear’s centre by x modules, so they use a part of the involute that doesn’t eat into the root. The smallest shift that avoids undercut on a z-tooth gear is:

x_min = 1 − (z ÷ 2) × sin²20°

For z = 10 that is 0.415, and for z = 11, 0.357 (our arithmetic; KHK gives the formula, and tec-science gives the close approximation x = 1 − z ÷ 17). The engine’s pinions are shifted +0.43 and +0.37, just above those minimums.

Shift has a cost. It thickens the tooth at the root and thins it at the tip, and KHK cautions that around x = +0.5 the tip becomes pointed; tec-science suggests keeping at least 20% of a module of tip thickness. A sharp tip is also the part of a tooth a printer draws worst. The pinions in this model have rounded tips, so there is no sharp point to print; the cost is a shorter tooth, which is why contact ratio is checked next.

Contact ratio: keeping a tooth in contact

Undercut is half the problem. The other half is keeping a pair of teeth in contact at every moment. The contact ratio is the average number of tooth pairs touching: below 1, there are moments when no pair is, and the drive knocks. KHK asks for at least 1; RoyMech recommends 1.2 or more and never below 1.1. Rounded and shortened tips lower it, so the engine checks it for every mesh:

Contact ratio of each mesh at module 1 mm, checked in the Loftsmith engine
MeshPinionWheelContact ratioAt least 1.2?
Crank pinion to idler10 teeth50 teeth1.25Yes
Idler pinion to Moon wheel11 teeth65 teeth1.32Yes
Moon pinion to fixed Sun gear11 teeth136 teeth1.33Yes
From the engine’s “Teeth stay in contact” check. The wheel tips stop above each pinion’s base circle, so no tip reaches the part of the pinion’s flank that isn’t an involute. KHK’s profile-shift page adds that contact ratio falls as the centre distance grows, which is one more reason not to fix a jam by moving axles apart.

What about the 1:4 rule?

LqudIce404’s build advice is to keep the ratio between any two gears to at most 1:4 (its own first pair, 73/18, is 1:4.06). This model’s slow stage is 136:11, about 1:12.4 in one mesh, and it passes. The ratio of a pair isn’t what decides it. The small gear is: whether its teeth undercut (fixed by profile shift), whether contact stays above 1.2 (checked above), and how much force its teeth carry (see what a blocked arm does). A large ratio in one stage only needs a large wheel: 136 teeth at module 1 mm is 136 mm across at the pitch circle.

Bigger teeth are easier to print. The module slider runs 0.9–1.3 mm, which takes the base from 124 to 178 mm across, and the model built and passed every check at both ends.

Spur gear modelSpur gearInvolute spur gears with module, tooth count and backlash: print a test pair before you commit to a whole train.39 × 39 × 16 mm · 6 g · 13 min

Flank gap and axle gap: how loose to make printed gears

The flank gap is the clearance the engine leaves on each side of a tooth, so a tooth sits in the space of its mate with air on both flanks. The model defaults to 0.25 mm. The build report doesn’t say in which direction it is measured. Loftsmith’s planetary gear bearing uses the same term for the clearance on each side, measured normal to the tooth, and its play at the pitch circle works out to 2 × gap ÷ cos 20°; if the orrery follows that convention, 0.25 mm per side is about 0.53 mm of play at the pitch circle. That is not the quantity the spur gear generator calls backlash (it thins each tooth along the pitch circle), so don’t copy the number from one to the other.

At the default gap the engine found a worst tooth overlap of 0.000 mm² over 8 sampled phases of each mesh, and its “Crank four days” operation, four turns of the crank, checked 361 synchronized poses of every moving part with nothing touching.

The slider runs 0.1–0.4 mm, and the model built and passed at both ends. Which end you want depends on your printer, not the gears: print a tolerance test in the PLA you’ll use and take the first gap that slides freely. The tolerance guide explains how to read it.

Builders of printed orreries report trouble at both extremes. dragonator’s gears jammed at 100% scale; scaling the gear arms to 101% fixed it, which the author reckons adds about 0.3–0.5 mm of clearance per 1%. That works because it moves the axles apart, but each pair gains a gap in proportion to its centre distance, and contact ratio drops as it does. HuidongT hit the opposite problem: the Moon turned unevenly, partly from bearing holes that were too tight and partly from the gaps between gears, “the bigger the worse”. LqudIce404 suggests a 0.5 mm gap between gears, though the page doesn’t say whether that is at the tooth flanks. And dr_phil warns that elephant’s foot will ruin the meshing, so tune the first layer before blaming the gap.

Axle gap, and why nothing rides off

The axle gap is the clearance around each shaft: 0.2 mm by default, with a slider from 0.12 to 0.35 mm, and both ends passed. Lift any moving part 0.75 mm and it still overlaps the part that holds it down: the arm under the Sun by 44 mm³, the idler under the Moon wheel by 55 mm³, the crank under its cap by 19 mm³ and the Moon axle under its pinion by 22 mm³. So no gear can climb its axle and jump a tooth.

Tolerance tester modelTolerance testerA small ladder of fits: find the gap your printer and filament hold open before you set the flank-gap slider.71 × 35 × 10 mm · 5 g · 21 min

Why a blocked arm can strip the Moon pinion

The crank turns 365.29 times for each orbit of the arm. That makes the arm the slow end of a 365:1 reduction, and a reduction multiplies torque by the same ratio. Normally the arm needs almost none: turning it puts about 0.07 N on the Moon pinion’s teeth, a tooth stress of 0.05 MPa against the 16.7 MPa the engine allows PLA. That is why a 1:12.4 mesh is fine here.

Block the arm, and the whole multiplied torque from your hand lands on the slowest mesh. About 0.3 N on the handle, the weight of roughly 31 g, takes the Moon pinion’s teeth to that 16.7 MPa limit. So keep the circle the arm sweeps clear: 213 mm across at module 1 mm, wider than the 137.2 mm base, and it grows with the module slider. A book or a mug left inside that circle stops the arm, and an ordinary turn of the crank is then more than enough to load the pinion past the limit.

The same goes for any printed reduction train. The slowest mesh carries the largest tooth force when the output stops, and its pinion is the weaker of the pair, with the fewest teeth taking the most load cycles. Turn the crank gently when something resists, and don’t use the mechanism as a handle. The 16.7 MPa figure is a third of printed PLA’s strength along its layers; the guide to how much weight printed parts hold explains where it comes from.

Assembly, setting the Moon phase, and keeping it upright

The brief for this model asked for a print-in-place orrery that comes off the bed assembled. The design that passed review is not that. It is 10 PLA parts that print flat without supports and go together with press fits, no screws. If you were hoping for print-in-place, this isn’t it; the print-in-place hinge guide covers what that takes.

The order matters, because the Moon’s phase has to be set before the pinion meshes:

  1. Assemble the arm’s gears and press on the Earth and Moon, following the steps on the model page.
  2. With the arm still off the base, turn the crank until the Moon shows today’s phase: full Moon on the far side of the Earth from the Sun end of the arm, new Moon between them. The pinion isn’t meshed yet, so only the Moon wheel turns.
  3. Lower the arm over the base’s post so the pinion meshes, with the window in the arm over the current month.
  4. Press the Sun onto the post. It holds the arm down.
  5. From then on, one anticlockwise turn of the crank is one day.

Once the pinion meshes with the fixed gear, the Moon’s phase and the arm’s place in the year move together, and you can’t set one without lifting the arm off again.

It stands on its own: the centre of mass is 15.2 mm off the axis, well inside the 66 mm radius of the footprint, and a 3 N push on the handle, 71 mm out, still leaves 0.04 N·m before it would tip. The check uses a mass of 99 g, and the report doesn’t say which print settings that stands for. The default print is lighter (87 g at 2 walls and 15% infill), and a lighter orrery resists tipping with less margin than this.

What it costs to print, and what we didn’t check

The whole orrery by print setting, PLA
SettingFilamentTime
2 walls, 15% infill87 g2 h 55 min
3 walls, 15% infill115 g3 h 48 min
3 walls, 20% infill119 g3 h 55 min
4 walls, 20% infill140 g4 h 30 min
4 walls, 25% infill142 g4 h 35 min
From the engine’s build report, Bambu Lab A1 profile.
Parts, as estimated in the build report
PartSizeFilamentTime
Base, with the fixed 136-tooth gear and the month ring137.2 × 137.2 × 35.2 mm45 g66 min
Arm98.5 × 68.9 × 24.7 mm13 g24 min
Moon wheel (65 teeth)66.2 × 66.2 × 20.1 mm9 g18 min
Idler (50 and 11 teeth)51.1 × 51.1 × 12.3 mm6 g14 min
Sun32.0 × 32.0 × 27.2 mm6 g14 min
Crank (10-tooth pinion)17.3 × 22.6 × 34.8 mm2 g10 min
Moon pinion (11 teeth)13.4 × 13.5 × 26.2 mm1 g8 min
Earth16.0 × 16.0 × 13.6 mm1 g7 min
Moon6.0 × 6.0 × 3.9 mm<1 g5 min
Crank cap11.0 × 11.0 × 5.0 mm<1 g5 min
The report rounds each part to whole grams and minutes. Those rounded figures add up to 83 g and 2 h 51 min, against 87 g and 2 h 55 min in the settings table at 2 walls and 15% infill; the rounding accounts for some of the difference, so plan with the settings table. No part needs supports.

Assembled, the orrery is 175.2 × 137.2 × 53.4 mm with the arm at rest, and the largest print is the 137.2 mm base, well inside the 256 mm bed of the Bambu Lab A1. At the top of the module slider the base reaches 178 mm; the engine’s slider-end builds ran on the A1 profile, so on a 180 mm bed like the A1 mini’s, check the size before you print. At 4 walls and 25% infill it takes 142 g and 4 h 35 min.

For scale, the M4NU orrery listing gives 22 h 11 min and 312 g (search snippet). It also models lunar nodes and a date counter, so it is a bigger machine, not a like-for-like comparison.

What the engine didn’t check:

  • A real print. Nothing in this guide has been printed or turned by hand.
  • Friction, backlash in use and wear over many turns: the motion checks are sampled rigid poses.
  • How the crank feels, and whether press fits hold after many assemblies.
  • Accuracy beyond the ratio arithmetic: the model shows mean periods, and a real month or year varies around them.

Sources and method

Written by the Loftsmith team. The model numbers come from the Loftsmith engine’s build report of 10 November 2026, made with the Bambu Lab A1 profile, PLA and the default sliders (module 1 mm, flank gap 0.25 mm, axle gap 0.2 mm, Earth 16 mm, Moon 6 mm). The report holds 6 checks, all passed, and 11 rebuilds at the ends of the sliders and options, all of which built and passed. The review history comes from the model’s Workshop listing (2 rounds).

The tooth counts are dr_phil’s, from the Instructables tellurion. Astronomical periods come from NASA and the USNO; undercut, profile shift and contact ratio from KHK, RoyMech and tec-science. The ratios and errors in the comparison table, the minimum shifts and the two-stage train search are our own arithmetic, done in code from the cited figures. The M4NU figures come from a search-result snippet; we didn’t open the listing.

Not tested: no physical print, no measured gaps, no torque or wear test. “Checked” means the engine’s geometry and formula checks only. When the orrery has been printed, the results will go here.

Planetary gear bearing modelPlanetary gear bearingA print-in-place planetary bearing: the same small-gear meshing in one piece, as a quick test of your gaps.74 × 74 × 15 mm · 32 g · 1 h 14 min

The orrery itself is a free Workshop model: open the hand-crank Sun-Earth-Moon orrery, set the module and gaps from your tolerance test, and the engine rebuilds and rechecks it.

Questions people ask

What gear ratio does an orrery need for the Moon?

If one input turn is one day and the Moon train rides on the Earth’s arm, the Moon wheel must turn once every 29.53059 days, the synodic month; 50/10 × 65/11 = 29.545 days is within about 0.4 h. Geared against a fixed frame, the target is the 27.32166-day sidereal month instead, and the train must add one turn a year for the arm.

How do you get 365 days from gears?

365 = 5 × 73, and 73 is prime, so a train that makes exactly 365 needs a 73-tooth gear; LqudIce404’s orrery uses 73/18 × 48/12 × 36/12 × 36/12 × 30/12. Exactly 365 is still 5.8 h a year short of the 365.24219-day calendar year. The tellurion train in this guide gets 365.29 days from 29.545 × 136/11, about 1.1 h long, with 3 meshes instead of 5.

Can a 3D printed gear have fewer than 17 teeth?

Yes, with positive profile shift. A 20° gear under 17 teeth undercuts unless its teeth are shifted outward by at least 1 − (z ÷ 2) × sin²20° modules: about 0.415 for 10 teeth and 0.357 for 11 (our arithmetic from KHK’s formula). The orrery’s pinions use +0.43 and +0.37 with rounded tips and keep contact ratios of 1.25 to 1.33, checked in the Loftsmith engine.

How much clearance do printed orrery gears need?

The orrery defaults to a 0.25 mm flank gap, the clearance the engine leaves on each side of a tooth; at that gap the Loftsmith engine found no tooth overlap over 8 sampled phases of each mesh, or over 361 poses of four crank turns. Its slider runs 0.1–0.4 mm and the model passes at both ends. Pick your value from a tolerance test in the filament you’ll use: too little binds, and builders report that too much makes the Moon move unevenly.

Why did my orrery gears strip?

One cause the Loftsmith engine shows is a blocked arm. The crank turns about 365 times per orbit, so a blocked arm puts your hand’s multiplied torque on the slowest mesh: in this model about 0.3 N on the handle takes the Moon pinion’s teeth to the engine’s 16.7 MPa PLA limit, so keep the 213 mm circle the arm sweeps clear. Builders also report trains that bind from bearing holes that are too tight, elephant’s foot on the first layer, or a gap that is too small for their printer.

Sources and method

The numbers come from Loftsmith’s CAD engine, which uses them to design and check every part it builds, and from the manufacturer and reference sources below. Every figure is checked against those sources and the engine’s own geometry. Found a mistake? Email [email protected] and we’ll fix it.

Skip the arithmetic next time.

Describe the part in a sentence. Loftsmith’s text to CAD designs it as parametric CAD with these clearances built in, checks it against your printer and filament, and hands you STL and 3MF. The generators and sliders are free without an account.

More free tools for this: Tolerance tester · Planetary gear bearing