Calculate Concentration Weight Radioactive Source

Radioactive Source Concentration Weight Calculator body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; background-color: #f8f9fa; margin: 0; padding: 0; } .container { max-width: 960px; margin: 20px auto; padding: 25px; background-color: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; align-items: center; } h1, h2, h3 { color: #004a99; text-align: center; } h1 { margin-bottom: 10px; } .sub-heading { font-size: 1.1em; color: #555; text-align: center; margin-bottom: 30px; } .calculator-section { width: 100%; margin-bottom: 40px; padding: 30px; border: 1px solid #e0e0e0; border-radius: 8px; background-color: #fdfdfd; } .calculator-section h2 { margin-top: 0; text-align: left; } .input-group { margin-bottom: 20px; width: 100%; } .input-group label { display: block; margin-bottom: 8px; font-weight: bold; color: #004a99; } .input-group input[type="number"], .input-group select { width: calc(100% – 24px); padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 1em; box-sizing: border-box; } .input-group .helper-text { font-size: 0.85em; color: #666; margin-top: 5px; display: block; } .error-message { color: #dc3545; font-size: 0.85em; margin-top: 5px; display: none; width: 100%; } .error-message.visible { display: block; } .button-group { display: flex; justify-content: space-between; margin-top: 25px; flex-wrap: wrap; gap: 10px; } button { padding: 12px 20px; border: none; border-radius: 4px; font-size: 1em; font-weight: bold; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; text-transform: uppercase; } .btn-primary { background-color: #004a99; color: white; } .btn-primary:hover { background-color: #003366; transform: translateY(-1px); } .btn-secondary { background-color: #6c757d; color: white; } .btn-secondary:hover { background-color: #5a6268; transform: translateY(-1px); } .btn-success { background-color: #28a745; color: white; } .btn-success:hover { background-color: #218838; transform: translateY(-1px); } .result-box { background-color: #e9ecef; padding: 20px; border-radius: 8px; margin-top: 25px; width: 100%; text-align: center; border: 1px solid #dee2e6; } .result-box h3 { margin-top: 0; color: #004a99; text-align: center; font-size: 1.4em; margin-bottom: 15px; } .primary-result { font-size: 2.5em; font-weight: bold; color: #28a745; display: block; margin-bottom: 15px; padding: 10px; border-radius: 5px; background-color: #d4edda; } .intermediate-results p, .formula-explanation p { margin: 8px 0; font-size: 1.1em; color: #333; } .formula-explanation { margin-top: 20px; text-align: left; font-style: italic; color: #555; border-top: 1px dashed #ccc; padding-top: 15px; } .chart-container { width: 100%; margin-top: 30px; text-align: center; } .chart-container canvas { max-width: 100%; height: auto; } .table-container { width: 100%; margin-top: 30px; overflow-x: auto; } table { width: 100%; border-collapse: collapse; margin-top: 10px; } th, td { padding: 10px 12px; border: 1px solid #ddd; text-align: right; } th { background-color: #004a99; color: white; font-weight: bold; text-align: center; } td { background-color: #f9f9f9; } tr:nth-child(even) td { background-color: #fff; } caption { font-size: 1.1em; font-weight: bold; color: #004a99; margin-bottom: 10px; text-align: left; } .article-section { margin-top: 40px; width: 100%; padding: 25px; border: 1px solid #e0e0e0; border-radius: 8px; background-color: #fdfdfd; } .article-section h2 { text-align: left; margin-top: 0; } .article-section p, .article-section ul, .article-section ol, .article-section table { margin-bottom: 20px; } .article-section ul, .article-section ol { padding-left: 20px; } .article-section li { margin-bottom: 10px; } .article-section a { color: #004a99; text-decoration: none; font-weight: bold; } .article-section a:hover { text-decoration: underline; } .faq-item { margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px dashed #eee; } .faq-item:last-child { border-bottom: none; margin-bottom: 0; } .faq-item strong { color: #004a99; display: block; margin-bottom: 5px; } .variables-table th, .variables-table td { text-align: left; } .variables-table th { background-color: #5a6268; } .summary-paragraph { font-size: 1.1em; color: #555; margin-bottom: 30px; } .related-tools { margin-top: 30px; padding-top: 20px; border-top: 2px solid #004a99; } .related-tools h3 { text-align: left; } .related-tools ul { list-style: none; padding: 0; } .related-tools li { margin-bottom: 15px; font-size: 1.1em; } .related-tools a { font-weight: bold; } .related-tools span { font-size: 0.9em; color: #666; display: block; margin-top: 5px; } @media (max-width: 768px) { .container { margin: 10px; padding: 15px; } button { width: 100%; margin-bottom: 10px; } .button-group { flex-direction: column; align-items: center; } .chart-container, .table-container { width: 100%; } }

Radioactive Source Concentration Weight Calculator

Calculate and understand the concentration weight of radioactive materials for accurate safety and handling assessments.

Concentration Weight Calculator

Enter the total radioactive decay rate of the source.
Enter the total mass of the physical material containing the radioactivity.
Bq/g mBq/g GBq/g TBq/g Select the unit for the calculated concentration.

Calculation Results

Activity Concentration (Bq/g):

Activity Concentration (Selected Unit):

Specific Activity (Bq/g):

Formula Used: Concentration Weight is calculated by dividing the Total Activity of the source by its Mass. Specific Activity is often used interchangeably and represents the radioactivity per unit mass of a material.

Activity Distribution vs. Mass

Concentration Breakdown

Metric Value Unit

Key Assumptions

The source material is homogeneous in its radioactive distribution.

The provided Total Activity and Mass are accurate measurements.

Units are standard SI units unless otherwise specified.

What is Radioactive Source Concentration Weight?

{primary_keyword} refers to the amount of radioactive material present per unit mass or volume of a substance. In simpler terms, it quantifies how "concentrated" the radioactivity is within the source material. This metric is crucial for assessing radiation hazards, determining shielding requirements, and ensuring compliance with safety regulations when handling radioactive sources. It helps differentiate between a large, dilute source and a small, potent one, even if they have the same total activity.

Who should use it: This calculator and the understanding of concentration weight are essential for nuclear physicists, health physicists, radiation safety officers, laboratory technicians working with radioisotopes, environmental scientists monitoring radiation, and anyone involved in the lifecycle of radioactive materials, from production to disposal. It's also vital for emergency responders who need to assess potential radiation risks.

Common misconceptions: A common misunderstanding is that total activity alone dictates the danger. However, concentration weight provides a more nuanced view. A gram of a highly concentrated radioactive material can be far more dangerous to handle directly than a kilogram of a dilute material with the same total activity, due to proximity effects and the intensity of radiation fields at the source surface. Another misconception is that all radioactive materials are equally dangerous; concentration weight, alongside the type of radiation emitted and half-life, are critical factors in hazard assessment.

Radioactive Source Concentration Weight Formula and Mathematical Explanation

The core calculation for concentration weight, often synonymous with specific activity when referring to mass, is straightforward. It directly relates the total radioactivity of a source to its physical mass.

The Formula

The concentration weight (or specific activity) is typically calculated as:

Concentration Weight = Total Activity / Source Mass

Variable Explanations

  • Total Activity (A): This is the measure of the rate at which radioactive atoms in a sample decay. It is typically expressed in Becquerels (Bq), which represent one decay per second. Common multiples include Kilobecquerels (kBq), Megabecquerels (MBq), Gigabecquerels (GBq), and Terabecquerels (TBq).
  • Source Mass (M): This is the total mass of the physical material that contains the radioactive substance. It is usually measured in grams (g) or kilograms (kg).

Variables Table

Variable Meaning Unit Typical Range
A (Total Activity) Rate of radioactive decays in the source Bq (or kBq, MBq, GBq, TBq) 1 Bq to > 1018 Bq (depending on source strength)
M (Source Mass) Total physical mass of the material g (or kg) 1 mg to several kg (or more for large inventories)
C (Concentration Weight) Radioactivity per unit mass Bq/g (or other scaled units) Highly variable, from negligible to > 1015 Bq/g

The resulting unit for concentration weight will be a unit of activity divided by a unit of mass, such as Bq/g. The calculator allows selection of common scaled units for convenience, such as mBq/g, GBq/g, or TBq/g, by applying appropriate conversion factors.

Practical Examples (Real-World Use Cases)

Understanding {primary_keyword} is vital in various practical scenarios:

Example 1: Handling a Radium-226 Sample

A research laboratory is preparing a calibration source using Radium-226 (Ra-226). They have synthesized 10 grams of a compound containing Ra-226, and its total activity is measured to be 370 MBq (Megabecquerels).

Inputs:

  • Total Activity: 370 MBq = 370,000,000 Bq
  • Source Mass: 10 g
  • Desired Concentration Unit: MBq/g

Calculation:

  • Activity Concentration (Bq/g) = 370,000,000 Bq / 10 g = 37,000,000 Bq/g
  • Activity Concentration (MBq/g) = 37,000,000 Bq/g / 1,000,000 Bq/MBq = 37 MBq/g
  • Specific Activity (Bq/g) = 37,000,000 Bq/g

Interpretation: The concentration weight is 37 MBq/g. This value informs researchers about the intensity of the source per gram. Given Ra-226 emits primarily alpha particles and energetic gamma rays, this concentration is significant and requires appropriate shielding (e.g., lead for gamma) and handling procedures (e.g., fume hood, remote tools) to minimize radiation exposure. A higher concentration would necessitate more stringent precautions.

Example 2: Assessing a Uranium Ore Sample

An environmental monitoring team is analyzing a sample of uranium ore. The sample weighs 500 grams and exhibits a total activity of 50 GBq (Gigabecquerels) due to naturally occurring uranium isotopes and their decay products.

Inputs:

  • Total Activity: 50 GBq = 50,000,000,000 Bq
  • Source Mass: 500 g
  • Desired Concentration Unit: GBq/g

Calculation:

  • Activity Concentration (Bq/g) = 50,000,000,000 Bq / 500 g = 100,000,000 Bq/g
  • Activity Concentration (GBq/g) = 100,000,000 Bq/g / 1,000,000,000 Bq/GBq = 0.1 GBq/g
  • Specific Activity (Bq/g) = 100,000,000 Bq/g

Interpretation: The concentration weight is 0.1 GBq/g. While this might seem high, it's important to consider that uranium ore is typically much less concentrated than purified isotopes used in specialized sources. This specific activity level informs the team about the potential for environmental contamination and the need for proper containment and waste management procedures. For regulatory purposes concerning Naturally Occurring Radioactive Materials (NORM), this concentration may fall within certain thresholds, influencing required safety protocols.

How to Use This Radioactive Source Concentration Weight Calculator

This calculator simplifies the process of determining the concentration weight of radioactive sources. Follow these steps for accurate results:

  1. Enter Total Activity: Input the total radioactive decay rate of your source in Becquerels (Bq). Ensure this is an accurate measurement from a calibrated instrument. Use standard prefixes (e.g., 1 MBq = 1,000,000 Bq).
  2. Enter Source Mass: Provide the total physical mass of the material containing the radioactivity in grams (g).
  3. Select Concentration Unit: Choose your preferred unit for displaying the concentration weight. Common options include Bq/g, mBq/g, GBq/g, or TBq/g.
  4. Click Calculate: Press the "Calculate" button to see the results. The primary result, intermediate values, and supporting data will update automatically.
  5. Interpret Results: The main output shows the concentration weight in your selected unit. The intermediate values provide the same calculation in Bq/g and also the specific activity. Review the formula explanation and supporting table for a detailed breakdown.

How to read results: The primary result is the concentration weight in your chosen unit (e.g., 37 MBq/g). The "Activity Concentration (Bq/g)" shows the value in base units. "Specific Activity" is often the same as Activity Concentration (Bq/g) and represents the inherent radioactivity per unit mass. The chart visualizes how activity might hypothetically change if mass varied, and the table summarizes the key metrics.

Decision-making guidance: A higher concentration weight generally indicates a more intense radiation field per unit mass, requiring more robust shielding and stricter handling protocols. It helps compare different radioactive materials or different batches of the same material. For regulatory compliance, concentration limits often apply, especially for NORM or waste disposal, making this calculation critical for categorization and management.

Key Factors That Affect Radioactive Source Concentration Weight Results

While the basic formula is simple, several underlying factors and considerations influence the interpretation and accuracy of {primary_keyword} calculations:

  1. Homogeneity of the Source: The calculation assumes the radioactive isotopes are evenly distributed throughout the entire mass of the source material. If the radioactivity is concentrated in specific parts (e.g., surface contamination, segregated inclusions), the calculated average concentration might not reflect the true hazard of localized "hot spots."
  2. Accuracy of Activity Measurement: The total activity measurement is critical. Factors like detector efficiency, background radiation, self-absorption within the sample, and calibration of instruments directly impact the accuracy of the input activity, and consequently, the calculated concentration weight.
  3. Accuracy of Mass Measurement: Similarly, precise weighing of the source material is essential. Variations in humidity, sample preparation, or the weighing instrument itself can lead to inaccuracies in the mass input.
  4. Isotopic Composition: While total activity is measured, different isotopes have vastly different decay energies and types of radiation. A high concentration of a low-energy beta emitter might pose a different risk profile than the same concentration of a high-energy gamma emitter. The concentration weight calculation itself doesn't differentiate isotopes, but it's a factor in overall hazard assessment.
  5. Presence of Non-Radioactive Matrix Material: The "Source Mass" includes all material, radioactive and non-radioactive. A large mass of inert carrier material can dilute the radioactive component, resulting in a lower concentration weight compared to a pure radioactive substance.
  6. Radioactive Decay Over Time: Radioactive sources decay. If the total activity measurement was taken at a different time than the mass measurement, or if the source is old, the activity will have decreased due to radioactive decay. This needs to be accounted for, especially when comparing historical data or ensuring sources remain within specification over their lifetime.
  7. Units and Prefixes: Care must be taken to ensure consistency in units. Mixing Bq with GBq, or grams with kilograms, without proper conversion will lead to erroneous results. The calculator helps manage this by allowing unit selection, but user input must be correct.

Frequently Asked Questions (FAQ)

Q1: What is the difference between Total Activity and Concentration Weight?

Total Activity (measured in Bq) is the overall rate of decay for the entire source. Concentration Weight (e.g., Bq/g) is this activity distributed over the mass of the material. A large source with low concentration can have the same total activity as a small source with high concentration.

Q2: Does Concentration Weight tell me about the type of radiation?

No, the concentration weight calculation itself does not specify the type of radiation (alpha, beta, gamma) or its energy. This information is crucial for hazard assessment and must be considered alongside the concentration weight.

Q3: Can I use concentration weight to determine shielding needs?

Concentration weight is a key input for determining shielding. A higher concentration weight generally implies a stronger radiation field at close proximity, necessitating thicker or denser shielding, particularly for penetrating radiation like gamma rays.

Q4: What are typical concentration limits for radioactive waste?

Concentration limits vary significantly based on the specific radionuclide, the regulatory framework (e.g., IAEA, national regulations), and the disposal pathway. Some materials below certain concentration thresholds may be considered non-radioactive waste.

Q5: Is Specific Activity the same as Concentration Weight?

Often, yes. "Specific Activity" typically refers to the activity per unit mass (e.g., Bq/g) of a particular radionuclide. "Concentration Weight" can be a broader term referring to activity per unit mass or volume of a source material, which may include multiple radionuclides or non-radioactive matrix. For a simple source, they are effectively the same calculation.

Q6: How does a non-homogeneous source affect the calculation?

For a non-homogeneous source, the calculated average concentration weight might be misleading. "Hot spots" with much higher local concentrations pose a greater risk than the average value suggests, requiring localized assessment and handling procedures.

Q7: My source is very old. Should I still use its original activity?

No. If your source is old, its current total activity will be significantly lower than its initial activity due to radioactive decay. You must use the *current* measured activity for an accurate concentration weight calculation. The half-life of the radionuclide is key to estimating decay.

Q8: What happens if I enter zero for mass or activity?

Entering zero for mass would lead to a division-by-zero error or an infinite concentration, which is physically impossible. Entering zero activity would result in zero concentration weight. The calculator includes basic validation to prevent division by zero and non-positive mass values.

Related Tools and Internal Resources

  • Radioactive Decay Calculator Estimate the remaining activity of a radioactive source after a certain time, considering its half-life.
  • Radiation Dose Rate Calculator Estimate the radiation dose rate at a given distance from a radioactive source, useful for shielding calculations.
  • Isotope Properties Database Lookup key properties of various radionuclides, including half-life, decay modes, and typical energies.
  • Shielding Thickness Calculator Determine the required thickness of shielding materials (like lead or concrete) to reduce radiation levels to acceptable limits.
  • Specific Activity Calculator Calculate the specific activity of a pure radionuclide based on its mass and half-life, a foundational concept for understanding radioactivity concentration.
  • Radioactive Material Inventory Management Tools and best practices for tracking and managing inventories of radioactive materials within a facility, crucial for safety and compliance.

© 2023 Your Company Name. All rights reserved.

var chartInstance = null; function validateInput(value, id, min, max, errorMessageElementId, label) { var errorElement = document.getElementById(errorMessageElementId); var isValid = true; errorElement.innerText = ""; errorElement.classList.remove('visible'); if (value === null || value === "") { errorElement.innerText = "This field cannot be empty."; isValid = false; } else { var numValue = parseFloat(value); if (isNaN(numValue)) { errorElement.innerText = "Please enter a valid number."; isValid = false; } else if (min !== undefined && numValue max) { errorElement.innerText = label + " cannot be greater than " + max + "."; isValid = false; } } if (!isValid) { errorElement.classList.add('visible'); } return isValid; } function calculateConcentrationWeight() { var totalActivity = parseFloat(document.getElementById("totalActivity").value); var sourceMass = parseFloat(document.getElementById("sourceMass").value); var concentrationUnit = document.getElementById("concentrationUnit").value; var isValid = true; isValid &= validateInput(totalActivity, "totalActivity", 0, undefined, "totalActivityError", "Total Activity"); isValid &= validateInput(sourceMass, "sourceMass", 0.000001, undefined, "sourceMassError", "Source Mass"); // Prevent division by zero or near-zero mass if (!isValid) { document.getElementById("results").style.display = "none"; return; } var activityConcentrationBqPerG = totalActivity / sourceMass; var specificActivity = activityConcentrationBqPerG; // Often synonymous for pure isotopes var concentrationMultiplier = 1; var selectedUnitLabel = "Bq/g"; switch (concentrationUnit) { case "mBq_per_g": concentrationMultiplier = 1e-3; selectedUnitLabel = "mBq/g"; break; case "GBq_per_g": concentrationMultiplier = 1e9; selectedUnitLabel = "GBq/g"; break; case "TBq_per_g": concentrationMultiplier = 1e12; selectedUnitLabel = "TBq/g"; break; case "Bq_per_g": default: concentrationMultiplier = 1; selectedUnitLabel = "Bq/g"; break; } var activityConcentrationSelectedUnit = activityConcentrationBqPerG / concentrationMultiplier; document.getElementById("activityConcentrationBqPerG").innerText = activityConcentrationBqPerG.toExponential(2); document.getElementById("activityConcentrationSelectedUnit").innerText = activityConcentrationSelectedUnit.toExponential(2); document.getElementById("specificActivity").innerText = specificActivity.toExponential(2); var primaryResultText = activityConcentrationSelectedUnit.toFixed(2) + " " + selectedUnitLabel; document.getElementById("primaryResult").innerText = primaryResultText; document.getElementById("results").style.display = "block"; updateTable(activityConcentrationBqPerG, activityConcentrationSelectedUnit, specificActivity, selectedUnitLabel); updateChart(totalActivity, sourceMass, activityConcentrationBqPerG); } function updateTable(bqPerG, selectedUnitValue, specificActivityBqPerG, selectedUnitLabel) { var tableBody = document.getElementById("resultsTableBody"); tableBody.innerHTML = ""; // Clear previous rows tableBody.innerHTML += "Activity Concentration" + bqPerG.toExponential(2) + "Bq/g"; tableBody.innerHTML += "Activity Concentration (" + selectedUnitLabel + ")" + selectedUnitValue.toExponential(2) + "" + selectedUnitLabel + ""; tableBody.innerHTML += "Specific Activity" + specificActivityBqPerG.toExponential(2) + "Bq/g"; } function updateChart(totalActivity, sourceMass, bqPerG) { var ctx = document.getElementById('activityMassChart').getContext('2d'); // Define hypothetical points for the chart var chartDataPoints = [ { mass: sourceMass * 0.1, activity: bqPerG * sourceMass * 0.1 }, { mass: sourceMass * 0.5, activity: bqPerG * sourceMass * 0.5 }, { mass: sourceMass, activity: bqPerG * sourceMass }, // Actual point { mass: sourceMass * 1.5, activity: bqPerG * sourceMass * 1.5 }, { mass: sourceMass * 2.0, activity: bqPerG * sourceMass * 2.0 } ]; var labels = chartDataPoints.map(function(point) { return point.mass.toExponential(1) + " g"; }); var activityValues = chartDataPoints.map(function(point) { return point.activity; }); // Destroy previous chart instance if it exists if (chartInstance) { chartInstance.destroy(); } chartInstance = new Chart(ctx, { type: 'line', data: { labels: labels, datasets: [{ label: 'Total Activity (Bq)', data: activityValues, borderColor: 'rgb(0, 74, 153)', backgroundColor: 'rgba(0, 74, 153, 0.1)', fill: true, tension: 0.1 }] }, options: { responsive: true, maintainAspectRatio: false, scales: { x: { title: { display: true, text: 'Source Mass (g)' } }, y: { title: { display: true, text: 'Total Activity (Bq)' }, beginAtZero: true } }, plugins: { tooltip: { callbacks: { label: function(context) { var label = context.dataset.label || "; if (label) { label += ': '; } if (context.parsed.y !== null) { label += context.parsed.y.toExponential(2) + ' Bq'; } return label; } } } } } }); } function resetCalculator() { document.getElementById("totalActivity").value = "1000000"; // 1 MBq document.getElementById("sourceMass").value = "50"; document.getElementById("concentrationUnit").value = "Bq_per_g"; // Clear error messages document.getElementById("totalActivityError").innerText = ""; document.getElementById("totalActivityError").classList.remove('visible'); document.getElementById("sourceMassError").innerText = ""; document.getElementById("sourceMassError").classList.remove('visible'); document.getElementById("concentrationUnitError").innerText = ""; document.getElementById("concentrationUnitError").classList.remove('visible'); document.getElementById("results").style.display = "none"; if (chartInstance) { chartInstance.destroy(); chartInstance = null; } } function copyResults() { var primaryResultSpan = document.getElementById("primaryResult"); var activityConcentrationBqPerGSpan = document.getElementById("activityConcentrationBqPerG"); var activityConcentrationSelectedUnitSpan = document.getElementById("activityConcentrationSelectedUnit"); var specificActivitySpan = document.getElementById("specificActivity"); var selectedUnitLabel = document.getElementById("concentrationUnit").options[document.getElementById("concentrationUnit").selectedIndex].text; var resultsText = "— Radioactive Source Concentration Weight Results —\n\n"; resultsText += "Primary Result: " + primaryResultSpan.innerText + "\n"; resultsText += "Activity Concentration (Bq/g): " + activityConcentrationBqPerGSpan.innerText + "\n"; resultsText += "Activity Concentration (" + selectedUnitLabel + "): " + activityConcentrationSelectedUnitSpan.innerText + "\n"; resultsText += "Specific Activity (Bq/g): " + specificActivitySpan.innerText + "\n\n"; resultsText += "Key Assumptions:\n"; resultsText += "- The source material is homogeneous in its radioactive distribution.\n"; resultsText += "- The provided Total Activity and Mass are accurate measurements.\n"; resultsText += "- Units are standard SI units unless otherwise specified.\n"; var textArea = document.createElement("textarea"); textArea.value = resultsText; textArea.style.position = "fixed"; textArea.style.left = "-9999px"; document.body.appendChild(textArea); textArea.focus(); textArea.select(); try { var successful = document.execCommand('copy'); var msg = successful ? 'Results copied!' : 'Failed to copy results.'; console.log(msg); // Optionally show a temporary message to the user var copyMessage = document.createElement('div'); copyMessage.textContent = msg; copyMessage.style.cssText = 'position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #28a745; color: white; padding: 15px; border-radius: 5px; z-index: 1000; font-weight: bold;'; document.body.appendChild(copyMessage); setTimeout(function() { document.body.removeChild(copyMessage); }, 2000); } catch (err) { console.log('Oops, unable to copy: ', err); } document.body.removeChild(textArea); } // Initial calculation on load if default values are set document.addEventListener("DOMContentLoaded", function() { calculateConcentrationWeight(); });

Leave a Comment