Gear Calculator (AGMA Spur Gear Bending, Pitting, Sizing)
Pricing
Pay per event
Gear Calculator (AGMA Spur Gear Bending, Pitting, Sizing)
Spur gear calculator from plain text: AGMA bending and contact stresses, safety factors, geometry factor J from the generated tooth, Kv, Ks, Km, life and reliability factors, tooth geometry, forces, rated power, and module sizing.
Pricing
Pay per event
Rating
0.0
(0)
Developer
Jumble Mog
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Security
Limited permissionsShare
Will the gears last? Describe the pair in one line and find out. Type 17 and 52 teeth, 10 DP, 20°, face 1.5 in, 4 hp at 1800 rpm, Qv 6, 240 HB, 1e8 cycles, 90% reliability or find the module: ratio 3, 5 kW at 1450 rpm, pinion 300 HB, gear 250 HB, 20000 hours. You get back:
- The tooth geometry: pitch, outside, root and base diameters, center distance, circular and base pitch, addendum, dedendum, contact ratio, and the fewest pinion teeth that mesh without interference.
- The forces: tangential, radial and normal tooth loads, both torques and the pitch-line velocity.
- The bending geometry factor J computed from the tooth itself, by the AGMA 908 method: the tooth is generated by a standard rack, loaded at the highest point of single-tooth contact, and checked at the Lewis parabola's critical section with the fillet stress concentration. No chart reading.
- Every AGMA 2001 factor, shown: overload Ko, dynamic Kv from the quality number, size Ks, load distribution Km (with Cpf, Cpm, Cma, Cmc), rim KB, life YN and ZN, reliability KR, hardness ratio CH, the elastic coefficient Cp and the pitting factor I.
- Bending and contact stresses for the pinion and the gear, against their allowables.
- Four safety factors: bending and pitting, pinion and gear, which one governs, and the power the pair can carry for the life you asked for.
- For design requests: the smallest standard module (or diametral pitch) that meets your safety target, or the face width when the module is fixed.
- A chart: the pinion tooth to scale with the load point, the load line, the Lewis parabola and the critical section, next to the four safety factors.
Materials: through-hardened steel by Brinell hardness (AGMA grade 1 or 2), carburized and hardened steel (grade 1 to 3), gray cast iron class 20, 30 or 40, or your own St and Sc. Pinion and gear can differ. Metric (module, mm, kW, N·m, MPa) or inch (diametral pitch, in, hp, lbf·in, kpsi): results come back in the units you wrote.
It's made for:
- Mechanical designers sizing gearbox, conveyor and machine-drive gears.
- Engineering students working Shigley-style AGMA problems.
- Maintenance engineers checking whether a replacement gear set will hold.
- AI agents that need real gear-strength numbers instead of a guess.

How to use it
- Write Gear pairs, one pair per entry. The form has examples.
- Optionally set a Default steel hardness, quality number, reliability, gearing class or the Units.
- Click Start. Each pair is a row in the results, with its summary, chart and report.
Writing a pair
| You write | It means |
|---|---|
17 and 52 teeth, 18-tooth pinion, 45-tooth gear, pinion 20 teeth, ratio 3 | the tooth counts |
module 2.5, 10 DP, diametral pitch 8 | the tooth size |
20°, 25 deg pressure angle | the pressure angle (20° if not given) |
face 30 mm, face width 1.5 in | the face width (about 12 modules if not given) |
4 hp at 1800 rpm, 3 kW, 1450 rpm, torque 20 N·m | the load and the pinion speed |
240 HB, pinion 300 HB, gear 250 HB, grade 2, carburized, cast iron class 30, St 30 kpsi, Sc 110 kpsi | the materials |
Qv 8 | the AGMA quality number (6 if not given) |
1e8 cycles, 20000 hours | the pinion life (10⁷ cycles if not given) |
99% reliability | the reliability (99% if not given) |
overload 1.25, light shock motor, moderate shock load | the overload factor |
overhung, open gearing, precision, extra precision, crowned | mounting and alignment for Km |
Jp 0.30, Jg 0.40, Cp 2300 | your own geometry factors or elastic coefficient |
find the module ..., safety 1.5 | size it, and the target |
Objects work too; see Input.
Examples
All of these ran on this Actor; the numbers are from the results.
| Pair | Result |
|---|---|
17 and 52 teeth, 10 DP, 20°, face 1.5 in, 4 hp at 1800 rpm, Qv 6, 240 HB, 1e8 cycles, 90% reliability (Shigley Example 14-4) | Wt 164.8 lbf, Kv 1.377, Ks 1.043/1.052, Km 1.22 as in the book; J 0.328/0.400 (book chart 0.30/0.40); bending safety 6.13/7.58, pitting 1.70/1.73 (book 1.69/1.73); rated 11.5 hp |
module 3, 20 and 60 teeth, face 36 mm, 15 kW at 1000 rpm, carburized, Qv 8, precision, crowned | 4775 N tangential load; bending 176/151 MPa, contact 963 MPa; safety 2.19/2.58 bending, 1.29/1.36 pitting; rated 24.9 kW |
find the module: ratio 3, 5 kW at 1450 rpm, pinion 300 HB, gear 250 HB, 20000 hours, safety 1.2 | Module 3, 18/54 teeth, face 36 mm; gear pitting governs at 1.21 over 1.74·10⁹ pinion cycles |
| Conveyor drive: 24/72 teeth, module 4, 25°, face 48 mm, 2 kW at 300 rpm, 280 HB steel pinion, cast iron class 30 gear, overhung, open gearing, moderate shock | Cast iron gear limits it: bending 2.06, pitting 1.31; rated 3.4 kW |
18-tooth pinion driving a 45-tooth gear, 8 diametral pitch, 2 in face, torque 900 lbf·in, 1200 rpm, 300 HB grade 2, heavy shock load | Ko 1.75; pitting safety 0.87 under 1, with a warning; rated 13 hp |
The tests check that:
- Shigley's Example 14-4 comes out: Kv, Ks, Km, KR, YN, ZN, and, with the book's J, its bending and contact stresses and safety factors.
- The computed J matches AGMA values (0.40 for the 52-tooth gear of Example 14-4, 0.41 for a 55-tooth gear with 26 teeth).
- A pair written in metric and the same pair in inches give the same safety factors.
- Tooth counts, separate pinion and gear materials, hours, shock classes and ratios are read correctly.
- The design module is the smallest standard one that works.
How-to examples
Each example is a complete input; the results are from runs of the Actor (also listed under Examples).
How to check a spur gear pair for bending and pitting (AGMA 2001)
{"gears": ["17 and 52 teeth, 10 DP, 20°, face 1.5 in, 4 hp at 1800 rpm, Qv 6, 240 HB, 1e8 cycles, 90% reliability"]}
Result: this is Shigley's Example 14-4: Wt 164.8 lbf, Kv 1.377, Km 1.22 as in the book; bending safety 6.13/7.58, pitting 1.70/1.73 (book 1.69/1.73); rated 11.5 hp.
How to choose the gear module for a power and life
{"gears": ["find the module: ratio 3, 5 kW at 1450 rpm, pinion 300 HB, gear 250 HB, 20000 hours, safety 1.2"]}
Result: module 3, 18/54 teeth and a 36 mm face; gear pitting governs at 1.21 over 1.74·10⁹ pinion cycles.
How to rate metric gears with carburized teeth
{"gears": ["module 3, 20 and 60 teeth, face 36 mm, 15 kW at 1000 rpm, carburized, Qv 8, precision, crowned"]}
Result: 4775 N tangential load; bending 176/151 MPa and contact 963 MPa; safety 2.19/2.58 in bending and 1.29/1.36 in pitting; rated 24.9 kW.
How to let an AI agent size gears
Add this Actor to the Apify MCP server with https://mcp.apify.com/?tools=jumblemog/gear-calculator. The agent describes the pair in one line and answers with the safety factors, which failure governs and the power rating.
FAQ
Which gears does it cover? External spur gears with standard full-depth teeth. Helical, bevel, worm and internal gears aren't covered.
Where does the J factor come from? It is computed from the generated tooth by the AGMA 908 method, within a few percent of AGMA's tables. Give Jp and Jg to use your own.
Can the pinion and gear be different materials? Yes: through-hardened steel by Brinell hardness, carburized steel, gray cast iron class 20, 30 or 40, or your own St and Sc, set for each one.
What isn't checked? Scoring and scuffing, micropitting, lubrication and temperatures above 250 °F. Check shafts, bearings and keys separately.
Input
| Field | What it is |
|---|---|
gears | Gear pairs, as text or objects. |
hardness | Default steel hardness in HB, for pairs that don't name a material. |
quality | Default AGMA quality number Qv (6). |
reliability | Default reliability in % (99). |
enclosure | Default gearing: open, commercial (default), precision or extra precision. |
units | mm (default) or in, for numbers written without a unit. |
charts | Draw charts (default on). |
A pair as an object takes:
pinionTeeth,gearTeeth(orratio),moduleordiametralPitch,pressureAngle,faceWidth.powerortorque(on the pinion),rpm(pinion).material,hardness,grade, or per memberpinionMaterial,gearMaterial,pinionHardness,gearHardness;st,scto override the allowables.quality,overloadorshock,reliability,cyclesorhours,mounting(straddleoroverhung),enclosure,crowned,rimFactor.jPinion,jGear,cp,tipRadius(the generating rack's tip radius in modules, 0.25 by default).mode(analyzeordesign),safety(design target, default 1.5),units,title, andtext(a line of text, with the other fields overriding what it says).
Output
One dataset item per pair, also saved together in the run's OUTPUT record:
{"request": 2, "status": "ok", "type": "gear", "mode": "analyze", "title": "20/60 spur gears, module 3","units": {"length": "mm", "force": "N", "stress": "MPa", "power": "kW", "torque": "N·m", "velocity": "m/s"},"mesh": {"module": 3.0, "pressureAngle": 20.0, "faceWidth": 36.0, "ratio": 3.0, "centerDistance": 120.0,"contactRatio": 1.671, "pitchLineVelocity": 3.142, "quality": 8.0},"pinion": {"teeth": 20, "pitchDiameter": 60.0, "outsideDiameter": 66.0, "rootDiameter": 52.5,"material": "Carburized and hardened steel, grade 1", "st": 379.21, "sc": 1241.06, "j": 0.3514,"jDetails": {"y": 0.6819, "kf": 1.9408, "hF": 0.9617, "sF": 1.893, "rhoF": 0.3412}},"loads": {"power": 15.0, "tangentialForce": 4774.6, "radialForce": 1737.8, "pinionTorque": 143.239},"safety": {"bendingPinion": 2.193, "bendingGear": 2.582, "pittingPinion": 1.288, "pittingGear": 1.365},"governs": "pittingPinion","ratedPower": {"bending": 32.898, "pitting": 24.9018, "pair": 24.9018},"imageUrl": "https://api.apify.com/v2/key-value-stores/.../records/002-....png"}
Each item also has gear, factors (every AGMA factor), bending and contact (stress, allowable and safety for each member). A design adds design with the target and the size found. Every item has warnings, notes (the formulas and assumptions), a Markdown report and links to the chart and report. A request that can't be computed has "status": "failed" and the reason in error, and isn't billed.
How it works
- Reading: each line is read for the teeth, size, load, speed, materials and options; numbers carry their units.
- Geometry: standard full-depth teeth (addendum 1, dedendum 1.25 modules); contact ratio from the line of action; interference limit from Shigley eq. 13-11.
- J factor (AGMA 908): the fillet is traced by the tip round of the generating rack; the load sits at the highest point of single-tooth contact; the critical section is where the Lewis parabola from the load line's crossing of the tooth centerline touches the fillet; Y includes the radial compression, and the stress correction Kf = H + (s/ρ)^L (s/h)^M uses the minimum fillet radius.
- Stresses (AGMA 2001): σ = Wt·Ko·Kv·Ks·(Pd/F)·(Km·KB/J) and σc = Cp·√(Wt·Ko·Kv·Ks·Km·Cf/(d·F·I)), with Kv from Qv, Ks from the Lewis form factor, and Km = 1 + Cmc(Cpf·Cpm + Cma·Ce) (Shigley eqs. 14-15 to 14-40).
- Strengths: St and Sc from the hardness or the material table, with YN and ZN from the cycles, KR from the reliability, and CH for a harder pinion. SF = St·YN/(KT·KR)/σ and SH = Sc·ZN·CH/(KT·KR)/σc.
- Design: standard modules (or pitches) from fine to coarse, each with a face of about 12 modules, until all four safety factors reach the target; with the module given, face widths from 3 to 5 circular pitches.
Results are engineering estimates for the stated assumptions; check shafts, bearings, keys, lubrication and scoring before building.
Pricing
You pay one low price per gear pair, at the price shown on this page. It includes the chart and the report. Requests that can't be computed are never charged. If you set a maximum cost per run, the Actor stops before a request that wouldn't fit.
Speed
A pair takes a few milliseconds and a module search a little more, plus the chart. A run through the API answers in about 5 to 10 seconds, including the cloud container starting.
Tips and limits
- Spur gears only: external, standard (no profile shift), full-depth teeth. Helical, bevel, worm and internal gears aren't covered.
- Computed J vs. charts: the computed J lands within a few percent of AGMA's tables, usually a little above for small pinions. Give
JpandJgto use your own. - Bending vs. pitting: compare the bending safety with the pitting safety squared; the item's
governsdoes that for you. - Not covered: scoring and scuffing, micropitting, lubrication, temperatures above 250 °F (KT = 1).
- Limits: 500 pairs per run.
For AI agents and developers
This Actor works with the Apify MCP server, so AI agents can call it as a tool. Pass gears as plain text and read summary, safety, governs, ratedPower, warnings and, for designs, design.module. A direct API call that waits for the answer:
curl -X POST "https://api.apify.com/v2/acts/jumblemog~gear-calculator/run-sync-get-dataset-items?token=YOUR_TOKEN" \-H "Content-Type: application/json" \-d '{"gears": ["find the module: 22-tooth pinion, ratio 4, 7.5 kW at 1450 rpm, carburized, Qv 8, 20000 hours, safety 1.5"]}'
run-sync instead returns the run's OUTPUT: the status, the counts and every result as JSON.
In Python, with the apify-client package:
from apify_client import ApifyClientclient = ApifyClient("YOUR_TOKEN")run = client.actor("jumblemog/gear-calculator").call(run_input={"gears": [{"pinionTeeth": 17, "gearTeeth": 52, "diametralPitch": 10, "faceWidth": "1.5 in","power": "4 hp", "rpm": 1800, "hardness": 240, "cycles": 1e8, "reliability": 90}],})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item["summary"])
Credits
- Charts: Vega-Lite and vl-convert (BSD-3-Clause), with the Inter font (SIL Open Font License).
- Method: AGMA 2001-D04 and AGMA 908-B89 as presented in Budynas and Nisbett, Shigley's Mechanical Engineering Design, chapters 13 and 14.