Spur Gear Calculator

Spur Gear Dimensions Calculator

Spur gears are the most common type of gear, characterized by straight teeth mounted on a parallel axis. They are used to transmit motion and power between two parallel shafts. Understanding their precise dimensions is crucial for proper design, manufacturing, and assembly in various mechanical systems, from simple toys to complex industrial machinery.

Key Spur Gear Terminology:

  • Module (m): A fundamental unit of size for gears, representing the ratio of the reference diameter to the number of teeth. It's a standardized value that ensures interchangeability.
  • Number of Teeth (z): The total count of teeth on the gear.
  • Reference Diameter (Pitch Diameter, d): The diameter of the pitch circle, which is the theoretical circle where two mating gears make contact. It's the basis for most gear calculations.
  • Outside Diameter (da): The largest diameter of the gear, measured across the tips of the teeth.
  • Root Diameter (df): The smallest diameter of the gear, measured at the bottom of the tooth spaces.
  • Addendum (ha): The radial distance from the pitch circle to the top of the tooth.
  • Dedendum (hf): The radial distance from the pitch circle to the bottom of the tooth space.
  • Whole Depth (h): The total radial depth of the tooth, from tip to root.
  • Circular Pitch (P): The distance between corresponding points on adjacent teeth, measured along the pitch circle.
  • Tooth Thickness (s): The width of a tooth measured along the pitch circle.
  • Space Width (e): The width of the tooth space measured along the pitch circle.

This calculator helps you determine the critical dimensions of a standard spur gear based on its Module and Number of Teeth. These calculations typically assume a standard pressure angle (commonly 20 degrees) and standard addendum/dedendum values (addendum = module, dedendum = 1.25 * module).

mm

Calculated Dimensions:

Reference Diameter (Pitch Diameter): mm
Outside Diameter: mm
Root Diameter: mm
Addendum: mm
Dedendum: mm
Whole Depth: mm
Circular Pitch: mm
Tooth Thickness: mm
Space Width: mm

How to Use the Calculator:

  1. Enter Module (m): Input the module value for your gear. This is a standard sizing parameter, often in millimeters.
  2. Enter Number of Teeth (z): Input the total number of teeth on the gear.
  3. Click "Calculate Gear Dimensions": The calculator will instantly display all the derived dimensions based on standard gear formulas.

Example Calculation:

Let's calculate the dimensions for a spur gear with a Module of 2 mm and 30 teeth:

  • Module (m) = 2 mm
  • Number of Teeth (z) = 30
  • Reference Diameter (d) = m * z = 2 * 30 = 60 mm
  • Addendum (ha) = m = 2 mm
  • Dedendum (hf) = 1.25 * m = 1.25 * 2 = 2.5 mm
  • Whole Depth (h) = 2.25 * m = 2.25 * 2 = 4.5 mm
  • Outside Diameter (da) = m * (z + 2) = 2 * (30 + 2) = 2 * 32 = 64 mm
  • Root Diameter (df) = m * (z – 2.5) = 2 * (30 – 2.5) = 2 * 27.5 = 55 mm
  • Circular Pitch (P) = π * m = π * 2 ≈ 6.283 mm
  • Tooth Thickness (s) = P / 2 = (π * m) / 2 ≈ 3.142 mm
  • Space Width (e) = P / 2 = (π * m) / 2 ≈ 3.142 mm

These calculated values provide the essential geometric data needed for manufacturing and integrating the spur gear into a mechanical system.

.spur-gear-calculator-container { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f9f9f9; padding: 25px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); max-width: 800px; margin: 20px auto; color: #333; } .spur-gear-calculator-container h2, .spur-gear-calculator-container h3 { color: #0056b3; text-align: center; margin-bottom: 20px; } .spur-gear-calculator-container p { line-height: 1.6; margin-bottom: 15px; } .spur-gear-calculator-container ul { list-style-type: disc; margin-left: 20px; margin-bottom: 15px; } .spur-gear-calculator-container ol { list-style-type: decimal; margin-left: 20px; margin-bottom: 15px; } .spur-gear-calculator-container li { margin-bottom: 8px; } .calculator-form { background-color: #eef7ff; padding: 20px; border-radius: 8px; margin-bottom: 25px; border: 1px solid #cce0ff; } .form-group { display: flex; align-items: center; margin-bottom: 15px; } .form-group label { flex: 1; font-weight: bold; margin-right: 15px; color: #0056b3; } .form-group input[type="number"] { flex: 2; padding: 10px; border: 1px solid #a8d4ff; border-radius: 5px; font-size: 16px; box-shadow: inset 0 1px 3px rgba(0,0,0,0.08); } .form-group span { margin-left: 10px; font-weight: bold; color: #555; } .calculator-form button { display: block; width: 100%; padding: 12px 20px; background-color: #007bff; color: white; border: none; border-radius: 5px; font-size: 18px; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; } .calculator-form button:hover { background-color: #0056b3; transform: translateY(-2px); } .calculator-form button:active { transform: translateY(0); } .calculator-results { background-color: #e6ffe6; padding: 20px; border-radius: 8px; border: 1px solid #b3ffb3; } .calculator-results h3 { color: #28a745; margin-top: 0; margin-bottom: 20px; text-align: center; } .result-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed #cce0cc; } .result-item:last-child { border-bottom: none; } .result-item span:first-child { font-weight: bold; color: #333; } .result-item span:last-child { color: #007bff; font-weight: bold; } function calculateGearDimensions() { var moduleInput = document.getElementById("moduleInput").value; var numTeethInput = document.getElementById("numTeethInput").value; var errorMessage = document.getElementById("errorMessage"); errorMessage.textContent = ""; // Clear previous errors var m = parseFloat(moduleInput); var z = parseInt(numTeethInput); if (isNaN(m) || m <= 0) { errorMessage.textContent = "Please enter a valid positive Module."; return; } if (isNaN(z) || z <= 0) { errorMessage.textContent = "Please enter a valid positive Number of Teeth."; return; } // Calculations var d = m * z; // Reference Diameter (Pitch Diameter) var ha = m; // Addendum var hf = 1.25 * m; // Dedendum (standard) var h = ha + hf; // Whole Depth var da = m * (z + 2); // Outside Diameter var df = m * (z – 2.5); // Root Diameter var P = Math.PI * m; // Circular Pitch var s = P / 2; // Tooth Thickness (standard) var e = P / 2; // Space Width (standard) // Display results, formatted to 3 decimal places document.getElementById("pitchDiameterOutput").textContent = d.toFixed(3); document.getElementById("outsideDiameterOutput").textContent = da.toFixed(3); document.getElementById("rootDiameterOutput").textContent = df.toFixed(3); document.getElementById("addendumOutput").textContent = ha.toFixed(3); document.getElementById("dedendumOutput").textContent = hf.toFixed(3); document.getElementById("wholeDepthOutput").textContent = h.toFixed(3); document.getElementById("circularPitchOutput").textContent = P.toFixed(3); document.getElementById("toothThicknessOutput").textContent = s.toFixed(3); document.getElementById("spaceWidthOutput").textContent = e.toFixed(3); } // Run calculation on page load with default values document.addEventListener('DOMContentLoaded', function() { calculateGearDimensions(); });

Leave a Reply

Your email address will not be published. Required fields are marked *