Pipe Weight Calculator in Kg/mtr

Pipe Weight Calculator (kg/mtr) :root { –primary-color: #004a99; –success-color: #28a745; –background-color: #f8f9fa; –text-color: #333; –border-color: #ccc; –card-background: #fff; –shadow: 0 2px 4px rgba(0,0,0,.1); } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(–background-color); color: var(–text-color); margin: 0; padding: 0; line-height: 1.6; } .container { max-width: 980px; margin: 20px auto; padding: 20px; background-color: var(–card-background); border-radius: 8px; box-shadow: var(–shadow); } h1, h2, h3 { color: var(–primary-color); text-align: center; margin-bottom: 1.5em; } h1 { font-size: 2.2em; } h2 { font-size: 1.8em; } h3 { font-size: 1.4em; } .input-group { margin-bottom: 20px; padding: 15px; border: 1px solid var(–border-color); border-radius: 5px; background-color: #fdfdfd; } .input-group label { display: block; margin-bottom: 8px; font-weight: bold; color: var(–primary-color); } .input-group input[type="number"], .input-group select { width: calc(100% – 22px); padding: 10px; margin-bottom: 5px; border: 1px solid var(–border-color); border-radius: 4px; font-size: 1em; } .input-group small { display: block; margin-top: 5px; font-size: 0.9em; color: #666; } .error-message { color: #dc3545; font-size: 0.9em; margin-top: 5px; } .button-group { display: flex; justify-content: center; gap: 15px; margin-top: 25px; } button { padding: 12px 25px; border: none; border-radius: 5px; cursor: pointer; font-size: 1.1em; font-weight: bold; transition: background-color 0.3s ease; } button.primary { background-color: var(–primary-color); color: white; } button.primary:hover { background-color: #003366; } button.reset { background-color: #6c757d; color: white; } button.reset:hover { background-color: #5a6268; } button.copy { background-color: #17a2b8; color: white; } button.copy:hover { background-color: #117a8b; } #results { margin-top: 30px; padding: 25px; background-color: var(–primary-color); color: white; border-radius: 8px; box-shadow: inset var(–shadow); text-align: center; } #results h2 { color: white; margin-bottom: 0.5em; } .main-result { font-size: 2.5em; font-weight: bold; margin: 15px 0; display: inline-block; padding: 10px 20px; background-color: var(–success-color); border-radius: 5px; } .intermediate-results { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; } .intermediate-results div { text-align: center; padding: 10px; background-color: rgba(255,255,255,0.2); border-radius: 5px; } .intermediate-results span { font-size: 1.4em; font-weight: bold; display: block; margin-top: 5px; } .formula-explanation { margin-top: 15px; font-size: 0.95em; opacity: 0.9; } table { width: 100%; border-collapse: collapse; margin-top: 30px; box-shadow: var(–shadow); } th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(–border-color); } thead { background-color: var(–primary-color); color: white; } th { font-weight: bold; } tbody tr:nth-child(even) { background-color: #f2f2f2; } caption { font-size: 1.1em; font-weight: bold; color: var(–primary-color); margin-bottom: 10px; text-align: left; } canvas { margin-top: 30px; display: block; border: 1px solid var(–border-color); border-radius: 5px; background-color: var(–card-background); box-shadow: var(–shadow); } .content-section { margin-top: 40px; padding-top: 30px; border-top: 1px solid #e0e0e0; } .content-section h2 { text-align: left; } .content-section p, .content-section ul, .content-section ol { margin-bottom: 1.5em; font-size: 1.05em; } .content-section ul, .content-section ol { padding-left: 25px; } .content-section li { margin-bottom: 0.8em; } .faq-item { margin-bottom: 15px; padding: 15px; background-color: #fff; border: 1px solid #ddd; border-radius: 5px; } .faq-item strong { color: var(–primary-color); cursor: pointer; } .faq-item p { margin-top: 10px; display: none; /* Hidden by default */ } .active { display: block !important; } .internal-links-section ul { list-style: none; padding: 0; } .internal-links-section li { margin-bottom: 10px; } .internal-links-section a { color: var(–primary-color); text-decoration: none; font-weight: bold; } .internal-links-section a:hover { text-decoration: underline; } .internal-links-section span { font-size: 0.9em; color: #666; margin-left: 10px; }

Pipe Weight Calculator (kg/mtr)

Effortlessly calculate the weight per meter of pipes for various materials and dimensions.

Enter the external diameter of the pipe in millimeters.
Enter the thickness of the pipe wall in millimeters.
Steel (Carbon Steel) Aluminum Stainless Steel (approx.) Lead Iron (Cast Iron) Plastic (PVC/PE approx.) Copper Custom Select the material or enter its density in kg per cubic meter.

Calculation Results

— kg/m
Weight per Meter (kg/m) = (Outer Diameter (m) – Wall Thickness (m)) * Wall Thickness (m) * π * Material Density (kg/m³)
Inner Diameter— mm
Cross-sectional Area— mm²
Volume per Meter— L

What is Pipe Weight Calculation?

The calculation of pipe weight per meter is a fundamental engineering and construction process used to determine the mass of a specific length of pipe. This calculation is crucial for material estimation, structural integrity assessments, transportation logistics, and cost analysis in various industries, including oil and gas, plumbing, construction, and manufacturing. Understanding the weight per meter helps in safely handling pipes, designing support structures, and accurately budgeting for projects.

Who Should Use It: Engineers (mechanical, civil, structural), project managers, procurement specialists, fabricators, contractors, and anyone involved in the specification, purchase, or installation of piping systems can benefit from this calculation. It's also useful for students learning about material science and engineering principles.

Common Misconceptions: A common misconception is that pipe weight is solely determined by its diameter. In reality, wall thickness and the material's density are equally, if not more, significant factors. Another misconception is that all pipes of the same nominal size weigh the same; actual weights vary greatly based on the specific schedule or wall thickness.

Pipe Weight Calculation Formula and Mathematical Explanation

The weight of a pipe per meter is calculated by first determining the volume of the material that makes up the pipe wall per meter of length, and then multiplying this volume by the material's density.

The formula used is derived from geometric principles and the definition of density:

Weight per Meter (kg/m) = Volume of Pipe Wall per Meter (m³) * Density of Material (kg/m³)

To find the volume of the pipe wall per meter:

The cross-sectional area of the pipe wall is the area of the outer circle minus the area of the inner circle.

Let:
OD = Outer Diameter (in meters)
WT = Wall Thickness (in meters)
ID = Inner Diameter (in meters) = OD – 2 * WT
ρ (rho) = Density of Material (in kg/m³)

Cross-sectional Area (m²) = Area of Outer Circle – Area of Inner Circle
= (π * (OD/2)²) – (π * (ID/2)²)
= (π/4) * (OD² – ID²)
= (π/4) * (OD² – (OD – 2*WT)²)
= (π/4) * (OD² – (OD² – 4*OD*WT + 4*WT²))
= (π/4) * (4*OD*WT – 4*WT²)
= π * OD * WT – π * WT²
= π * WT * (OD – WT)

The calculator simplifies this using the average radius concept or by directly calculating the area difference: The area of the annulus (pipe wall cross-section) is calculated as: Area = π * (R_outer² – R_inner²) Where: R_outer = Outer Diameter / 2 R_inner = Inner Diameter / 2 = (Outer Diameter – 2 * Wall Thickness) / 2

When working with millimeters and converting to meters: Outer Radius (m) = (Outer Diameter (mm) / 2) / 1000 Inner Radius (m) = (Outer Diameter (mm) – 2 * Wall Thickness (mm)) / 2 / 1000

The volume of the pipe wall per meter of length (in m³) is: Volume per Meter = Cross-sectional Area (m²) * 1 meter

Therefore, the Weight per Meter (kg/m) becomes: Weight per Meter = π * (R_outer² – R_inner²) * Density Or, using diameters directly and converting units: Weight per Meter (kg/m) = [(Outer Diameter (m)² – Inner Diameter (m)²) / 4] * π * Density (kg/m³) The calculator's simplified approach for area: Area (m²) = π * [ (OD/2)² – ((OD – 2*WT)/2)² ] Then, Weight/m = Area * Density

A more intuitive calculation for the calculator's output is:

Weight per Meter (kg/m) = (Cross-sectional Area of Metal (m²) * Density (kg/m³))

The calculator takes inputs in mm and density in kg/m³, converts appropriately, and calculates:

Inner Diameter (mm) = Outer Diameter (mm) – 2 * Wall Thickness (mm)
Cross-sectional Area (mm²) = π * [(Outer Diameter(mm)/2)² – (Inner Diameter(mm)/2)²]
Volume per Meter (m³) = Cross-sectional Area (mm²) / 1,000,000 m²/mm² * 1 m
Weight per Meter (kg/m) = Volume per Meter (m³) * Density (kg/m³)

Variables Table

Variable Meaning Unit Typical Range
Outer Diameter (OD) External diameter of the pipe mm 10 – 2000+
Wall Thickness (WT) Thickness of the pipe material mm 1 – 50+
Material Density (ρ) Mass per unit volume of the pipe material kg/m³ ~1000 (Plastics) to 14000 (Lead)
Inner Diameter (ID) Internal diameter of the pipe mm Calculated (OD – 2*WT)
Cross-sectional Area Area of the pipe wall material mm² Calculated
Volume per Meter Volume of pipe material per linear meter L (or m³) Calculated
Weight per Meter Mass of the pipe per linear meter kg/m Calculated

Practical Examples (Real-World Use Cases)

Example 1: Steel Pipe for Structural Application

A construction company is using a standard Schedule 40 steel pipe for a support structure.

  • Outer Diameter: 114.3 mm (4-inch nominal size)
  • Wall Thickness: 6.02 mm
  • Material: Carbon Steel

Using the pipe weight calculator:

The calculator inputs: OD = 114.3 mm, WT = 6.02 mm, Density = 7850 kg/m³ (typical for Carbon Steel).

Calculated Results:

  • Inner Diameter: 102.26 mm
  • Cross-sectional Area: 3171.7 mm²
  • Volume per Meter: 3.172 Liters (0.003172 m³)
  • Weight per Meter: 24.91 kg/m

Interpretation: Each meter of this steel pipe weighs approximately 24.91 kg. This information is vital for ordering the correct quantity of steel, calculating the load on foundations or support beams, and planning lifting equipment for installation.

Example 2: Aluminum Pipe for Aerospace Component

An aerospace manufacturer needs to calculate the weight of an aluminum pipe used in a fluid transfer system.

  • Outer Diameter: 50 mm
  • Wall Thickness: 3 mm
  • Material: Aluminum

Using the pipe weight calculator:

The calculator inputs: OD = 50 mm, WT = 3 mm, Density = 2700 kg/m³ (typical for Aluminum).

Calculated Results:

  • Inner Diameter: 44 mm
  • Cross-sectional Area: 1364.8 mm²
  • Volume per Meter: 1.365 Liters (0.001365 m³)
  • Weight per Meter: 3.69 kg/m

Interpretation: This aluminum pipe weighs about 3.69 kg per meter. In aerospace, weight is a critical factor. This precise calculation allows for accurate weight budgets, fuel efficiency estimations, and ensures the component meets stringent performance requirements.

How to Use This Pipe Weight Calculator

Using our pipe weight calculator is straightforward and designed for quick, accurate results. Follow these simple steps:

  1. Measure Pipe Dimensions: Accurately determine the Outer Diameter of the pipe in millimeters (mm) and its Wall Thickness in millimeters (mm). Precision here is key to an accurate weight calculation.
  2. Select Material Density: Choose your pipe's material from the dropdown list. Common materials like Steel, Aluminum, Stainless Steel, and Plastic are pre-loaded with their typical densities (in kg/m³). If your material or its exact density is not listed, select 'Custom' and enter the specific density value. Refer to material datasheets for accurate density figures.
  3. Calculate: Click the "Calculate" button.
  4. Review Results: The calculator will instantly display:
    • Main Result: The primary weight calculation in kilograms per meter (kg/m), highlighted prominently.
    • Intermediate Values: Such as the calculated Inner Diameter (mm), Cross-sectional Area (mm²), and Volume per Meter (Liters). These provide further insight into the pipe's geometry and material volume.
    • Formula Explanation: A brief summary of the calculation method used.
  5. Use Calculation Data: The results can be used for material purchasing, structural load calculations, shipping estimates, and cost analysis. Use the "Copy Results" button to easily transfer the key figures to your reports or spreadsheets.
  6. Reset: If you need to perform a new calculation or correct an entry, click the "Reset" button to clear all fields and return them to sensible defaults.

Decision-Making Guidance: The calculated weight per meter is a critical data point. Compare the results against project specifications, compare weights of different materials for cost or performance trade-offs, and ensure that lifting and handling equipment are rated appropriately for the calculated weights.

Key Factors That Affect Pipe Weight Results

Several factors significantly influence the calculated weight per meter of a pipe. Understanding these helps in interpreting results and ensuring accuracy:

  • Outer Diameter: A larger outer diameter, especially with the same wall thickness, will result in a greater cross-sectional area of the pipe wall, thus increasing the weight per meter. This is a primary geometric factor.
  • Wall Thickness: This is arguably the most impactful factor after diameter. Even a small increase in wall thickness dramatically increases the volume of material, leading to a proportionally higher weight per meter. Pipes are often categorized by 'schedule' or thickness, which directly correlates to weight.
  • Material Density: Different materials have vastly different densities. For example, lead is much denser than aluminum. A pipe made of a denser material will weigh significantly more per meter than an identical pipe made of a less dense material, even if their dimensions are the same. Accurate density is crucial.
  • Manufacturing Tolerances: Real-world pipes have manufacturing tolerances for both outer diameter and wall thickness. These slight variations can lead to minor deviations in the calculated weight from the theoretical value. For critical applications, understanding these tolerances is important.
  • Pipe End Condition (for total weight): While this calculator focuses on weight *per meter*, the total weight of a pipe section also depends on the length. Furthermore, if calculating the weight of a spooled or pre-fabricated section, fittings, flanges, or any modifications at the ends can add extra weight not accounted for by the simple kg/m calculation.
  • Corrosion or Fouling: Over time, pipes can experience internal or external corrosion, scaling, or buildup of material (fouling). This adds mass to the pipe, increasing its effective weight. This calculator assumes a clean pipe with its original material properties.
  • Temperature Effects: While generally minor for solid materials at typical ambient temperatures, extreme temperature variations can cause thermal expansion or contraction, slightly altering dimensions and thus density and weight. For most practical purposes, this effect is negligible.

Frequently Asked Questions (FAQ)

What is the difference between weight and mass?

Mass is the amount of matter in an object, typically measured in kilograms (kg). Weight is the force exerted on that mass by gravity, often also expressed in kilograms for convenience in engineering contexts but technically a force (Newtons). This calculator outputs mass in kg/m.

Does the calculator account for hollow sections or solid bars?

This calculator is specifically designed for hollow pipes, calculating the weight based on the material forming the cylindrical shell (outer diameter and wall thickness). It does not calculate for solid bars or rods.

What does 'kg/m' mean?

'kg/m' stands for kilograms per meter. It indicates the mass of one linear meter of the pipe. This is a standard unit for expressing the weight of long, uniform objects like pipes, cables, or beams.

Can I use this calculator for non-circular pipes?

No, this calculator is specifically designed for pipes with a circular cross-section. Calculating weights for pipes with square, rectangular, or other complex cross-sections requires different formulas.

How accurate are the pre-set material densities?

The densities provided for common materials (Steel, Aluminum, etc.) are typical average values. Actual densities can vary slightly depending on the specific alloy composition, manufacturing process, and purity of the material. For highly critical applications, always use the exact density value provided by the material supplier.

What if my pipe's dimensions are in inches?

You will need to convert your inch measurements to millimeters before entering them into the calculator. 1 inch = 25.4 millimeters. Ensure all dimensions (Outer Diameter, Wall Thickness) are converted consistently.

How do I find the density for a custom material?

You can usually find the density of a material in its technical datasheet, specifications, or by searching reliable engineering resources online. Ensure the density is in kg/m³ for correct calculation.

Can this calculator be used for pressure ratings?

No, this calculator is solely for determining the physical weight of the pipe material. It does not provide any information regarding the pipe's pressure handling capabilities, structural strength, or material grades suitable for specific pressures.

© 2023 Pipe Weight Calculator. All rights reserved.

var PI = Math.PI; function getNumericValue(id) { var element = document.getElementById(id); if (element) { var value = parseFloat(element.value); return isNaN(value) ? null : value; } return null; } function validateInput(id, errorMessageId, minValue, maxValue, isEmptyAllowed) { var value = getNumericValue(id); var errorElement = document.getElementById(errorMessageId); if (!errorElement) return false; if (value === null) { if (isEmptyAllowed) { errorElement.textContent = ""; return true; } else { errorElement.textContent = "This field is required."; return false; } } if (minValue !== undefined && value maxValue) { errorElement.textContent = "Value exceeds maximum limit."; return false; } errorElement.textContent = ""; return true; } function updateCustomDensityInput() { var select = document.getElementById('materialDensity'); var customInput = document.getElementById('customDensity'); if (select.value === 'custom') { customInput.style.display = 'block'; } else { customInput.style.display = 'none'; customInput.value = "; // Clear custom input if not selected } } function getDensity() { var select = document.getElementById('materialDensity'); var customInput = document.getElementById('customDensity'); if (select.value === 'custom') { var customValue = getNumericValue('customDensity'); if (customValue !== null && customValue > 0) { return customValue; } else { return null; // Invalid custom density } } else { return parseFloat(select.value); } } function calculatePipeWeight() { var odMm = getNumericValue('outerDiameter'); var wtMm = getNumericValue('wallThickness'); var density = getDensity(); var isValid = true; isValid = validateInput('outerDiameter', 'outerDiameterError', 0) && isValid; isValid = validateInput('wallThickness', 'wallThicknessError', 0) && isValid; if (document.getElementById('materialDensity').value === 'custom') { isValid = validateInput('customDensity', 'materialDensityError', 100) && isValid; // Minimum density for custom } else { isValid = validateInput('materialDensity', 'materialDensityError', 0) && isValid; // Check if select value is valid number if not custom } if (!isValid || odMm === null || wtMm === null || density === null) { document.getElementById('results').style.display = 'none'; return; } // Ensure wall thickness is not greater than half the outer diameter if (wtMm * 2 >= odMm) { document.getElementById('wallThicknessError').textContent = "Wall thickness cannot be more than half the outer diameter."; document.getElementById('results').style.display = 'none'; return; } else { document.getElementById('wallThicknessError').textContent = ""; } var odM = odMm / 1000; var wtM = wtMm / 1000; var idMm = odMm – (2 * wtMm); var idM = idMm / 1000; // Area of the annulus (pipe wall cross-section) in m^2 var areaM2 = PI * (Math.pow(odM / 2, 2) – Math.pow(idM / 2, 2)); // Volume per meter in m^3 var volumePerMeterM3 = areaM2 * 1; // Multiply by 1 meter // Volume per meter in Liters (1 m^3 = 1000 Liters) var volumePerMeterLiters = volumePerMeterM3 * 1000; // Weight per meter in kg/m var weightPerMeterKgM = volumePerMeterM3 * density; // Display results document.getElementById('mainResult').textContent = weightPerMeterKgM.toFixed(2) + ' kg/m'; document.getElementById('innerDiameterResult').querySelector('span').textContent = idMm.toFixed(2) + ' mm'; document.getElementById('crossSectionalAreaResult').querySelector('span').textContent = (areaM2 * 1000000).toFixed(2) + ' mm²'; document.getElementById('volumePerMeterResult').querySelector('span').textContent = volumePerMeterLiters.toFixed(3) + ' L'; document.getElementById('results').style.display = 'block'; // Update chart updateChart(odMm, wtMm, density, weightPerMeterKgM); } function resetCalculator() { document.getElementById('outerDiameter').value = '114.3'; document.getElementById('wallThickness').value = '6.02'; document.getElementById('materialDensity').value = '7850'; // Steel document.getElementById('customDensity').value = "; document.getElementById('customDensity').style.display = 'none'; document.getElementById('outerDiameterError').textContent = "; document.getElementById('wallThicknessError').textContent = "; document.getElementById('materialDensityError').textContent = "; document.getElementById('results').style.display = 'none'; // Optionally reset chart data or clear it clearChart(); } function copyResults() { var mainResult = document.getElementById('mainResult').textContent; var innerDiameter = document.getElementById('innerDiameterResult').querySelector('span').textContent; var crossSectionalArea = document.getElementById('crossSectionalAreaResult').querySelector('span').textContent; var volumePerMeter = document.getElementById('volumePerMeterResult').querySelector('span').textContent; var od = document.getElementById('outerDiameter').value; var wt = document.getElementById('wallThickness').value; var densityValue = document.getElementById('materialDensity').value; var densityText = document.getElementById('materialDensity').options[document.getElementById('materialDensity').selectedIndex].text; if (densityValue === 'custom') { densityText = 'Custom (' + document.getElementById('customDensity').value + ' kg/m³)'; } var copyText = "Pipe Weight Calculation Results:\n\n"; copyText += "Main Result: " + mainResult + "\n"; copyText += "Inner Diameter: " + innerDiameter + "\n"; copyText += "Cross-sectional Area: " + crossSectionalArea + "\n"; copyText += "Volume per Meter: " + volumePerMeter + "\n\n"; copyText += "Inputs Used:\n"; copyText += "Outer Diameter: " + od + " mm\n"; copyText += "Wall Thickness: " + wt + " mm\n"; copyText += "Material Density: " + densityText + "\n"; navigator.clipboard.writeText(copyText).then(function() { alert('Results copied to clipboard!'); }, function(err) { console.error('Failed to copy text: ', err); alert('Failed to copy. Please copy manually.'); }); } function toggleFaq(element) { var paragraph = element.nextElementSibling; paragraph.classList.toggle('active'); } // Charting Logic var ctx; var weightChart; function initializeChart() { var canvas = document.getElementById('weightChartCanvas'); if (canvas) { ctx = canvas.getContext('2d'); weightChart = new Chart(ctx, { type: 'bar', // Use bar chart for better comparison of discrete values data: { labels: ['Weight per Meter (kg/m)', 'Volume per Meter (L)'], datasets: [{ label: 'Pipe Performance', data: [0, 0], backgroundColor: [ 'rgba(0, 74, 153, 0.7)', // Primary color for Weight 'rgba(40, 167, 69, 0.7)' // Success color for Volume ], borderColor: [ 'rgba(0, 74, 153, 1)', 'rgba(40, 167, 69, 1)' ], borderWidth: 1 }] }, options: { responsive: true, maintainAspectRatio: false, scales: { y: { beginAtZero: true, title: { display: true, text: 'Value' } } }, plugins: { title: { display: true, text: 'Pipe Weight vs. Volume per Meter' }, legend: { display: true, position: 'top' } } } }); } } function updateChart(odMm, wtMm, density, weightPerMeterKgM) { if (!ctx || !weightChart) { // Canvas might not be rendered yet or doesn't exist // Attempt to initialize if it exists, otherwise skip update var canvas = document.getElementById('weightChartCanvas'); if(canvas){ initializeChart(); // Retry update after initialization updateChart(odMm, wtMm, density, weightPerMeterKgM); } return; } var odM = odMm / 1000; var wtM = wtMm / 1000; var idM = (odMm – 2 * wtMm) / 1000; var areaM2 = PI * (Math.pow(odM / 2, 2) – Math.pow(idM / 2, 2)); var volumePerMeterLiters = areaM2 * 1000 * 1; // Volume in Liters weightChart.data.datasets[0].data = [weightPerMeterKgM, volumePerMeterLiters]; weightChart.data.labels = ['Weight per Meter (' + weightPerMeterKgM.toFixed(2) + ' kg/m)', 'Volume per Meter (' + volumePerMeterLiters.toFixed(2) + ' L)']; weightChart.update(); } function clearChart() { if (weightChart) { weightChart.data.datasets[0].data = [0, 0]; weightChart.data.labels = ['Weight per Meter (kg/m)', 'Volume per Meter (L)']; weightChart.update(); } } // Initial setup document.addEventListener('DOMContentLoaded', function() { updateCustomDensityInput(); // Set initial display for custom density input document.getElementById('materialDensity').addEventListener('change', updateCustomDensityInput); // Initialize chart on load IF the canvas element exists within the calculator section // Ensure the canvas is placed appropriately within the HTML for this to work. // For this example, I'll assume it's placed after the results div. var canvasElement = document.createElement('canvas'); canvasElement.id = 'weightChartCanvas'; document.getElementById('calculator').appendChild(canvasElement); // Appending to calculator section initializeChart(); // Trigger initial calculation on load if default values are set if(document.getElementById('outerDiameter').value && document.getElementById('wallThickness').value && document.getElementById('materialDensity').value){ calculatePipeWeight(); } });

Leave a Comment